pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29714: libtool not working with Solaris 10 gcc
>Number: 29714
>Category: pkg
>Synopsis: libtool not working with Solaris 10 gcc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 16 19:19:00 +0000 2005
>Originator: collver%peak.org@localhost
>Release: SunOS -s 5.10 Generic sun4u sparc SUNW,Ultra-5_10
>Organization:
>Environment:
SunOS -s 5.10 Generic sun4u sparc SUNW,Ultra-5_10
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/sfw/bin:/usr/css/bin:/usr/ucb
>Description:
When building multimedia/libogg from current pkgsrc on
Solaris 10, it fails to link. I believe this ie because
libtool uses syntax for GNU ld, while the gcc provided
with Solaris 10 is not using GNU ld.
>How-To-Repeat:
Bootstrap pkgsrc on Solaris 10 using /usr/sfw/bin/gcc. Then:
cd /usr/pkgsrc/multimedia/libogg
make
...
if /bin/ksh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../include -I/usr/pkg/include -O20 -ffast-math -fsigned-char
-mv8 -O -I/usr/pkg/include -MT bitwise.lo -MD -MP -MF ".deps/bitwise.Tpo" -c -o
bitwise.lo bitwise.c; then mv -f ".deps/bitwise.Tpo" ".deps/bitwise.Plo"; else
rm -f ".deps/bitwise.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I/net/sanctum/usr/pkgsrc/multimedia/libogg/work/.buildlink/include -O20
-ffast-math -fsigned-char -mv8 -O -MT bitwise.lo -MD -MP -MF .deps/bitwise.Tpo
-c bitwise.c -fPIC -DPIC -o .libs/bitwise.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I/net/sanctum/usr/pkgsrc/multimedia/libogg/work/.buildlink/include -O20
-ffast-math -fsigned-char -mv8 -O -MT bitwise.lo -MD -MP -MF .deps/bitwise.Tpo
-c bitwise.c -o bitwise.o >/dev/null 2>&1
/bin/ksh ../libtool --mode=link gcc -O20 -ffast-math -fsigned-char -mv8 -O
-I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -o libogg.la -rpath /usr/pkg/lib -no-undefined -version-info
5:2:5 framing.lo bitwise.lo
gcc -shared .libs/framing.o .libs/bitwise.o
-L/net/sanctum/usr/pkgsrc/multimedia/libogg/work/.buildlink/lib -lc -mv8
-Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libogg.so.0 -o .libs/libogg.so.0.5.2
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libogg.so.0: open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libogg.so.0.5.2
collect2: ld returned 1 exit status
Stop.
>Fix:
Unknown.
Home |
Main Index |
Thread Index |
Old Index