* [gentoo-user] Where to discuss ARM stuff.
@ 2012-08-08 12:03 Norman Rieß
2012-08-08 12:14 ` Raffaele BELARDI
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Norman Rieß @ 2012-08-08 12:03 UTC (permalink / raw
To: Gentoo User
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJQIlWjAAoJEMCA6frkLT6zy6MH/00jNkclFzdM/YcwVGUvYkSO
mJmgGTk2BHpdjC02zmKQa2IjpX24tdtfjnFxpwD+klL0h7Es5x4t/C6NN39cBHno
prfMRPpDu7+My47D2W/QTCVA0rXTOt0hkNN3yMQUnOpspsMEnclx4RwbBFL69SDN
K0lTCK0fJkNV4tQi2GwVzmpBx0ePwZ5/V6XfW1WEnm7mlgeHU4GUACWmG0Z6U3S+
QUya1mLK38gTKF5ylDUZ43G3Ncf0YFEAiBOkLku9R1YQoX06udf0s2iSdd0gWPQ1
gFiNx5XVSLsKKD1pwHA3eCN/c65IsEEeGdpyvMD7IxjBQdy28RGpCMzXxZTzxTo=
=7bHu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Where to discuss ARM stuff.
2012-08-08 12:03 [gentoo-user] Where to discuss ARM stuff Norman Rieß
@ 2012-08-08 12:14 ` Raffaele BELARDI
2012-08-09 5:24 ` Norman Rieß
2012-08-08 13:20 ` Florian Philipp
2012-08-08 15:23 ` [gentoo-user] " James
2 siblings, 1 reply; 7+ messages in thread
From: Raffaele BELARDI @ 2012-08-08 12:14 UTC (permalink / raw
To: gentoo-user@lists.gentoo.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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Where to discuss ARM stuff.
2012-08-08 12:03 [gentoo-user] Where to discuss ARM stuff Norman Rieß
2012-08-08 12:14 ` Raffaele BELARDI
@ 2012-08-08 13:20 ` Florian Philipp
2012-08-08 15:23 ` [gentoo-user] " James
2 siblings, 0 replies; 7+ messages in thread
From: Florian Philipp @ 2012-08-08 13:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Where to discuss ARM stuff.
2012-08-08 12:03 [gentoo-user] Where to discuss ARM stuff Norman Rieß
2012-08-08 12:14 ` Raffaele BELARDI
2012-08-08 13:20 ` Florian Philipp
@ 2012-08-08 15:23 ` James
2 siblings, 0 replies; 7+ messages in thread
From: James @ 2012-08-08 15:23 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Where to discuss ARM stuff.
2012-08-08 12:14 ` Raffaele BELARDI
@ 2012-08-09 5:24 ` Norman Rieß
2012-08-09 8:04 ` Raffaele BELARDI
0 siblings, 1 reply; 7+ messages in thread
From: Norman Rieß @ 2012-08-09 5:24 UTC (permalink / raw
To: gentoo-user
-----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/
iQEcBAEBAgAGBQJQI0mIAAoJEMCA6frkLT6zsqgIAI1as1BdYXEdK2o2HJCITGSN
29Y/Q6EV5iXQ03TwCQFR+SgMCHy4Z/BdwhrtG+tDC7BpqjoTEFKKG6NTz46wn93D
odxhH8lQO1S7OhAUpeknHrxNKunCQicscVepi5S9qxmUklEw578/BCbdFRKgeLxv
fDQfWRY0IYq4h/9eGm9FF4FfwtvKFuelXBKIGkDl7y9DY6jm/F7w+Gh0Y/IzqK1M
A3pcLY4fSvvTAkOwzDrWZ49tlE/gIJ/UTmfS3IMgStfwColm31eboZhYE6Q3xppk
HywrpK40lu1HfoHnP9AT0PnMm+VuqhTWbrdPHD79t7Y1Xio50M83PqbfUMhiLH4=
=AJfb
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Where to discuss ARM stuff.
2012-08-09 5:24 ` Norman Rieß
@ 2012-08-09 8:04 ` Raffaele BELARDI
2012-08-10 4:37 ` Norman Rieß
0 siblings, 1 reply; 7+ messages in thread
From: Raffaele BELARDI @ 2012-08-09 8:04 UTC (permalink / raw
To: gentoo-user@lists.gentoo.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.
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Where to discuss ARM stuff.
2012-08-09 8:04 ` Raffaele BELARDI
@ 2012-08-10 4:37 ` Norman Rieß
0 siblings, 0 replies; 7+ messages in thread
From: Norman Rieß @ 2012-08-10 4:37 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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/
iQEbBAEBAgAGBQJQJJAaAAoJEMCA6frkLT6zGmEH90zynjc862ofZ5S9vK6g8Srf
Ad9NjzrLXm9cYSfaTQAqJQYXEMr4fofjLQgk00wjW0Ofc7gHCY2BwjewLdN3KgIa
f+HVwd+KTxKTZ6kilVgQvZWB6ks/iRe6luJu1qzYDQ7n8QXCRRMGzUZ1jvFOVKOg
8v7xHs+dWppA/JnDMxu2lH2lb14D0U/9QIkvTMb7u/z5aXrRT3IMrDKdtpfhhsVj
AYhOjAQ6ii9j8SPOl/AlyAHxnJ0e1cmzNGCDEej2cZ4jAsbVvZAjtq660PBNsD+Y
5ZORsCTVOb3NL1z7UO493HS6D2NKmAFOGha6shvLtGlL6AACod5IVoO3MilU7g==
=BpwC
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-08-10 4:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08 12:03 [gentoo-user] Where to discuss ARM stuff Norman Rieß
2012-08-08 12:14 ` Raffaele BELARDI
2012-08-09 5:24 ` Norman Rieß
2012-08-09 8:04 ` Raffaele BELARDI
2012-08-10 4:37 ` Norman Rieß
2012-08-08 13:20 ` Florian Philipp
2012-08-08 15:23 ` [gentoo-user] " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox