Gentoo Archives: gentoo-embedded

From: Thomas Drueke <tdrueke@×××.net>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-embedded@l.g.o
Subject: [Resolved]: Re: [gentoo-embedded] crossdev problem
Date: Sat, 15 Oct 2011 08:16:44
In Reply to: Re: [gentoo-embedded] crossdev problem by Mike Frysinger
Hi Mike,

Thanks for looking into this.
I hadn't much time to investigate this recently but found the issue today.

The problem was that a symlink for /usr was created which caused
some trouble. After moving this to a separate partition and mounting
during boot
crossdev works again (among other things).

Currently the latest versions of gcc,binutils,glibc and kernel are used.
These are the same ones on the host system.


On 10/14/11 01:14, Mike Frysinger wrote:
> On Saturday 10 September 2011 12:01:10 Thomas Drueke wrote: >> I haven't found a log showing the outcome of the compilation making the >> available information >> restricted somehow. > it's farily simple code. if your gcc can't build this: > int foo(int *i) { > static __thread int j = 0; > return *i ? j : *i; > } > > it is broken > >> then stated the versions of the host system on the command line: >> >> crossdev -t armv7a-softfloat-linux-gnueabi --g 4.4.5 --l 2.12.2 --k >> 2.6.39 --b 2.21.1 > what version of gcc was actually used ? the versions you give to crossdev > merely say "these are the latest i want to use". if they aren't available, > portage will use whatever is available which is often times older than > requested. > -mike