pkgsrc-Bugs archive

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

pkg/51209: audio/lame build fails on i386-7.99.30



>Number:         51209
>Category:       pkg
>Synopsis:       audio/lame build fails on i386-7.99.30
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 01 15:15:00 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/i386-7.99.30, pkgsrc-2016Q1 (audio/lame updated to HEAD)
>Organization:
>Environment:
NetBSD plextwo 7.99.30 NetBSD 7.99.30 (PLEXOR) #2: Mon May 30 21:25:51 CDT 2016  sysop%hppldl380g5.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/PLEXOR i386

>Description:
Building audio/lame on i386-current following the switch to GCC 5.3
fails as follows:

[...]
gmake[3]: Entering directory '/var/tmp/pkgsrc/audio/lame/work/lame-3.99.5/libmp3lame/i386'
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 "pic_object='.libs/choose_table.o'" >>choose_table.lo
echo "non_pic_object='.libs/choose_table.o'" >>choose_table.lo
/usr/pkg/bin/nasm -f elf -i ../../libmp3lame/i386/ choose_table.nas -o .libs/choose_table.o -l choose_table.lo.lst
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'
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'
choose_table.nas:24: warning: label alone on a line without a colon might be in error
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
choose_table.nas:341: warning: label alone on a line without a colon might be in error
choose_table.nas:353: warning: label alone on a line without a colon might be in error
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
mkdir -p .libs
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 "non_pic_object='.libs/cpu_feat.o'" >>cpu_feat.lo
/usr/pkg/bin/nasm -f elf -i ../../libmp3lame/i386/ cpu_feat.nas -o .libs/cpu_feat.o -l cpu_feat.lo.lst
cpu_feat.nas:18: 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'
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
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
fft3dn.nas:11: warning: Unknown section attribute 'class' ignored on declaration of section `.data'
fft3dn.nas:11: warning: Unknown section attribute 'use32' ignored on declaration of section `.data'
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'
fft3dn.nas:51: 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
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'
fftsse.nas:422: warning: label alone on a line without a colon might be in error
/bin/sh ../../libtool --mode=link gcc  -Wall -pipe -O2 -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" )
gmake[3]: Leaving directory '/var/tmp/pkgsrc/audio/lame/work/lame-3.99.5/libmp3lame/i386'
Making all in vector
gmake[3]: Entering directory '/var/tmp/pkgsrc/audio/lame/work/lame-3.99.5/libmp3lame/vector'
/bin/sh ../../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 -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 -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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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 */
                                   ^
In file included from xmm_quantize_sub.c:37:0:
/usr/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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/include/gcc-5/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 */
                             ^
Makefile:319: recipe for target 'xmm_quantize_sub.lo' failed
gmake[3]: *** [xmm_quantize_sub.lo] Error 1
gmake[3]: Leaving directory '/var/tmp/pkgsrc/audio/lame/work/lame-3.99.5/libmp3lame/vector'
Makefile:547: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/var/tmp/pkgsrc/audio/lame/work/lame-3.99.5/libmp3lame'
Makefile:349: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/pkgsrc/audio/lame/work/lame-3.99.5'
Makefile:276: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/audio/lame
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/audio/lame

>How-To-Repeat:
See above.

I've submitted this as category "pkg", but possibly it could be
"toolchain".

This is the only such occurrance I've seen.  So far, all the other
packages I built on i386-current had no trouble.  "audio/lame" builds
without problems on amd64-current and macppc-current.
>Fix:



Home | Main Index | Thread Index | Old Index