This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Libunwind and libgcc on ia64
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Mariusz Mazur <mmazur at kernel dot pl>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 18 Oct 2004 10:03:32 -0700
- Subject: Re: Libunwind and libgcc on ia64
- References: <200410171738.40235.mmazur@kernel.pl>
On Sun, Oct 17, 2004 at 05:38:40PM +0200, Mariusz Mazur wrote:
> On ia64 libgcc.so is linked to libunwind.so, which means (a) libgcc requires
> libunwind and (b) anything linking dynamically against libgcc doesn't need to
> know or care about libuniwnd.
> That changes if one tries to link statically (like my glibc) - then the build
> system must explicitly check what gcc we're running and if it's the libunwind
> one - add -lunwind.
> Wouldn't it be a lot nicer if libgcc.a contained libunwind.a? People wouldn't
> have to care about explicit support for ia64.
This should be fixed in gcc 4.0 and 3.4 branch. If it doesn't work
as expected, please open a bug report.
H.J.