Okay folks,

If you look in "configure.in", you will notice that the highest optimization
level selected will be -O2.  This is despite the fact that some of the GCC's
actually support -O3.

What's the problem?

Well, in short, it's the PIC assembler code.  Apparently, with GCC 2.7.0, you
need "local labels" in the code ("1: xxx; jmp 1").  The folks who've submitted
the patches claim this works.

I am using GCC 2.6.3 and can say from experience that this does not work for
me.  Trying it causes nice trap 0x0e's in the PIC code.  Using the -O3 option
doesn't work either because the labels are duplicated twice.  I have tried
lots of different possibilities to get this to work and have been entirely
unsuccessful.  If someone can come up with a solution that works with
GCC 2.5.8, 2.6.x, and 2.7.x, I'd love to see it.  Until then, I'd just assume
leave the code as it is and the optimizations at -O2.  Sorry!

The other option would be to put a special 'pic-only' declaration in the
Makefile.  I don't like this option, but if it's the only way to go...

Reactions?

