This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: RFC: cxxsupp test linkage on synth linux
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Uros Bizjak <uros at kss-loka dot si>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Fri, 04 Jul 2003 15:40:16 +0100
- Subject: Re: RFC: cxxsupp test linkage on synth linux
- References: <3F0580F1.30802@kss-loka.si>
Uros Bizjak wrote:
Hello!
The problem is that these missing functions come from a new separate
library, libgcc_eh.a in gcc-lib.I can't seem to correctly specify that
library's inclusion on the command line. Instead the only way to get
it included is to edit synth.ld so that's probably what's required.
But why haven't people noticed this before? Versions of GCC 3.x before
GCC 3.2.1 wouldn't work unless people were going back as far as gcc 2.9x.
With RedHat 9.0 (gcc-3.2.2), there are some problems with libgcc_eh.a
included. Testsuite for linux-synthetic target breaks with:
make[1]: Leaving directory `/home/dejan/tmp/synth_build/infra/current'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc_eh.a(unwind-dw2-fde-glibc.o)(.text+0x136b):
In function `_Unwind_Find_FDE':
make: Leaving directory `/home/dejan/tmp/synth_build'
: undefined reference to `dl_iterate_phdr'
I was worried something like this might happen. We can do an explicit
check for _GNUC_PATCHLEVEL_ but it would be nice to know if this is maybe
something specific with the RH9 3.2.2 or not. Or 3.2.3 or GCC CVS for that
matter. Anyone got those native tools and willing to try it quickly?
I'm not running RH9 myself I'm afraid.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine