[Bug java/48417] -ffixed-regs option can't work in mips-elf-gcj compiler

licheng.1212 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 3 15:43:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48417

--- Comment #2 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2011-04-03 15:43:45 UTC ---
(In reply to comment #1)
> You have to build the java runtime with -ffixed-reg also.
The runtime and all my project also have those options

export CFLAGS="-G0 -Wall -mabi=32 -msoft-float -mno-abicalls -march=xcpu
-mtune=xcpu -Wa,-march=xcpu,-mtune=xcpu -mips16 -EL -mexplicit-relocs
-falign-functions=16 -falign-jumps=16 -fweb -frename-registers -mmemcpy
-mmips-tfile -nostartfiles -nostdlib -nodefaultlibs -c -pipe -ffixed-t3
-ffixed-t4 -ffixed-t5 -ffixed-t6 -ffixed-t7 -ffixed-s2 -ffixed-s3 -ffixed-s4
-ffixed-s5 -ffixed-s6 -ffixed-s7 -ffixed-fp -minterlink-mips16
-ffunction-sections -fdata-sections -O0 -g"

export GCJFLAGS=${CFLAGS}



More information about the Gcc-bugs mailing list