pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40763: pkgsrc-current libiconv does not build on Solaris 10/Studio 12 with --abi=64
>Number: 40763
>Category: pkg
>Synopsis: pkgsrc-current libiconv does not build on Solaris 10/Studio 12
>with --abi=64
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 26 21:55:00 +0000 2009
>Originator: Jim Wise
>Release: Solaris 10 10/08 / SunStudio 12 / pkgsrc as of 2009-2-26
>Organization:
Jim Wise
jwise%draga.com@localhost
>Environment:
System: SunOS gondolin 5.10 Generic_138889-03 i86pc i386 i86pc
Architecture: i386
Machine: i386
>Description:
Building pkgsrc/lib/libiconv on the above system yields:
===> Building for libiconv-1.12nb1
builddir="`pwd`"; cd libcharset && /opt/pkg/bin/bmake all &&
/opt/pkg/bin/pax -rw lib/libcharset.la lib/.libs "$builddir/" &&
/opt/pkg/bin/pax -rw include/*.h "$builddir/"
if [ ! -d include ] ; then mkdir include ; fi
cp ./include/libcharset.h.in include/libcharset.h
cd lib && /opt/pkg/bin/bmake all
/bin/sh ../libtool --mode=compile cc -I. -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/opt/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c
mkdir .libs
cc -I. -I.. -I./.. -I../include -O -DLIBDIR=\"/opt/pkg/lib\"
-DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/opt/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -KPIC -DPIC
-o .libs/localcharset.o
cc -I. -I.. -I./.. -I../include -O -DLIBDIR=\"/opt/pkg/lib\"
-DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/opt/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o
localcharset.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -I. -I. -I.. -I./.. -I../include -O
-DLIBDIR=\"/opt/pkg/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c
cc -I. -I.. -I./.. -I../include -O -DLIBDIR=\"/opt/pkg/lib\"
-DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/opt/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -KPIC -DPIC
-o .libs/relocatable.o
cc -I. -I.. -I./.. -I../include -O -DLIBDIR=\"/opt/pkg/lib\"
-DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY
-DINSTALLDIR=\"/opt/pkg/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libcharset_set_relocation_prefix
-Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o
relocatable.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link cc -Wl,-R/opt/pkg/lib -O -o libcharset.la -rpath
/opt/pkg/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo
ld -G -z text -h libcharset.so.1 -o .libs/libcharset.so.1.0.0
.libs/localcharset.o .libs/relocatable.o
-L/opt/pkgsrc/converters/libiconv/work/.buildlink/lib -lc -R/opt/pkg/lib
ld: fatal: file /usr/lib/libc.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/ucblib/libucb.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/lib/libresolv.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/lib/libsocket.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/lib/libnsl.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/lib/libelf.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to
.libs/libcharset.so.1.0.0
*** Error code 1
Stop.
bmake: stopped in
/opt/pkgsrc/converters/libiconv/work/libiconv-1.12/libcharset/lib
*** Error code 1
Stop.
bmake: stopped in /opt/pkgsrc/converters/libiconv/work/libiconv-1.12/libcharset
*** Error code 1
Stop.
bmake: stopped in /opt/pkgsrc/converters/libiconv/work/libiconv-1.12
*** Error code 1
Stop.
bmake: stopped in /opt/pkgsrc/converters/libiconv
*** Error code 1
Stop.
>How-To-Repeat:
cd pkgsrc/lib/libiconv && bmake
>Fix:
None known. Problem seems to stem from explicit -lc in link line.
Home |
Main Index |
Thread Index |
Old Index