Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135406 - xine-lib-1.1.2_pre20060328-r9 can not compile by gcc 4
Summary: xine-lib-1.1.2_pre20060328-r9 can not compile by gcc 4
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 09:51 UTC by Joe Chen
Modified: 2006-06-03 11:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Chen 2006-06-03 09:51:52 UTC
I switch gcc to 4.1.1
when I emerge =media-libs/xine-lib-1.1.2_pre20060328-r9 and it has error like blow: 

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse -mmmx -msse -msse2 -pipe -fomit-frame-pointer -fforce-addr -finline-limit=400 -fmove-all-movables -falign-functions=4 -Wall -pthread -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse -mmmx -msse -msse2 -pipe -fomit-frame-pointer -finline-limit=400 -falign-functions=4 -frename-registers -ffunction-sections -c image.c  -fPIC -DPIC -o .libs/xineplug_decode_image_la-image.o
cc1: error: unrecognized command line option "-fmove-all-movables"
make[3]: *** [xineplug_decode_image_la-image.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src/libxinevdec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs'
make: *** [all] Error 2

It seems cause by gcc 4 doesn't support option "-fmove-all-movables"
Comment 1 Joe Chen 2006-06-03 09:53:39 UTC
my cflag is

CFLAGS="-mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse -mmmx -msse -msse2 -pipe -fomit-frame-pointer -fforce-addr -finline-limit=400 -falign-functions=4(In reply to comment #0)
> I switch gcc to 4.1.1
> when I emerge =media-libs/xine-lib-1.1.2_pre20060328-r9 and it has error like
> blow: 
> 
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include
> -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine
> -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib
> -mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse -mmmx -msse -msse2 -pipe
> -fomit-frame-pointer -fforce-addr -finline-limit=400 -fmove-all-movables
> -falign-functions=4 -Wall -pthread -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64
> -DXINE_COMPILE -DENABLE_IPV6 -mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse
> -mmmx -msse -msse2 -pipe -fomit-frame-pointer -finline-limit=400
> -falign-functions=4 -frename-registers -ffunction-sections -c image.c  -fPIC
> -DPIC -o .libs/xineplug_decode_image_la-image.o
> cc1: error: unrecognized command line option "-fmove-all-movables"
> make[3]: *** [xineplug_decode_image_la-image.lo] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src/libxinevdec'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs'
> make: *** [all] Error 2
> 
> It seems cause by gcc 4 doesn't support option "-fmove-all-movables"
> 

(In reply to comment #0)
> I switch gcc to 4.1.1
> when I emerge =media-libs/xine-lib-1.1.2_pre20060328-r9 and it has error like
> blow: 
> 
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include
> -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine
> -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib
> -mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse -mmmx -msse -msse2 -pipe
> -fomit-frame-pointer -fforce-addr -finline-limit=400 -fmove-all-movables
> -falign-functions=4 -Wall -pthread -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64
> -DXINE_COMPILE -DENABLE_IPV6 -mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse
> -mmmx -msse -msse2 -pipe -fomit-frame-pointer -finline-limit=400
> -falign-functions=4 -frename-registers -ffunction-sections -c image.c  -fPIC
> -DPIC -o .libs/xineplug_decode_image_la-image.o
> cc1: error: unrecognized command line option "-fmove-all-movables"
> make[3]: *** [xineplug_decode_image_la-image.lo] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src/libxinevdec'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs'
> make: *** [all] Error 2
> 
> It seems cause by gcc 4 doesn't support option "-fmove-all-movables"
> 

Comment 2 Joe Chen 2006-06-03 09:54:50 UTC
my cflag is

CFLAGS="-mtune=pentium-m -march=pentium-m -O3 -mfpmath=sse -mmmx -msse -msse2 -pipe -fomit-frame-pointer -fforce-addr -finline-limit=400 -falign-functions=4
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-03 11:07:11 UTC
emerge --info missing.