Seting Library search path

Adam Lackorzynski adam at os.inf.tu-dresden.de
Thu Mar 6 09:46:41 CET 2014


On Thu Mar 06, 2014 at 09:28:42 +0100, Sören Jonsson wrote:
> Hello,
> 
> I am interested in L4 Fiasco as a virtualization environment. I am
> currently attempting to compile the L4 runtime environment, and I am
> getting the following error message:
> 
>    === Building package "bootstrap" ===
>       ==> Linking bootstrap32.elf
>    /usr/bin/ld: skipping incompatible
>    /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc.a when searching for -lgcc
>    /usr/bin/ld: cannot find -lgcc
>    collect2: error: ld returned 1 exit status
>    make[5]: *** [bootstrap32.elf] Error 1
>    make[4]: ***
>    [/home/osj/l4re/build/pkg/bootstrap/server/src/OBJ-amd64_amdfam10]
>    Error 2
>    make[3]: *** [src] Error 2
>    make[2]: *** [server] Error 2
>    make[1]: *** bootstrap] Error 2
>    make: *** [pkg] Error 2
> 
> 
> I have examined the problem, and can see that I have a library
> /usr/lib/gcc/x86_64-linux-gnu/4.7.2, as well as the
> /usr/lib/gcc/x86_64-linux-gnu/4.7.  Can the problem be that the
> linker is attempting to link to a dated version of the library, and
> what is the best way to resolve this problem?

I think you need to install 32bit development parts of libgcc, so that
the 32bit part of bootstrap can be built.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list