using patched gcc toolchain

Emanuel Thomas s1596862 at inf.tu-dresden.de
Wed Jul 6 18:41:20 CEST 2005


Adam Lackorzynski wrote on 06/07/05 17:54:
>>>Which libraries do you mean?
>>
>>/lib/libpthread.so.0
>>/lib/libc.so
> 
> 
> Except for the build tools itself those libraries are not used.

I'm compiling the ux version of Fiasco. I get an error while linking 
ux_con (see below).

The problem seems to be the linker. Its still /usr/bin/ld and not the 
one from the tool chain. Is there a way to change that?

[...]
chmod 755 kernel.image
ln -sf kernel.image fiasco
   ... Making irq0.o
   ==> Linking irq0
   ... Stripping irq0
   ... Making ux_con.o
   ==> Linking ux_con
/lib/libpthread.so.0: undefined reference to `__libc_stack_end at GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_rtld_global_ro at GLIBC_PRIVATE'
/lib/libc.so.6: undefined reference to `___tls_get_addr at GLIBC_2.3'
collect2: ld returned 1 exit status
make[5]: *** [ux_con] Error 1




More information about the l4-hackers mailing list