pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42109: lang/gcc44 does not compile with Sun Studio Compiler
>Number: 42109
>Category: pkg
>Synopsis: lang/gcc44 does not compile with Sun Studio Compiler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 22 07:55:00 +0000 2009
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_139556-08 i86pc i386 i86pc
>Description:
Compiling lang/gcc44 from a newly bootstrapped pkgsrc using Sun Studio 12 fails
with
cc -g -DIN_GCC -DHAVE_CONFIG_H -L/usr/pkgsrc/gcc4test/lib
-Wl,-R/usr/pkgsrc/gcc4test/lib -L/usr/lib -Wl,-R/usr/lib -o xgcc gcc.o
opts-common.o gcc-options.o gccspec.o \
intl.o prefix.o version.o driver-i386.o ../libcpp/libcpp.a
/usr/pkgsrc/gcc4test/lib/libintl.so /usr/pkgsrc/gcc4test/lib/libiconv.so
/usr/lib/libc.so -R/usr/pkgsrc/gcc4test/lib
/usr/pkgsrc/gcc4test/lib/libiconv.so -R/usr/pkgsrc/gcc4test/lib
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
Undefined first referenced
symbol in file
__gmpn_perfect_square_p gcc.o
__gmpz_tdiv_q gcc.o
__gmpq_set gcc.o
__gmpz_set gcc.o
__gmpn_add_n gcc.o
__gmpn_sub_n gcc.o
__gmpn_popcount gcc.o
ld: fatal: Symbol referencing errors. No output written to xgcc
gmake[3]: *** [xgcc] Error 1
gmake[3]: Leaving directory
`/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj'
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:
>Fix:
add "-lgmp" to list of linker flags
Home |
Main Index |
Thread Index |
Old Index