i am running Gentoo on an ARM device and ran into a problem building
binutils.
I thought to asked about that on an gentoo-arm mailing list, but
found, that this list ist listed as closed.
So is there an apropriate list or ressource dedicated to that or does
gentoo-user cover this?
Regards,
Norman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
On 08/08/2012 02:03 PM, Norman Rieß wrote:
> i am running Gentoo on an ARM device and ran into a problem
> building binutils.
What problem? I have no experience on Gentoo/ARM but some on
buildroot/ARM.
raf
08-08-2012, 01:20 PM
Florian Philipp
Where to discuss ARM stuff.
Am 08.08.2012 14:03, schrieb Norman Rieß:
> Hello,
>
> i am running Gentoo on an ARM device and ran into a problem building
> binutils.
> I thought to asked about that on an gentoo-arm mailing list, but
> found, that this list ist listed as closed.
> So is there an apropriate list or ressource dedicated to that or does
> gentoo-user cover this?
>
> Regards,
> Norman
>
When in doubt, gentoo-user covers it. gentoo-alt might also be worth a try.
Regards,
Florian Philipp
08-08-2012, 03:23 PM
James
Where to discuss ARM stuff.
Norman Rieß <norman <at> smash-net.org> writes:
> i am running Gentoo on an ARM device and ran into a problem building
> binutils. I thought to asked about that on an gentoo-arm mailing list,
> but found, that this list ist listed as closed. So is there an
> apropriate list or ressource dedicated to that or does
> gentoo-user cover this?
gentoo-embedded is your best best.
http://www.gentoo.org/main/en/irc.xml
There is also a gentoo-embedded discussion group, but it is
mostly used for announcements, only occasionally having
material submitted for discussion, so it is a "slow ride"
for answers.
Also look at the embedded handbook.
http://www.gentoo.org/proj/en/base/embedded/handbook/
hth,
James
08-09-2012, 05:24 AM
Norman Rieß
Where to discuss ARM stuff.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 08.08.2012 14:14, schrieb Raffaele BELARDI:
> On 08/08/2012 02:03 PM, Norman Rieß wrote:
>> i am running Gentoo on an ARM device and ran into a problem
>> building binutils.
>
> What problem? I have no experience on Gentoo/ARM but some on
> buildroot/ARM.
>
> raf
>
I have a problem compiling binutils.
Full build log can be found here http://smash-net.org/temp/build_log.txt
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.
Any hint would be welcome.
Norman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
On 08/09/2012 07:24 AM, Norman Rieß 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
>
> 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.
Am 09.08.2012 10:04, schrieb Raffaele BELARDI:
> On 08/09/2012 07:24 AM, Norman Rieß 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
>>
>> 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/../include
>
>
-
-I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../elfcpp
> -DLOCALEDIR=""/usr/share/binutils-data/armv6j-hardfloat-linux-gnueabi/2.22/locale""
>
>
- -DBINDIR=""/usr/armv6j-hardfloat-linux-gnueabi/binutils-bin/2.22""
> -DTOOLBINDIR=""/usr/armv6j-hardfloat-linux-gnueabi/bin"" -W
> -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -frandom-seed=options.o -O2 -pipe -mcpu=arm1176jzf-s -mfpu=vfp -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
>
>
A guy from IRC #gentoo-embedded gave the essential hint yesterday.
Setting MAKEOPTS="-j1" instead of -j2 solves the problem.
Norman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/