Re: gcc 3.3.3 complitation error on HP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> cc1plus: warning: -g option disabled
> as: error 7403: undefined label - _ZTISt8bad_cast (7403)

This is a known issue when using the HP assembler.  Configure GCC
with the GNU assembler and the HP linker.  This provides the best
support for C++.

Weak support is not available when using the HP assembler.  Without
weak support, there are significant problems with vtable support and
template instantiation.  3.3 is worse than 3.[0-2] in this respect.
There is weak support under HP-UX 11 using the GNU assembler.  In
my opinion, the ia64 ABI adopted for C++ only works when a target
has one-only support.  There is some possibility that we might be
able to provide one-only support using the GNU assembler under HP-UX
10.20.  This would use the linkers support for common symbols.
Again however, this won't work with the HP assembler (HP Fortran
doesn't use the HP assembler).

The GNU linker has a number of problems (e.g., -static doesn't work).
Thus, it's better to use HP ld at this time.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux