This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24718] Shared libgcc not used for linking by default
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Nov 2005 21:39:34 -0000
- Subject: [Bug target/24718] Shared libgcc not used for linking by default
- References: <bug-24718-6116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from sje at cup dot hp dot com 2005-11-11 21:39 -------
I have run into a problem with my testing, the link line looks good but I get
warnings from the HP linker like:
ld: (Warning) Cannot load library symbol table in
/proj/opensrc/sje/test2/gcc-ia
64-hp-hpux11.23-std/lib/gcc/ia64-hp-hpux11.23/3.4.5/libgcc_eh.a, it might be
mis
sing or corrupted. Skipping library
/proj/opensrc/sje/test2/gcc-ia64-hp-hpux11.2
3-std/lib/gcc/ia64-hp-hpux11.23/3.4.5/libgcc_eh.a.
because libgcc_eh.a is empty. For some reason on 3.4 this file is completely
empty (nm returns nothing) but on ToT the file is mostly empty, but it has
a symbol table and empty test/bss/data and debug sections in it. On 3.4 I have
no symbol table in the file which is why I get the warning message. I used the
same binutils for each compiler so I don't know yet why there is this
difference.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24718