glibc complains about missing -lgcc_eh for m68k-linux

Dan Kegel dank@kegel.com
Sun Oct 31 18:57:00 GMT 2004


Peter Barada wrote:
> I'm trying to build a toolchain for m68k-linux using crosstool, and
> while trying to link libc.so in the glibc stage, it complains about:
> 
> /home/mylocal/m68k-linux-3.4.2/lib/gcc/m68k-linux/3.4.2/../../../../m68k-linux/bin/ld:
> cannot find -lgcc_eh
> 
> I'm assumng that the gcc bootstrap stage suppresses the creation of
> libgcc_eh.a.  Anybody run into this before and any suggestons on how
> to get around it?

That's odd. crosstool-0.28-rc37 (more or less) builds ok for me with the following combos:
m68k-gcc-2.95.3-glibc-2.1.3.status.txt
m68k-gcc-3.3.4-glibc-2.3.2.status.txt
m68k-gcc-3.4.2-glibc-20040827.status.txt
m68k-gcc-3.4.2-glibc-2.3.3.status.txt

Which version of crosstool are you using?  If you
give me enough to exactly reproduce your problem,
I can have a look...
- Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list