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]
Other format: [Raw text]

Re: IA64 libc.so always depends on libunwind?


On Tue, Apr 06, 2004 at 03:06:01PM -0700, David Mosberger wrote:
> >>>>> On Tue, 6 Apr 2004 14:50:23 -0700, "H. J. Lu" <hjl@lucon.org> said:
> 
>   >>  I didn't think so.  I thought the unwind-dependencies in glibc
>   >> were handled by loading libgcc_s on demand (which has its own
>   >> dependency on libunwind, if built against it).
> 
>   HJ> libc.so is linked against -lgcc -lgcc_eh -lunwind where libgcc
>   HJ> and libgcc_eh are archives.
> 
> Perhaps that's OK then.  You could link in a static libunwind, of
> course, but I don't think that's the right solution.

Is that a reqirement to link libc.so against libunwind.so? We try
very hard not to link libc.so against libgcc_s.so. We only link
executables against libgcc_s.so only when it is needed. Can we do
the same for libunwind.so? But if all ia64 executables need
libunwind.so, I guess it may be OK to link libc.so against
libunwind.so.


H.J.


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