You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by "Tovrea, George W (US SSA)" <ge...@baesystems.com> on 2009/09/15 16:29:24 UTC
-lxerces-c causes ld to core...
System:
tovrea@warhol%uname -a
IRIX64 warhol 6.5 07010238 IP35
Using:
libxerces-c.so.28.0
%file /home/users/tovrea/local/sgi6/lib/libxerces-c.so.28.0
/home/users/tovrea/local/sgi6/lib/libxerces-c.so.28.0: ELF N32 MSB mips-3 dynamic lib MIPS - version 1
%ld --version
GNU ld (GNU Binutils) 2.20.51.20090910
%file /home/users/tovrea/local/sgi6/bin/ld
/home/users/tovrea/local/sgi6/bin/ld: ELF N32 MSB mips-3 dynamic executable (not stripped) MIPS - version 1
%g++ --version
g++ (GCC) 4.3.0
%file /home/users/tovrea/local/sgi6/bin/g++
/home/users/tovrea/local/sgi6/bin/g++: ELF N32 MSB mips-3 dynamic executable (not stripped) MIPS - version 1
Core stack looks something like:
> 0 _bfd_default_error_handler(fmt = <illegal>, ... = <void>) ["/home/users/tovrea/BINUTILS/binutils-2.20.51/bfd/bfd.c":574, 0x100389b4]
1 bfd_elf_link_add_symbols(abfd = <illegal>, info = <illegal>) ["/home/users/tovrea/BINUTILS/binutils-2.20.51/bfd/elflink.c":7656, 0x10093360]
2 gldelf32bmipn32_try_needed(needed = <illegal>, force = <illegal>) ["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/eelf32bmipn32.c":1000, 0x1002a9b4]
3 irix_after_open() ["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/eelf32bmipn32.c":1000, 0x1002b118]
4 lang_process() ["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/ldlang.c":4315, 0x1001bca0]
5 main(argc = <illegal>, argv = <illegal>) ["/home/users/tovrea/BINUTILS/binutils-2.20.51/ld/./ldmain.c":895, 0x10020f44]
6 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M3/csu/crt1text.s":177, 0x10008d28]
(
Has anyone seen this problem on SGI or any other platform? If so, is there a solution?
Bill Tovrea
BAE Systems
16550 West Bernardo Drive
San Diego, CA 92127
Telephone: (858) 592-5292
Pager: (888) 971-4964
E-mail: George.Tovrea@baesystems.com
Re: -lxerces-c causes ld to core...
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi George,
Tovrea, George W (US SSA) <ge...@baesystems.com> writes:
> %ld --version
> GNU ld (GNU Binutils) 2.20.51.20090910
> %file /home/users/tovrea/local/sgi6/bin/ld
> /home/users/tovrea/local/sgi6/bin/ld: ELF N32 MSB mips-3 dynamic executable (not stripped) MIPS - version 1
>
> %g++ --version
> g++ (GCC) 4.3.0
> %file /home/users/tovrea/local/sgi6/bin/g++
> /home/users/tovrea/local/sgi6/bin/g++: ELF N32 MSB mips-3 dynamic executable (not stripped) MIPS - version 1
Have you tried to use IRIX ld instead of GNU ld with gcc? You may have
to downgrade gcc to an earlier version (e.g., 3.4.x) to be able to build
it. I think on most non-GNU platforms you need to use native ld.
Boris
--
Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++: http://codesynthesis.com/products/xsd
XML data binding for embedded systems: http://codesynthesis.com/products/xsde