Subject: Re: pkg/31101
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 09/04/2005 22:17:02
The following reply was made to PR pkg/31101; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
	gnats-admin@NetBSD.org, xtraeme@NetBSD.org, svs@svs.complife.ru
Cc: 
Subject: Re: pkg/31101
Date: Wed, 31 Aug 2005 12:30:17 +0200 (CEST)

 > From: xtraeme@NetBSD.org
 > 
 > Synopsis: audio/lame does not enable nasm support
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: xtraeme@netbsd.org
 > State-Changed-When: Tue, 30 Aug 2005 16:13:33 +0000
 > State-Changed-Why:
 > Applied, but only enabled for i386.
 > Thanks.
 > 
 > 
 
 please disable it for Solaris i386, it won't link.
 ----------------------------------------
 gmake[3]: Entering directory 
 `/usr/pkgsrc/audio/lame/work/lame-3.96.1/libmp3lame'
 /bin/ksh ../libtool --mode=link gcc  -Wall -O  -lm -Wl,-R/usr/pkg/lib -o 
 libmp3lame.la -rpath /usr/pkg/lib -version-info 0:0 -no-undefined VbrTag.lo 
 bitstream.lo encoder.lo fft.lo gain_analysis.lo id3tag.lo lame.lo newmdct.lo 
 presets.lo psymodel.lo quantize.lo quantize_pvt.lo reservoir.lo set_get.lo 
 tables.lo takehiro.lo util.lo vbrquantize.lo version.lo mpglib_interface.lo 
 ../libmp3lame/i386/liblameasmroutines.la ../mpglib/libmpgdecoder.la -lsocket 
 -lnsl
 gcc -shared -Wl,-h -Wl,libmp3lame.so.0 -o .libs/libmp3lame.so.0.0.0  
 .libs/VbrTag.o .libs/bitstream.o .libs/encoder.o .libs/fft.o 
 .libs/gain_analysis.o .libs/id3tag.o .libs/lame.o .libs/newmdct.o 
 .libs/presets.o .libs/psymodel.o .libs/quantize.o .libs/quantize_pvt.o 
 .libs/reservoir.o .libs/set_get.o .libs/tables.o .libs/takehiro.o .libs/util.o 
 .libs/vbrquantize.o .libs/version.o .libs/mpglib_interface.o -Wl,-z 
 -Wl,allextract,../libmp3lame/i386/.libs/liblameasmroutines.a,../mpglib/.libs/lib
 mpgdecoder.a -Wl,-z -Wl,defaultextract  
 -L/usr/pkgsrc/audio/lame/work/.buildlink/lib -lm -lsocket -lnsl -lc  
 -Wl,-R/usr/pkg/lib
 Text relocation remains                         referenced
     against symbol                  offset      in file
 <unknown>                           0x60        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x86        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x8d        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x94        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x11e       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x126       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x195       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x1a4       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x1b3       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x1c1       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x24f       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 <unknown>                           0x265       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 t1l                                 0x17a       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 largetbl                            0xcd        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 largetbl                            0xf5        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 largetbl                            0xff        
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 table23                             0x248       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 table56                             0x25e       
 ../libmp3lame/i386/.libs/liblameasmroutines.a(choose_table.o)
 ld: fatal: relocations remain against allocatable but non-writable sections
 collect2: ld returned 1 exit status
 gmake[3]: *** [libmp3lame.la] Error 1
 gmake[3]: Leaving directory `/usr/pkgsrc/audio/lame/work/lame-3.96.1/libmp3lame'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory `/usr/pkgsrc/audio/lame/work/lame-3.96.1/libmp3lame'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/pkgsrc/audio/lame/work/lame-3.96.1'
 gmake: *** [all] Error 2
 *** Error code 2