pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32025: smpeg-0.4.4nb10 solaris10 gcc 3.4.3 (as)
>Number: 32025
>Category: pkg
>Synopsis: smpeg-0.4.4nb10 solaris10 gcc 3.4.3 (as)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 09 11:07:00 +0000 2005
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic i86pc
>Description:
g++ -shared -nostdlib -R/usr/pkg/lib -R/usr/lib/../sfw/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/openwin/lib
-Wl,-R/usr/openwin/lib /usr/lib/crti.o /usr/lib/values-Xa.o
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/crtbegin.o .libs/MPEG.o
.libs/MPEGring.o .libs/MPEGlist.o .libs/MPEGstream.o .libs/MPEGsystem.o
.libs/MPEGfilter.o .libs/smpeg.o .libs/libsmpeg.lax/libaudio.a/MPEGaudio.o
.libs/libsmpeg.lax/libaudio.a/bitwindow.o
.libs/libsmpeg.lax/libaudio.a/filter.o .libs/libsmpeg.lax/libaudio.a/filter_2.o
.libs/libsmpeg.lax/libaudio.a/huffmantable.o
.libs/libsmpeg.lax/libaudio.a/mpeglayer1.o
.libs/libsmpeg.lax/libaudio.a/mpeglayer2.o
.libs/libsmpeg.lax/libaudio.a/mpeglayer3.o
.libs/libsmpeg.lax/libaudio.a/mpegtable.o
.libs/libsmpeg.lax/libaudio.a/mpegtoraw.o
.libs/libsmpeg.lax/libvideo.a/MPEGvideo.o
.libs/libsmpeg.lax/libvideo.a/decoders.o
.libs/libsmpeg.lax/libvideo.a/floatdct.o .libs/libsmpeg.lax/libvideo.a/gdith.o
.libs/libsmpeg.lax/libvideo.a/jre
vdct.o .libs/libsmpeg.lax/libvideo.a/motionvector.o
.libs/libsmpeg.lax/libvideo.a/parseblock.o
.libs/libsmpeg.lax/libvideo.a/readfile.o .libs/libsmpeg.lax/libvideo.a/util.o
.libs/libsmpeg.lax/libvideo.a/video.o .libs/libsmpeg.lax/libvideo.a/vhar128.o
.libs/libsmpeg.lax/libvideo.a/mmxflags_asm.o
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o -Wl,-R
-Wl,/usr/pkgsrc/multimedia/smpeg/work/.buildlink/lib -Wl,-R -Wl,/usr/sfw/lib
-Wl,-R -Wl,/usr/pkgsrc/multimedia/smpeg/work/.buildlink/lib -Wl,-R
-Wl,/usr/sfw/lib -Wl,-R -Wl,/usr/pkg/lib -Wl,-R -Wl,/usr/lib/../sfw/lib
-L/usr/pkgsrc/multimedia/smpeg/work/.buildlink/lib
-L/usr/pkgsrc/multimedia/smpeg/work/.x11-buildlink/lib -L/usr/sfw/lib -lXext
/usr/pkgsrc/multimedia/smpeg/work/.buildlink/lib/libaa-x11.so -lsocket -lnsl
-lX11 -lc /usr/pkgsrc/multimedia/smpeg/work/.buildlink/lib/libSDL.so -lpthread
-lposix4 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3
-L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../.. /usr/sfw/lib/libstdc++.so
-lm -l
gcc_s /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/crtend.o /usr/lib/crtn.o
-Wl,-R/usr/pkg/lib -Wl,-R/usr/openwin/lib -Wl,-h -Wl,libsmpeg-0.4.so.0 -o
.libs/libsmpeg-0.4.so.0.1.3
Text relocation remains referenced
against symbol offset in file
<unknown> 0x2c
.libs/libsmpeg.lax/libvideo.a/mmxflags_asm.o
<unknown> 0x32
.libs/libsmpeg.lax/libvideo.a/mmxflags_asm.o
<unknown> 0xd
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x3c
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0xb2
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0xd1
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0xe2
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0xf3
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x199
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x203
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x214
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x235
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x246
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x251
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x32a
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x376
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x38c
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x396
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x3a1
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x3e1
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x401
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x413
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x433
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x4b3
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x4c3
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x4cd
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x4d7
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x515
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x584
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x58f
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x5b6
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
<unknown> 0x5c9
.libs/libsmpeg.lax/libvideo.a/mmxidct_asm.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake[1]: *** [libsmpeg.la] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/multimedia/smpeg/work/smpeg-0.4.4'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/multimedia/smpeg
>How-To-Repeat:
bmake in smpeg
>Fix:
I Don't know what is relevant:
- even the solaris AS can't produce a pic code
or AS source code is not perfect.
That is a generic problem for almost AS code that goes in Solaris shared library
Any idea?
I provide a patch as a workaround for smpeg
--- Makefile.orig Sun Sep 4 07:20:05 2005
+++ Makefile Wed Nov 9 11:46:57 2005
@@ -29,10 +29,11 @@
> ${BUILDLINK_DIR}/include/malloc.h; \
fi
-.if ${MACHINE_ARCH} == "i386"
+.include "options.mk"
+
+.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS"
CONFIGURE_ARGS+= --enable-mmx
.endif
-.include "options.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index