pkgsrc-Bugs archive

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

pkg/29617: building gcc-3.4 fails on macppc



>Number:         29617
>Category:       pkg
>Synopsis:       building gcc-3.4 fails on macppc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 07 14:40:00 +0000 2005
>Originator:     Timo Schoeler
>Release:        NetBSD 2.0/macppc
>Organization:
//macfinity
>Environment:
NetBSD fulcrum.ts39-bln.macfinity.net 2.0 NetBSD 2.0 (GENERIC.MP) #0: Wed Dec  
1 14:05:26 UTC 2004  
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/macppc/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/macppc/compile/GENERIC.MP
 macppc
>Description:
the build process stops in 'mkdir .libs':

mkdir .libs
/usr/pkgsrc/lang/gcc34/work/obj/gcc/g++ -shared-libgcc 
-B/usr/pkgsrc/lang/gcc34/work/obj/gcc/ -nostdinc++ 
-B/usr/pkg/gcc34/powerpc--netbsd2.0/bin/ 
-B/usr/pkg/gcc34/powerpc--netbsd2.0/lib/ -isystem 
/usr/pkg/gcc34/powerpc--netbsd2.0/include -isystem 
/usr/pkg/gcc34/powerpc--netbsd2.0/sys-include -msoft-float -fPIC -mstrict-align 
-g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 
-DLOCALEDIR=/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/po/share/locale
 -O2 -pipe -I/usr/pkgsrc/lang/gcc34/work/.buildlink/include -I/usr/pkg/include 
-I/usr/include -msoft-float -fPIC -mstrict-align -msoft-float -fPIC 
-mstrict-align -o abi_check abi_check.o  
-L/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src
 
-L/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs
 -lv3test 
-L/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/testsuite
 -lm -Wl,--rpath -Wl,/usr/pkg
 src/lang/gcc34/work/obj/gcc/soft-float -Wl,--rpath 
-Wl,/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs
/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `__eqdf2'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__fixsfsi'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__floatsidf'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__ltdf2'
/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `__extendsfdf2'
/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `__adddf3'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__fixdfsi'
/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `__divdf3'
/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `__muldf3'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__ltsf2'
/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/src/.libs/libstdc++.so:
 undefined reference to `__truncdfsf2'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__gesf2'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__gedf2'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__subdf3'
/usr/pkgsrc/lang/gcc34/work/obj/gcc/libgcc_s_soft-float.so: undefined reference 
to `__addsf3'
collect2: ld returned 1 exit status
gmake[7]: *** [abi_check] Error 1
gmake[7]: Leaving directory 
`/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3/testsuite'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory 
`/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory 
`/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/soft-float/libstdc++-v3'
gmake[4]: *** [multi-do] Error 1
gmake[4]: Leaving directory 
`/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/libstdc++-v3'
gmake[3]: *** [all-multi] Error 2
gmake[3]: Leaving directory 
`/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/pkgsrc/lang/gcc34/work/obj/powerpc--netbsd2.0/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/lang/gcc34/work/obj'
gmake: *** [bootstrap] Error 2
*** Error code 2
>How-To-Repeat:
build gcc-3.4 on macppc; i have set Makefile to this:

(...)

# Optional languages - change as required
#   If BUILD_ADA is YES, then you'll need to specify
#   an Ada in the "Ada bootstrap compiler section"
BUILD_DEFS=     BUILD_ADA BUILD_CXX BUILD_F77 \
                BUILD_JAVA BUILD_OBJC
BUILD_ADA?=     NO
BUILD_CXX?=     YES
BUILD_F77?=     YES
BUILD_JAVA?=    NO
BUILD_OBJC?=    NO

(...)
>Fix:
yes, please. please get the *full* log (gzipped to ~230KByte) from here:

http://snom.dyndns.org/gcc-34_macppc-work.log.gz




Home | Main Index | Thread Index | Old Index