This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: PATCH: Share the dwarf2 unwind code between glibc and gcc 3.0


On Tue, Jul 10, 2001 at 03:33:26PM -0700, H . J . Lu wrote:
> We need a way to check if the run time libgcc_s is compatible. One
> way to do is to add a function like, _Unwind_GetVersion. Then we can
> put a check in crtstuff.c like
> 
>   if (_Unwind_GetVersion () < THE_EARLIEST_COMPATIBLE_VERRSION)
>     abort ();

Putting this check in crtstuff only helps if *everything* you're
linking together came from *that* version of gcc.  If you bring
in code from .a files, that's not necessarily true.


r~


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