I have a problem when I try build samba in 64bit mode (CFLAGS=-O -m64). 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, I think it is trying to link to the socket library, have I supplied enough info, anybody have an idea why ld core dumps? Robert S.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 7 Apr 2003 robert_f_sharp@platts.com wrote:> 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, I think it is trying to link to the > socket library, have I supplied enough info, anybody have an idea why ld core > dumps?No idea. Builds fine in 64-bit mode using Sun's compiler in my experience. My solaris 9 box is down at the moment so I can't try to reproduce this. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+lDGGIR7qMdg1EfYRAk3aAKDkV55UQ1sc/pa9kj94qI9GA3FLFgCg62Ee 0ES8jKt9cRfNXdAnao5mAsw=mALU -----END PGP SIGNATURE-----
Seemingly Similar Threads
- Repost: Help - compilation of winbind_nss_solaris.c/3.0.21a/Solaris 7 and older fails
- SAMBA 3.0.21 - Compile error on SOLARIS 7 & SOLARIS 2.5.1
- Help with 2.2.4 binary build
- Samba 2.2.4 make fails on Solaris 8 (Ultra Sparc III) using Sun Forte 6-update 2 compilers
- Samba 2.2.4 make fails on Solaris 8 (Ultra Sparc III) using Sun F orte 6-update 2 compilers