pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

audio/lame fails to build



Hi,

I'm trying to build lame on my GNU/Debian testing i386 box with
pkgsrc 2015Q1 and it fails with errors like:

,----[(Full output at the end of this mail)]
|   In file included from xmm_quantize_sub.c:37:0:
|   /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:229:1: error:
|   inlining failed in call to always_inline '_mm_max_ps': target specific
|   option mismatch
|    _mm_max_ps (__m128 __A, __m128 __B)
`----

Searching around, I found debian bug report #760047 which looks related:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760047

The patch that fixed the issue: 

,----
|  * debian/patches/msse.patch: Build xmm_quantize_sub.c with -msse to fix
|    a build failure on any-i386. This also enables SSE support on i386 if
|    SSE support is detected at runtime. (Closes: #760047)
`----

looks like this:

,----
| root@debian:/usr/pkgsrc/audio/lame# cat 
| /tmp/lame-3.99.5+repack1/debian/patches/msse.patch
| Description: Build xmm_quantize_sub.c with -msse
| Author: Sebastian Ramacher <sramacher%debian.org@localhost>
| Bug: http://sourceforge.net/p/lame/bugs/443/
| Bug-Debian: https://bugs.debian.org/760047
| Forwarded: http://sourceforge.net/p/lame/bugs/443/
| Last-Update: 2014-08-31
| 
| --- lame-3.99.5+repack1.orig/libmp3lame/vector/Makefile.am
| +++ lame-3.99.5+repack1/libmp3lame/vector/Makefile.am
| @@ -20,6 +20,7 @@ xmm_sources = xmm_quantize_sub.c
| 
|  if WITH_XMM
|  liblamevectorroutines_la_SOURCES = $(xmm_sources)
| +liblamevectorroutines_la_CFLAGS = -msse
|  endif
| 
|  noinst_HEADERS = lame_intrin.h
`----

Adjusting Makefile.am in the suggested way didn't help, but
adding the cflag to activate the Streaming SIMD Extension in 
the Makefile eventually did it for me:

,----
| root@debian:/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame/vector#
| cat Makefile | grep msse
| CFLAGS =  -Wall -pipe -O2 -Wno-error -I/usr/include -msse
`----

It now compiles and runs fine AFAICT.

Memnon

[ Output of failing build ]
root@debian:/usr/pkgsrc/audio/lame# bmake
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for lame-3.99.5.tar.gz
=> Checksum RMD160 OK for lame-3.99.5.tar.gz
===> Installing dependencies for lame-3.99.5nb2
==========================================================================
The supported build options for lame are:

        gtk sndfile unicode

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.lame (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
lame-3.99.5nb2.  Their current value is shown below:

        * CURSES_DEFAULT = curses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb9
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency nasm>=0.98: found nasm-2.11.08
===> Overriding tools for lame-3.99.5nb2
===> Extracting for lame-3.99.5nb2
===> Patching for lame-3.99.5nb2
=> Applying pkgsrc patches for lame-3.99.5nb2
===> Creating toolchain wrappers for lame-3.99.5nb2
===> Configuring for lame-3.99.5nb2
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking build system type... i486-debian-linux-gnu
checking host system type... i486-debian-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
root
checking whether build environment is sane... yes
checking for a thread-safe mkdir
-p... /var/pkgsrc/work/audio/lame/work/.tools/bin/mkdir -p
checking for gawk... /usr/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for style of include used by make... GNU
checking for i486-debian-linux-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking how to print strings... print -r
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by
gcc... /var/pkgsrc/work/audio/lame/work/.wrapper/bin/ld
checking if the linker
(/var/pkgsrc/work/audio/lame/work/.wrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached)
2097152
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /var/pkgsrc/work/audio/lame/work/.wrapper/bin/ld option to
reload object files... -r
checking for i486-debian-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i486-debian-linux-ar... no
checking for ar... ar
checking for i486-debian-linux-strip... no
checking for strip... strip
checking for i486-debian-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... /bin/rm: cannot remove
'conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker
(/var/pkgsrc/work/audio/lame/work/.wrapper/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot
remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i486-debian-linux-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking version of GCC... 4.9.2
checking for function prototypes... yes
checking for string.h... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking xmmintrin.h usability... yes
checking xmmintrin.h presence... yes
checking for xmmintrin.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 4
checking size of unsigned long... 4
checking size of long long... 8
checking size of unsigned long long... 8
checking size of float... 4
checking size of double... 8
checking for long double with more range or precision than double... yes
checking for uint8_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for int16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for IEEE854 compliant 80 bit floats... yes
checking for ieee854_float80_t... no
checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for gettimeofday... yes
checking for strtol... yes
checking for socket... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking ncurses/termcap.h usability... no
checking ncurses/termcap.h presence... no
checking for ncurses/termcap.h... no
checking for tgetent in -ltermcap... yes
checking for tgetent in -lcurses... yes
checking for tgetent in -lncurses... yes
checking for ld used by
GCC... /var/pkgsrc/work/audio/lame/work/.wrapper/bin/ld
checking if the linker
(/var/pkgsrc/work/audio/lame/work/.wrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t
         *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for cos in -lm... yes
checking for cos in -lffm... no
checking for cos in -lcpml... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking use of ElectricFence malloc debugging... no
checking use of file io... lame
checking use of analyzer hooks... yes
checking use of mpg123 decoder... yes (Layer 1, 2, 3)
checking if the lame frontend should be build... yes
checking if mp3x is requested... no
checking if mp3rtp is requested... no
checking if dynamic linking of the frontends is requested... no
checking glibc mathinline bug... no
checking for termcap... yes
checking if I have to build the internal vector lib... yes
checking for nasm... /usr/pkg/bin/nasm
checking for assembler routines for this processor type... yes
checking for additional optimizations... no
checking for debug options... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmp3lame/Makefile
config.status: creating libmp3lame/i386/Makefile
config.status: creating libmp3lame/vector/Makefile
config.status: creating frontend/Makefile
config.status: creating mpglib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating include/Makefile
config.status: creating Dll/Makefile
config.status: creating misc/Makefile
config.status: creating debian/Makefile
config.status: creating dshow/Makefile
config.status: creating ACM/Makefile
config.status: creating ACM/ADbg/Makefile
config.status: creating ACM/ddk/Makefile
config.status: creating ACM/tinyxml/Makefile
config.status: creating lame.spec
config.status: creating mac/Makefile
config.status: creating macosx/Makefile
config.status: creating macosx/English.lproj/Makefile
config.status: creating macosx/LAME.xcodeproj/Makefile
config.status: creating vc_solution/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for lame-3.99.5nb2
/usr/bin/make  all-recursive
make[1]: Entering directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5'
Making all in mpglib
make[2]: Entering directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/mpglib'
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT common.lo -MD -MP -MF
.deps/common.Tpo -c -o common.lo common.c
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT dct64_i386.lo -MD -MP -MF
.deps/dct64_i386.Tpo -c -o dct64_i386.lo dct64_i386.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT dct64_i386.lo -MD -MP -MF
.deps/dct64_i386.Tpo -c dct64_i386.c  -fPIC -DPIC -o .libs/dct64_i386.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT common.lo -MD -MP -MF
.deps/common.Tpo -c common.c  -fPIC -DPIC -o .libs/common.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT common.lo -MD -MP -MF
.deps/common.Tpo -c common.c -o common.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT dct64_i386.lo -MD -MP -MF
.deps/dct64_i386.Tpo -c dct64_i386.c -o dct64_i386.o >/dev/null 2>&1
mv -f .deps/common.Tpo .deps/common.Plo
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT decode_i386.lo -MD -MP -MF
.deps/decode_i386.Tpo -c -o decode_i386.lo decode_i386.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT decode_i386.lo -MD -MP
-MF .deps/decode_i386.Tpo -c decode_i386.c  -fPIC -DPIC -o
.libs/decode_i386.o
mv -f .deps/dct64_i386.Tpo .deps/dct64_i386.Plo
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT interface.lo -MD -MP -MF
.deps/interface.Tpo -c -o interface.lo interface.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT interface.lo -MD -MP -MF
.deps/interface.Tpo -c interface.c  -fPIC -DPIC -o .libs/interface.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT decode_i386.lo -MD -MP
-MF .deps/decode_i386.Tpo -c decode_i386.c -o decode_i386.o >/dev/null
2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT interface.lo -MD -MP -MF
.deps/interface.Tpo -c interface.c -o interface.o >/dev/null 2>&1
mv -f .deps/decode_i386.Tpo .deps/decode_i386.Plo
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT layer1.lo -MD -MP -MF
.deps/layer1.Tpo -c -o layer1.lo layer1.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT layer1.lo -MD -MP -MF
.deps/layer1.Tpo -c layer1.c  -fPIC -DPIC -o .libs/layer1.o
mv -f .deps/interface.Tpo .deps/interface.Plo
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT layer2.lo -MD -MP -MF
.deps/layer2.Tpo -c -o layer2.lo layer2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT layer1.lo -MD -MP -MF
.deps/layer1.Tpo -c layer1.c -o layer1.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT layer2.lo -MD -MP -MF
.deps/layer2.Tpo -c layer2.c  -fPIC -DPIC -o .libs/layer2.o
mv -f .deps/layer1.Tpo .deps/layer1.Plo
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT layer3.lo -MD -MP -MF
.deps/layer3.Tpo -c -o layer3.lo layer3.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT layer3.lo -MD -MP -MF
.deps/layer3.Tpo -c layer3.c  -fPIC -DPIC -o .libs/layer3.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT layer2.lo -MD -MP -MF
.deps/layer2.Tpo -c layer2.c -o layer2.o >/dev/null 2>&1
mv -f .deps/layer2.Tpo .deps/layer2.Plo
/bin/lksh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I.. -I../include -I. -I../libmp3lame -I..  -I/usr/include  -Wall
-pipe -O2 -Wno-error -I/usr/include -MT tabinit.lo -MD -MP -MF
.deps/tabinit.Tpo -c -o tabinit.lo tabinit.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT tabinit.lo -MD -MP -MF
.deps/tabinit.Tpo -c tabinit.c  -fPIC -DPIC -o .libs/tabinit.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT tabinit.lo -MD -MP -MF
.deps/tabinit.Tpo -c tabinit.c -o tabinit.o >/dev/null 2>&1
mv -f .deps/tabinit.Tpo .deps/tabinit.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -Wall -pipe -O2 -Wno-error -MT layer3.lo -MD -MP -MF
.deps/layer3.Tpo -c layer3.c -o layer3.o >/dev/null 2>&1
mv -f .deps/layer3.Tpo .deps/layer3.Plo
/bin/lksh ../libtool --tag=CC   --mode=link gcc  -Wall -pipe -O2
-Wno-error -I/usr/include  -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
-o libmpgdecoder.la  common.lo dct64_i386.lo decode_i386.lo interface.lo
layer1.lo layer2.lo layer3.lo tabinit.lo
libtool: link: ar cru .libs/libmpgdecoder.a .libs/common.o
.libs/dct64_i386.o .libs/decode_i386.o .libs/interface.o .libs/layer1.o
.libs/layer2.o .libs/layer3.o .libs/tabinit.o
libtool: link: ranlib .libs/libmpgdecoder.a
libtool: link: ( cd ".libs" && rm -f "libmpgdecoder.la" && ln -s
"../libmpgdecoder.la" "libmpgdecoder.la" )
make[2]: Leaving directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/mpglib'
Making all in libmp3lame
make[2]: Entering directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame'
Making all in i386
make[3]: Entering directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame/i386'
mkdir -p .libs
mkdir -p .libs
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365
2005/12/18 22:14:06)' >choose_table.lo
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365
2005/12/18 22:14:06)' >cpu_feat.lo
echo "pic_object='.libs/cpu_feat.o'" >>cpu_feat.lo
echo "pic_object='.libs/choose_table.o'" >>choose_table.lo
echo "non_pic_object='.libs/cpu_feat.o'" >>cpu_feat.lo
echo "non_pic_object='.libs/choose_table.o'" >>choose_table.lo
/usr/pkg/bin/nasm -f elf -i ../../libmp3lame/i386/ cpu_feat.nas -o
.libs/cpu_feat.o -l cpu_feat.lo.lst
/usr/pkg/bin/nasm -f elf -i ../../libmp3lame/i386/ choose_table.nas -o
.libs/choose_table.o -l choose_table.lo.lst
cpu_feat.nas:18: choose_table.nas:17: warning: Unknown section attribute
'class' ignored on declaration of section `.data'
choose_table.nas:17: warning: Unknown section attribute 'use32' ignored
on declaration of section `.data'
warning: Unknown section attribute 'class' ignored on declaration of
section `.text'
cpu_feat.nas:18: warning: Unknown section attribute 'use32' ignored on
declaration of section `.text'
choose_table.nas:131: warning: Unknown section attribute 'class' ignored
on declaration of section `.text'
choose_table.nas:131: warning: Unknown section attribute 'use32' ignored
on declaration of section `.text'
cpu_feat.nas:107: warning: label alone on a line without a colon might
be in error
mkdir -p .libs
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365
2005/12/18 22:14:06)' >fft3dn.lo
echo "pic_object='.libs/fft3dn.o'" >>fft3dn.lo
choose_table.nas:24: warning: label alone on a line without a colon
might be in error
echo "non_pic_object='.libs/fft3dn.o'" >>fft3dn.lo
/usr/pkg/bin/nasm -f elf -i ../../libmp3lame/i386/ fft3dn.nas -o
.libs/fft3dn.o -l fft3dn.lo.lst
choose_table.nas:78: warning: label alone on a line without a colon
might be in error
choose_table.nas:102: warning: label alone on a line without a colon
might be in error
choose_table.nas:109: warning: label alone on a line without a colon
might be in error
fft3dn.nas:11: warning: Unknown section attribute 'class' ignored on
declaration of section `.data'
choose_table.nas:341: warning: label alone on a line without a colon
might be in error
fft3dn.nas:11: choose_table.nas:353: warning: label alone on a line
without a colon might be in error
warning: Unknown section attribute 'use32' ignored on declaration of
section `.data'
choose_table.nas:414: warning: label alone on a line without a colon
might be in error
choose_table.nas:426: warning: label alone on a line without a colon
might be in error
choose_table.nas:447: warning: label alone on a line without a colon
might be in error
fft3dn.nas:25: warning: Unknown section attribute 'class' ignored on
declaration of section `.text'
fft3dn.nas:25: warning: Unknown section attribute 'use32' ignored on
declaration of section `.text'
mkdir -p .libs
echo '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365
2005/12/18 22:14:06)' >fftsse.lo
echo "pic_object='.libs/fftsse.o'" >>fftsse.lo
echo "non_pic_object='.libs/fftsse.o'" >>fftsse.lo
/usr/pkg/bin/nasm -f elf -i ../../libmp3lame/i386/ fftsse.nas -o
.libs/fftsse.o -l fftsse.lo.lst
fftsse.nas:11: warning: Unknown section attribute 'class' ignored on
declaration of section `.data'
fftsse.nas:11: warning: Unknown section attribute 'use32' ignored on
declaration of section `.data'
fftsse.nas:27: warning: Unknown section attribute 'class' ignored on
declaration of section `.text'
fftsse.nas:27: warning: Unknown section attribute 'use32' ignored on
declaration of section `.text'
fft3dn.nas:51: warning: label alone on a line without a colon might be
in error
fftsse.nas:422: warning: label alone on a line without a colon might be
in error
fft3dn.nas:267: warning: label alone on a line without a colon might be
in error
fft3dn.nas:295: warning: label alone on a line without a colon might be
in error
fft3dn.nas:484: warning: label alone on a line without a colon might be
in error
/bin/lksh ../../libtool --mode=link gcc  -Wall -pipe -O2 -Wno-error
-I/usr/include  -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o
liblameasmroutines.la  choose_table.lo cpu_feat.lo fft3dn.lo fftsse.lo
libtool: link: ar cru .libs/liblameasmroutines.a .libs/choose_table.o
.libs/cpu_feat.o .libs/fft3dn.o .libs/fftsse.o
libtool: link: ranlib .libs/liblameasmroutines.a
libtool: link: ( cd ".libs" && rm -f "liblameasmroutines.la" && ln -s
"../liblameasmroutines.la" "liblameasmroutines.la" )
make[3]: Leaving directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame/i386'
Making all in vector
make[3]: Entering directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame/vector'
/bin/lksh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib
-I../..  -I/usr/include  -Wall -pipe -O2 -Wno-error -I/usr/include -MT
xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c -o
xmm_quantize_sub.lo xmm_quantize_sub.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-I../../libmp3lame -I../../mpglib -Wall -pipe -O2 -Wno-error -MT
xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c
xmm_quantize_sub.c  -fPIC -DPIC -o .libs/xmm_quantize_sub.o
xmm_quantize_sub.c: In function 'fht_SSE2':
xmm_quantize_sub.c:172:20: warning: variable 'v_s2' set but not used
[-Wunused-but-set-variable]
             __m128 v_s2;
                    ^
xmm_quantize_sub.c: In function 'init_xrpow_core_sse':
xmm_quantize_sub.c:65:18: warning: SSE vector return without SSE enabled
changes the ABI [-Wpsabi]
     const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);
                  ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:929:1: error:
inlining failed in call to always_inline '_mm_loadu_ps': target specific
option mismatch
 _mm_loadu_ps (float const *__P)
 ^
xmm_quantize_sub.c:65:18: error: called from here
     const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);
                  ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:895:1: error:
inlining failed in call to always_inline '_mm_set_ps1': target specific
option mismatch
 _mm_set_ps1 (float __F)
 ^
xmm_quantize_sub.c:73:27: error: called from here
     vec_xrpow_max._m128 = _mm_set_ps1(0);
                           ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:895:1: error:
inlining failed in call to always_inline '_mm_set_ps1': target specific
option mismatch
 _mm_set_ps1 (float __F)
 ^
xmm_quantize_sub.c:74:21: error: called from here
     vec_sum._m128 = _mm_set_ps1(0);
                     ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:929:1: error:
inlining failed in call to always_inline '_mm_loadu_ps': target specific
option mismatch
 _mm_loadu_ps (float const *__P)
 ^
xmm_quantize_sub.c:77:25: error: called from here
         vec_tmp._m128 = _mm_loadu_ps(&(cod_info->xr[i])); /* load */
                         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:237:1: error:
inlining failed in call to always_inline '_mm_and_ps': target specific
option mismatch
 _mm_and_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:78:25: error: called from here
         vec_tmp._m128 = _mm_and_ps(vec_tmp._m128, vec_fabs_mask); /*
         fabs */
                         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:181:1: error:
inlining failed in call to always_inline '_mm_add_ps': target specific
option mismatch
 _mm_add_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:79:25: error: called from here
         vec_sum._m128 = _mm_add_ps(vec_sum._m128, vec_tmp._m128);
                         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:205:1: error:
inlining failed in call to always_inline '_mm_sqrt_ps': target specific
option mismatch
 _mm_sqrt_ps (__m128 __A)
 ^
xmm_quantize_sub.c:80:25: error: called from here
         vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128,
         _mm_sqrt_ps(vec_tmp._m128)));
                         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:193:1: error:
inlining failed in call to always_inline '_mm_mul_ps': target specific
option mismatch
 _mm_mul_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:80:25: error: called from here
         vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128,
         _mm_sqrt_ps(vec_tmp._m128)));
                         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:205:1: error:
inlining failed in call to always_inline '_mm_sqrt_ps': target specific
option mismatch
 _mm_sqrt_ps (__m128 __A)
 ^
xmm_quantize_sub.c:80:25: error: called from here
         vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128,
         _mm_sqrt_ps(vec_tmp._m128)));
                         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:229:1: error:
inlining failed in call to always_inline '_mm_max_ps': target specific
option mismatch
 _mm_max_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:81:31: error: called from here
         vec_xrpow_max._m128 = _mm_max_ps(vec_xrpow_max._m128,
         vec_tmp._m128); /* retrieve max */
                               ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:978:1: error:
inlining failed in call to always_inline '_mm_storeu_ps': target
specific option mismatch
 _mm_storeu_ps (float *__P, __m128 __A)
 ^
xmm_quantize_sub.c:82:9: error: called from here
         _mm_storeu_ps(&(xrpow[i]), vec_tmp._m128); /* store into
         xrpow[] */
         ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:895:1: error:
inlining failed in call to always_inline '_mm_set_ps1': target specific
option mismatch
 _mm_set_ps1 (float __F)
 ^
xmm_quantize_sub.c:84:21: error: called from here
     vec_tmp._m128 = _mm_set_ps1(0);
                     ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:237:1: error:
inlining failed in call to always_inline '_mm_and_ps': target specific
option mismatch
 _mm_and_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:89:29: error: called from here
             vec_tmp._m128 = _mm_and_ps(vec_tmp._m128, vec_fabs_mask);
             /* fabs */
                             ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:181:1: error:
inlining failed in call to always_inline '_mm_add_ps': target specific
option mismatch
 _mm_add_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:90:29: error: called from here
             vec_sum._m128 = _mm_add_ps(vec_sum._m128, vec_tmp._m128);
                             ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:205:1: error:
inlining failed in call to always_inline '_mm_sqrt_ps': target specific
option mismatch
 _mm_sqrt_ps (__m128 __A)
 ^
xmm_quantize_sub.c:91:29: error: called from here
             vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128,
             _mm_sqrt_ps(vec_tmp._m128)));
                             ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:193:1: error:
inlining failed in call to always_inline '_mm_mul_ps': target specific
option mismatch
 _mm_mul_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:91:29: error: called from here
             vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128,
             _mm_sqrt_ps(vec_tmp._m128)));
                             ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:205:1: error:
inlining failed in call to always_inline '_mm_sqrt_ps': target specific
option mismatch
 _mm_sqrt_ps (__m128 __A)
 ^
xmm_quantize_sub.c:91:29: error: called from here
             vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128,
             _mm_sqrt_ps(vec_tmp._m128)));
                             ^
In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:229:1: error:
inlining failed in call to always_inline '_mm_max_ps': target specific
option mismatch
 _mm_max_ps (__m128 __A, __m128 __B)
 ^
xmm_quantize_sub.c:92:35: error: called from here
             vec_xrpow_max._m128 = _mm_max_ps(vec_xrpow_max._m128,
             vec_tmp._m128); /* retrieve max */
                                   ^
Makefile:319: recipe for target 'xmm_quantize_sub.lo' failed
make[3]: *** [xmm_quantize_sub.lo] Error 1
make[3]: Leaving directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame/vector'
Makefile:547: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5/libmp3lame'
Makefile:349: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/var/pkgsrc/work/audio/lame/work/lame-3.99.5'
Makefile:276: recipe for target 'all' failed
make: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/audio/lame
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/lame

-- 
/-------------------------------------------\
| SDF and SDF-EU Public Access UNIX System  |
| http://sdf.org   ||   http://sdf-eu.org   |
=============================================



Home | Main Index | Thread Index | Old Index