This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

ld core dump



I have a problem when I try build samba in 64bit mode. It builds ok in 32bit.
The problem arises when linking nsswitch/libnss_winbind.so

On Solaris 9 I'm using

bash-2.05$ /usr/local/tools/gcc/bin/gcc -v
Reading specs from
/usr/local/tools/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2/specs
Configured with: ../configure --with-as=/usr/local/tools/binutils/bin/as
--with-ld=/usr/local/tools/binutils/bin/ld --with-gnu-as --with-gnu-ld
--disable-nls --enable-languages=c,c++ --prefix=/usr/local/tools/gcc
Thread model: posix
gcc version 3.2.2


bash-2.05$ /usr/local/tools/binutils/bin/ld -v
GNU ld version 2.13.2.1

bash-2.05$ /usr/local/tools/binutils/bin/as -v
GNU assembler version 2.13.2.1 (sparc-sun-solaris2.9) using BFD version 2.13.2.1

Compiling nsswitch/wb_common.c with -fPIC
Compiling nsswitch/winbind_nss_solaris.c with -fPIC
Linking nsswitch/libnss_winbind.so
collect2: ld terminated with signal 11 [Segmentation Fault]
/usr/local/tools/binutils/bin/ld: warning: sparc:v9 architecture of input file
`nsswitch/winbind_nss.po' is incompatible with sparc output
/usr/local/tools/binutils/bin/ld: warning: sparc:v9 architecture of input file
`nsswitch/wb_common.po' is incompatible with sparc output
/usr/local/tools/binutils/bin/ld: warning: sparc:v9 architecture of input file
`nsswitch/winbind_nss_solaris.po' is incompatible with sparc output
make: *** [nsswitch/libnss_winbind.so] Error 1

ld core dumps and does not go any futher, have I supplied enough info, anybody
have an idea why ld core dumps?

Robert S.



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