Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10472 - Vegastrike fails to compile with GCC 2.95.3
Summary: Vegastrike fails to compile with GCC 2.95.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-09 03:59 UTC by Martin Larsen
Modified: 2002-11-11 01:18 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 Martin Larsen 2002-11-09 03:59:17 UTC
GCC is 2.95.3, CFLAGS = -march=i686 -O2 -pipe -fomit-frame-pointer 
-malign-functions=4 
 
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I ../../ -I../../boost/  -DHAVE_SDL=1 
-DSDL_WINDOWING=1     -DHAVE_AL=1   -I/usr/include/python2.2 -DHAVE_PYTHON=1     
-march=i686 -O2 -pipe -fomit-frame-pointer -malign-functions=4 -O2 -g -Wall  
-ffast-math -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 
-falign-functions=2 -I/usr/include/SDL -D_REENTRANT -c communication.cpp 
cc1plus: Invalid option `-falign-loops=2' 
cc1plus: Invalid option `-falign-jumps=2' 
cc1plus: Invalid option `-falign-functions=2' 
comm_ai.cpp: In function `void AllUnitsCloseAndEngage(Unit *, int)': 
comm_ai.cpp:69: warning: unused variable `class Vector loc' 
make[4]: *** [comm_ai.o] Error 1 
make[4]: *** Waiting for unfinished jobs.... 
cc1plus: Invalid option `-falign-loops=2' 
cc1plus: Invalid option `-falign-jumps=2' 
cc1plus: Invalid option `-falign-functions=2' 
communication.cpp: In method `int FSM::getCommMessageMood(int, float, float) 
const': 
communication.cpp:103: warning: unused variable `bool fitmood' 
communication.cpp:102: warning: unused variable `float bestchoice' 
make[4]: *** [communication.o] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/vegastrike-0.2.9.4/work/vegastrike/src/cmd/ai' 
make[3]: *** [all-recursive] Error 1 
 
Looks like something GCC3-specific to me. 
 
Btw: It also wouldn't configure against libpng-1.2.5. Looks like the problem 
mentioned in bug #9651. No problem with libpng-1.2.4
Comment 2 Martin Larsen 2002-11-11 01:18:17 UTC
Great, works for me. :-)