Can't compile egcs on sgi (long)

Gilles Zunino Gilles.Zunino@hei.fupl.asso.fr
Wed May 5 09:03:00 GMT 1999


Tom Tromey <tromey@cygnus.com> wrote


> Jonah> c++ -DHAVE_CONFIG_H -I. -I../../../../libjava -I./include -Iinclude
> Jonah> [ snipped ]
> Jonah> ../../../../libjava/java/lang/natMath.cc:241: internal
> Jonah> error--unrecognizable insn:
> Jonah> (insn 202 201 134 (set:DF (reg:DF 103)
> Jonah>         (if_then_else:DF (eq (reg:DI 115)
> Jonah>                 (const_int 0 [0x0]))
> Jonah>             (reg/v:DF 82)
> Jonah>             (reg/v:DF 81))) -1 (insn_list 201 (nil))
> Jonah>     (expr_list:REG_DEAD (reg:DI 115)
> Jonah>         (expr_list:REG_DEAD (reg/v:DF 82)
> Jonah>             (expr_list:REG_DEAD (reg/v:DF 81)
> Jonah>                 (nil)))))

	This bug appears to affect only mabi=64 version of the library.
	A quick and dirty workaround to this bug is to change CFLAGS from	
	-g -O2 to -g only. You will not have optimisations but it will
	compile for mabi=64.
_________________________________________________________________
Gilles Zunino - (Gilles.Zunino@hei.fupl.asso.fr)   (A 506)  7636

HEI, 13 rue de Toul, 59 046 LILLE CEDEX FRANCE
Phone : (+33) 3 28.38.48.58  Fax : (+33) 3 28.38.48.04


More information about the Java mailing list