pkgsrc-Bugs archive

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

pkg/36201: 2007Q1 gcc3-c++ fails to build on slackware 10.2



>Number:         36201
>Category:       pkg
>Synopsis:       2007Q1 gcc3-c++ fails to build on slackware 10.2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 23 20:05:01 +0000 2007
>Originator:     Michael Huff
>Release:        n/a
>Organization:
>Environment:
Linux bobdobbs 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686 unknown unknown 
GNU/Linux
>Description:
Trying to build gcc3-c++ gives the following error:
collect2:ld returned 1 exit status

Here's the full output (when compiled using lang/gcc3-c from pkgsrc):

/bin/sh ../libtool --tag=CXX --mode=link 
`/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/testsuite_flags
 --build-cxx` -R `/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/xgcc 
-B/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/ 
-B/usr/pkg/gcc3/i386-slackware-linux/bin/ 
-B/usr/pkg/gcc3/i386-slackware-linux/lib/ -isystem 
/usr/pkg/gcc3/i386-slackware-linux/include -print-libgcc-file-name | sed 
's,/[^/]*$,,'` -R 
/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs
  -O2 -I/usr/pkg/include -D_GNU_SOURCE  -o abi_check  abi_check.o  -lm 
mkdir .libs
/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/g++ -shared-libgcc 
-B/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/ -nostdinc++ 
-B/usr/pkg/gcc3/i386-slackware-linux/bin/ 
-B/usr/pkg/gcc3/i386-slackware-linux/lib/ -isystem 
/usr/pkg/gcc3/i386-slackware-linux/include -O2 -I/usr/pkg/include -D_GNU_SOURCE 
-o abi_check abi_check.o  
-L/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src 
-L/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs
 -lm -Wl,--rpath -Wl,/usr/pkg/gcc3/lib/gcc-lib/i386-slackware-linux/3.3.6 
-Wl,--rpath 
-Wl,/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs
/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `libintl_bindtextdomain'
/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `libintl_gettext'
/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `libintl_textdomain'

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/ld --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 
-o abi_check /usr/lib/crt1.o /usr/lib/crti.o 
/usr/pkg/gcc3/lib/gcc-lib/i386-slackware-linux/3.3.6/crtbegin.o 
-L/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src 
-L/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs
 -L/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc 
-L/pkgsrc/lang/gcc3-c++/work/.buildlink/gcc3/lib/gcc-lib/i386-slackware-linux/3.3.6
 
-L/pkgsrc/lang/gcc3-c++/work/.buildlink/gcc3/lib/gcc-lib/i386-slackware-linux/3.3.6/../../..
 -R/usr/pkg/gcc3/lib abi_check.o --rpath 
/usr/pkg/gcc3/lib/gcc-lib/i386-slackware-linux/3.3.6 --rpath 
/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/src/.libs
 /usr/pkg/gcc3/lib/gcc-lib/i386-slackware-linux/3.3.6/crtend.o /usr/lib/crtn.o 
-L/pkgsrc/lang/gcc3-c++/work/.buildlink/lib  -lstdc++ -lm -lgcc_s -lgcc -lc 
-lgcc_s -lgcc
collect2: ld returned 1 exit status
gmake[3]: *** [abi_check] Error 1
gmake[3]: Leaving directory 
`/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3/testsuite'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory 
`/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i386-slackware-linux/libstdc++-v3'
gmake: *** [all-target-libstdc++-v3] Error 2
*** Error code 2

Stop.
bmake: stopped in /pkgsrc/lang/gcc3-c++




>How-To-Repeat:
I got this error when I compiled lang/gcc3-c++ both with the native slackware 
installation of gcc, and also after building and installing lang/gcc3-c
>Fix:




Home | Main Index | Thread Index | Old Index