Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 223285

Summary: media-sound/lame w/ fully-optimize fails to compile on gcc-4.3
Product: Gentoo Linux Reporter: David Pyke <gentoo-bugs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my paludis --info

Description David Pyke 2008-05-23 01:27:45 UTC
gcc-4.3 no longer supports the -fforce-mem compiler option used by fully-optimize in the compile

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-24 15:55:31 UTC
emerge --info, output of emerge -vp lame and maybe a build log, please.
Comment 2 David Pyke 2008-05-24 16:58:44 UTC
Created attachment 154159 [details]
my paludis --info

I've move to paludis now so emerge --info is stale
Comment 3 David Pyke 2008-05-24 17:01:56 UTC
cc1: error: unrecognized command line option "-fforce-mem"
make[2]: *** [layer1.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: unrecognized command line option "-fforce-mem"
cc1: error: unrecognized command line option "-fforce-mem"
make[2]: *** [decode_i386.lo] Error 1
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -fforce-mem -Wall -pipe -O2 -march=native -mtune=native -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c  -fPIC -DPIC -o .libs/interface.o
make[2]: *** [common.lo] Error 1
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -fforce-mem -Wall -pipe -O2 -march=native -mtune=native -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c dct64_i386.c  -fPIC -DPIC -o .libs/dct64_i386.o
cc1: error: unrecognized command line option "-fforce-mem"
make[2]: *** [interface.lo] Error 1
cc1: error: unrecognized command line option "-fforce-mem"
make[2]: *** [dct64_i386.lo] Error 1
make[2]: Leaving directory `/mnt/windows/tmp/paludis/media-sound-lame-3.97-r1/work/lame-3.97/mpglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/windows/tmp/paludis/media-sound-lame-3.97-r1/work/lame-3.97'
make: *** [all] Error 2

!!! ERROR in media-sound/lame-3.97-r1:
!!! In src_compile at line 4120
!!! emake failed

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/media-sound-lame-3.97-r1/temp/loadsaveenv:4120)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:460)
!!!    * main (/usr/libexec/paludis/ebuild.bash:479)

diefunc: making ebuild PID 14768 exit with error
die trap: exiting with error.

Install error:
  * In program paludis (--log-level warning --dl-reinstall if-use-changed --continue-on-failure if-satisfied --dl-reinstall-scm weekly --dl-installed-deps-pre pre-or-post) -i lame:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'media-sound/lame-3.97-r1:0::local_overlay':
  * Install error: Install failed for 'media-sound/lame-3.97-r1:0::local_overlay'



Summary of failures:

* media-sound/lame-3.97-r1:0::local_overlay: failure

Total: 1 package, 0 successes, 0 skipped, 1 failure, 0 unreached

Resume command: paludis --log-level warning --install --add-to-world-spec 'media-sound/lame' --continue-on-failure if-satisfied --serialised 0.25 'package;=media-sound/lame-3.97-r1:0::local_overlay;installed;has_all_deps;P'


 * No unread news items found

 * Searching for configuration files requiring action...
 * No configuration file updates required

Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-25 16:23:14 UTC
From what "local overlay" is this ebuild? How did "fully-optimize" get enabled? (Hint: the ebuild in the tree doesn't enable it.)