From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5159013800E for ; Thu, 9 Aug 2012 08:06:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 955C1E0795; Thu, 9 Aug 2012 08:06:07 +0000 (UTC) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) by pigeon.gentoo.org (Postfix) with ESMTP id 14AB7E0743 for ; Thu, 9 Aug 2012 08:04:51 +0000 (UTC) Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUCNvI5EclRaqtWsKLlTwvuLgrDus/XZU@postini.com; Thu, 09 Aug 2012 08:04:52 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AEFF2112 for ; Thu, 9 Aug 2012 08:04:42 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas1.st.com [10.75.90.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 64244294B for ; Thu, 9 Aug 2012 08:04:42 +0000 (GMT) Received: from SAFEX1MAIL4.st.com ([10.75.90.10]) by SAFEX1HUBCAS1.st.com ([10.75.90.14]) with mapi; Thu, 9 Aug 2012 10:04:42 +0200 From: Raffaele BELARDI To: "gentoo-user@lists.gentoo.org" Date: Thu, 9 Aug 2012 10:04:41 +0200 Subject: Re: [gentoo-user] Where to discuss ARM stuff. Thread-Topic: [gentoo-user] Where to discuss ARM stuff. Thread-Index: Ac12BaEifdYVh2aSSiuxectOcmrpbg== Message-ID: <50236DEA.4070905@st.com> References: <502255A3.5040009@smash-net.org> <5022570E.6040301@st.com> <50234988.6020107@smash-net.org> In-Reply-To: <50234988.6020107@smash-net.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120724 Firefox/14.0.1 SeaMonkey/2.11 x-enigmail-version: 1.5a1pre acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Archives-Salt: ec807600-ce5e-4683-8612-37cfe4f1b2d2 X-Archives-Hash: 95ceca92f3d4e1fd5d1eb20eda800dc6 On 08/09/2012 07:24 AM, Norman Rie=DF wrote: > Am 08.08.2012 14:14, schrieb Raffaele BELARDI: > I have a problem compiling binutils. > Full build log can be found here http://smash-net.org/temp/build_log.txt >=20 > I tried tha vanilla flag and diabled zlib as suggested via google > search, but neither did help. > I also tried latest unstable version 2.29 i think. Quite obscure... I'd try to reproduce by issuing only the offending line from the shell (the one that compiles "options.cc", see below) and then try again removing the -O2 flag. Also check if the disk is full ("end of file not at end of a line; newline inserted" is suspicious but it could just be a side effect of the compiler crash). There are some build requirements listed in the README under /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/, double check if they are met by your ARM toolchain. If all fails you could try disabling "gold" compilation (the --enable-gold bit) and just compile/use the standard GCC linker. Sorry, not much else I can think of. I never had to compile the binutils package because I had a binary cross-compiler toolchain for ARM available. raf $ armv6j-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../in= clude -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../el= fcpp -DLOCALEDIR=3D"\"/usr/share/binutils-data/armv6j-hardfloat-linux-gnueabi/2.= 22/locale\"" -DBINDIR=3D"\"/usr/armv6j-hardfloat-linux-gnueabi/binutils-bin/2.22\"" -DTOOLBINDIR=3D"\"/usr/armv6j-hardfloat-linux-gnueabi/bin\"" -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -frandom-seed=3Doptions.o -O2 -pipe -mcpu=3Darm1176jzf-s -mfpu=3Dvfp -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/options= .cc