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:55:05PM -0700, Richard Henderson wrote:
> 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.

What is your point? Is there anything new? Sure this won't solve
the problems like you have a library compiled with gcc 3.1 and
you are trying to use it with gcc 3.0. But at least, it will make
sure the run-time libgcc_s is compatible with the link-time libgcc.


H.J.


H.J.


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