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

Bug 67803

Summary: ebuild for fbset fails with CFLAG -o3
Product: Gentoo Linux Reporter: Hendrik <hendrik.haddorp>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hendrik 2004-10-16 12:26:12 UTC
I included -o3 to my CFLAGS. Emerging fbset fails with a compile error. After switching to -o2 it worked.

Reproducible: Always
Steps to Reproduce:
1. add -o3 to your CFLAGS
2. emerge fbset

Actual Results:  
ebuild failed

Expected Results:  
no error :-)
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-10-19 01:21:45 UTC
verified:

>>> emerge (160 of 194) sys-apps/fbset-2.1 to /
>>> md5 src_uri ;-) fbset-2.1.tar.gz
>>> Unpacking source...
>>> Unpacking fbset-2.1.tar.gz to /var/tmp/portage/fbset-2.1/work
>>> Source unpacked.
gcc -Wall -O3 -mtune=G5 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -mabi=altivec -maltivec -pipe -I. -O3 -mtune=G5 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -mabi=altivec -maltivec -pipe   -c -o fbset.o fbset.c
bison -d modes.y
flex modes.l
bison -d modes.y
gcc -Wall -O3 -mtune=G5 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -mabi=altivec -maltivec -pipe -I. -O3 -mtune=G5 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -mabi=altivec -maltivec -pipe   -c -o modes.tab.o modes.tab.c
gcc -Wall -O3 -mtune=G5 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -mabi=altivec -maltivec -pipe -I. -O3 -mtune=G5 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -mabi=altivec -maltivec -pipe   -c -o lex.yy.o lex.yy.c
modes.tab.c:649:12: warning: no newline at end of file
modes.tab.c:649:1: unterminated #if
modes.y:34: warning: 'ClearVideoMode' defined but not used
make: *** [modes.tab.o] Error 1
make: *** Waiting for unfinished jobs....
lex.yy.c:1103: warning: 'yyunput' defined but not used

!!! ERROR: sys-apps/fbset-2.1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failed
Comment 2 SpanKY gentoo-dev 2004-10-19 06:39:35 UTC
guess pieter fix this just didnt close the bug