ld segfaults with error 11 while emerging ffmpeg and/or transcode. Tried downgrading to -mcpu=7400. No luck. Downgrading to binutils-2.14.90.0.6-r7 fixes the problem. Reproducible: Always Steps to Reproduce: 1. emerge ffmpeg Actual Results: gcc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -maltivec -mabi=altivec -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ppc/mpegvideo_altivec.o ppc/mpegvideo_altivec.c gcc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -maltivec -mabi=altivec -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ppc/idct_altivec.o ppc/idct_altivec.c gcc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -maltivec -mabi=altivec -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ppc/fft_altivec.o ppc/fft_altivec.c gcc -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -maltivec -mabi=altivec -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ppc/gmc_altivec.o ppc/gmc_altivec.c rm -f libavcodec.a ar rc libavcodec.a common.o utils.o mem.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o motion_est.o imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o simple_idct.o ratecontrol.o adpcm.o eval.o dv.o error_resilience.o fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o cljr.o roqvideo.o dpcm.o interplayvideo.o xan.o h263.o msmpeg4.o h263dec.o svq1.o rv10.o wmadec.o indeo3.o a52dec.o libpostproc/postprocess.o mp3lameaudio.o oggvorbis.o ppc/dsputil_ppc.o ppc/mpegvideo_ppc.o ppc/dsputil_altivec.o ppc/mpegvideo_altivec.o ppc/idct_altivec.o ppc/fft_altivec.o ppc/gmc_altivec.o ranlib libavcodec.a gcc -shared -o libavcodec.so common.o utils.o mem.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o motion_est.o imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o simple_idct.o ratecontrol.o adpcm.o eval.o dv.o error_resilience.o fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o cljr.o roqvideo.o dpcm.o interplayvideo.o xan.o h263.o msmpeg4.o h263dec.o svq1.o rv10.o wmadec.o indeo3.o a52dec.o libpostproc/postprocess.o mp3lameaudio.o oggvorbis.o ppc/dsputil_ppc.o ppc/mpegvideo_ppc.o ppc/dsputil_altivec.o ppc/mpegvideo_altivec.o ppc/idct_altivec.o ppc/fft_altivec.o ppc/gmc_altivec.o -lm -lz -ldl -lmp3lame -lvorbis -lvorbisenc collect2: ld terminated with signal 11 [Segmentation fault] make[1]: *** [libavcodec.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.8/work/ffmpeg-0.4.8/libavcodec' make: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.8 failed. !!! Function src_compile, Line 57, Exitcode 2 !!! make failed. Expected Results: expected a succesful emerge Portage 2.0.49-r15 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2) ================================================================= System uname: 2.4.22-ben2 ppc Gentoo Base System version 1.4.3.11 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/mnt/bintree/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="oss dvd xv jpeg nls mitshm gif png truetype ppc cups foomaticdb gnome-libs alsa gdbm berkdb slang readline arts tetex tcltk guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis qt kde motif opengl mozilla cdr crypt dvdr encode java mpeg ncurses radeon spell usb WindowMaker xmms -gnome -gtk"
There is a bug report for debian here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=219187 it was reported upstream at the binutils list (including a fix): http://sources.redhat.com/ml/binutils/2003-11/msg00059.html maybe this helps. my ppc machine has no spare test cycles atm. so i hope to be able to test the fix mentioned in the binutils list later.
*** Bug 32867 has been marked as a duplicate of this bug. ***
*** Bug 32758 has been marked as a duplicate of this bug. ***
Created attachment 20360 [details] test ebuild
Created attachment 20361 [details] patch needed place it in files/2.14/
the patch in attachment 20361 [details] fixes the segfault problem. i successfully emerged all the mentioned ebuilds (gst-plugins, transcode, ffmpeg). the ebuild in attachment 20360 [details] should go into portage and marked as ~ppc. thanks luca for merging the different patches from the binutils mailing list.
In portage.