This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: cxxsupp test linkage on synth linux

>>>>> "Jifl" == Jonathan Larmour <> 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 Veer                       eCos Configuration Architect     The eCos and RedBoot experts

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]