pkgsrc-Bugs archive

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

Re: pkg/53433: pkgsrc-2018Q2 audio/mpg123-pulse build fails onNetBSD/i386 8.0_RC2



The following reply was made to PR pkg/53433; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: martin%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/53433: pkgsrc-2018Q2 audio/mpg123-pulse build fails onNetBSD/i386
	 8.0_RC2
Date: Wed, 11 Jul 2018 23:03:19 +0900

 >  >  /usr/pkg/lib/libmpg123.so.0: text relocations
 >  
 >  Can you find out what needs relocation here? This is the real killer.
 >  Typicaly this is caused by broken assembly code or bogus compiler
 >  flags.
 
 The attached diff (and rebuilding mpg123) solves the relocation warning
 ---
 Index: options.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/audio/mpg123/options.mk,v
 retrieving revision 1.4
 diff -u -p -d -r1.4 options.mk
 --- options.mk	22 May 2018 22:50:25 -0000	1.4
 +++ options.mk	11 Jul 2018 13:58:48 -0000
 @@ -9,7 +9,8 @@ PKG_SUGGESTED_OPTIONS+=		mpg123-fifo
  
  .if (${MACHINE_ARCH} == "i386")
  .  if empty(MACHINE_PLATFORM:MDarwin-11.*-i386) && \
 -      empty(MACHINE_PLATFORM:MSunOS-*)
 +      empty(MACHINE_PLATFORM:MSunOS-*) && \
 +      empty(MACHINE_PLATFORM:MNetBSD-[89]*-i386)
  PKG_OPTIONS_GROUP.fpu=		mpg123-x86-dither mpg123-with-fpu
  PKG_SUGGESTED_OPTIONS+=		mpg123-x86-dither
  .  else
 
 ---
 so x86 asm sources in libmpg123 need relocations as many other
 multimedia applications (like ffmpeg3 etc)?
 
 ---
 work.i386/mpg123-1.25.10/src/libmpg123/check_neon.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_3dnow.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_3dnowext.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_avx.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_neon.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_neon64.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_sse.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct36_x86_64.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_3dnow.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_3dnowext.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_avx.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_avx_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_mmx.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_neon.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_neon64.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_neon64_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_neon_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_sse.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_sse_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_x86_64.S
 work.i386/mpg123-1.25.10/src/libmpg123/dct64_x86_64_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/equalizer_3dnow.S
 work.i386/mpg123-1.25.10/src/libmpg123/getcpuflags.S
 work.i386/mpg123-1.25.10/src/libmpg123/getcpuflags_x86_64.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_3dnow.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_3dnowext.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_arm.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_arm_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_i586.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_i586_dither.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_mmx.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon64.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon64_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon64_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon64_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_neon_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_sse.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_sse_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_sse_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_sse_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_avx.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_avx_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_avx_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_avx_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon64.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon64_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon64_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon64_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_neon_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_sse_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_sse_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_sse_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_x86_64.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_x86_64_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_x86_64_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_stereo_x86_64_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_x86_64.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_x86_64_accurate.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_x86_64_float.S
 work.i386/mpg123-1.25.10/src/libmpg123/synth_x86_64_s32.S
 work.i386/mpg123-1.25.10/src/libmpg123/tabinit_mmx.S
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index