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 04:47:44PM -0700, David Mosberger wrote:
> >>>>> On Tue, 6 Apr 2004 16:39:30 -0700, "H. J. Lu" <hjl@lucon.org> said:
> 
>   HJ> Is that a reqirement to link libc.so against libunwind.so? We
>   HJ> try very hard not to link libc.so against libgcc_s.so. We only
>   HJ> link executables against libgcc_s.so only when it is needed. Can
>   HJ> we do the same for libunwind.so? But if all ia64 executables
>   HJ> need libunwind.so, I guess it may be OK to link libc.so against
>   HJ> libunwind.so.
> 
> AFAIR, it's the cleanup-handlers that libc is using which pull in the
> dependency on the exception-handling support.  So I think the correct
> statement is that any executable that needs exception-handling support
> will link against libunwind.so.

The same is true for libgcc_s.so. But we link in libgcc_s.so only when
the executable needs exception-handling support. For C, libgcc_s.so is
not needed. Do all executables need exception-handling support on ia64?


H.J.


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