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: Bart Veer <bartv at ecoscentric dot com>
- To: jifl at eCosCentric dot com
- Cc: uros at kss-loka dot si, ecos-patches at sources dot redhat dot com
- Date: Fri, 4 Jul 2003 15:58:06 +0100 (BST)
- Subject: Re: RFC: cxxsupp test linkage on synth linux
- References: <3F0580F1.30802@kss-loka.si> <3F0591D0.2090907@eCosCentric.com>
>>>>> "Jifl" == Jonathan Larmour <jifl@eCosCentric.com> writes:
Jifl> 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'
Jifl> I was worried something like this might happen. We can do an
Jifl> explicit check for _GNUC_PATCHLEVEL_ but it would be nice to
Jifl> know if this is maybe something specific with the RH9 3.2.2
Jifl> or not. Or 3.2.3 or GCC CVS for that matter. Anyone got
Jifl> those native tools and willing to try it quickly?
Jifl> I'm not running RH9 myself I'm afraid.
I now have a machine with RH9 (gcc version 3.2.2 20030222 (Red Hat
Linux 3.2.2-5)). I'll try to take a look at this over the weekend.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts