java clobbering of %ebx

Gregory Davis gregdavis at
Thu Oct 21 20:25:54 PDT 2004

Okay.  WTF?  I had lots of problems compiling stuff with gcc-3.4.0, and
thought upgrading to 3.4.2 would solve this, but it didn't.  When compiling
java, I get the error below.  I think it's just another instance of new gcc
being more strict on standard adherence, but how is this resolved?  Note,
this is just 3 lines after the inline_asm patch, but not the exact same
affected line.  Has anyone succeeded in compiling java with a gcc 3.4?  I
just want to hear someone say they have, so that I will be convinced that I
should shut up.


In function `jboolean JVM_CX8Field(JNIEnv*, _jobject*, _jfieldID*, jlong,
error: PIC register `%ebx' clobbered in `asm'
make[3]: *** [jvm.o] Error 1
make[3]: Leaving directory
make[2]: *** [the_vm] Error 2
make[2]: Leaving directory
make[1]: *** [product] Error 2
make[1]: Leaving directory
make: *** [product] Error 2

More information about the blfs-support mailing list