gcc/g++ fails with internal compiler error in print_operand_address when compiling FLTK2 from cvs with --enable-shared option (adds -fPIC). Details: g++ -I.. -DFL_LIBRARY -fPIC -DFL_SHARED -g -Wall -I/usr/X11R6/include -fno-exceptions -c fl_vertex.cxx -o fl_vertex.shared.o fl_vertex.cxx: In function `void fl_push_matrix ()': fl_vertex.cxx:41: Internal compiler error in print_operand_address, at config/i386/i386.c:3404 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. The source used can be grabbed from http://carlthompson.net/fltk
Can you please rerun g++ with the above options and -save-temps -v options and post the resulting fl_vertex.ii file?
Sorry, I have already uninstalled the compiler.
Unfortunately, then, we can't do much to help you.
Well, you could ship compilers that work in your product! Furthermore, I _did_ point to where you can get the problematic source code so you can fix the problem without me doing part of the work for you! (I assume you are getting paid by Red Hat to fix these problems whereas I am not.)
All we ask is that you follow the bug reporting procedure that the compiler itself printed out; with the preprocessed source we can eliminate any possible dependencies on other system variables. In any case, I can't reproduce it with gcc-2.96-65, so I can only assume it's fixed in the currently available rawhide package.