egcs bug - who can I send it to ?
Hi !
I've got a problem compiling the latest snapshot of crystal space on Linux/PPC. The same archive compiles on my 486 (after some small fixes).
The RPMS I installed didn't have a "mail me for bugs" address.
Is this a known bug ?
util/gfx/gifimage.cpp: In method `ImageGifFile::ImageGifFile(UByte *, long int)':
util/gfx/gifimage.cpp:383: internal error--unrecognizable insn:
(insn 3958 3955 54 (set (mem:SI (plus:SI (reg:SI 18 r18)
(const_int 65536)))
(reg:SI 19 r19)) -1 (insn_list 3621 (insn_list 3955 (nil)))
(nil))toplev.c:1360: Internal compiler error in function fatal_insn make[1]: *** [out/LINUX/X11_o/util/gfx/gifimage.o] Error 1
make: *** [cs] Error 2
Jens
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 12 lines · Jens Ch. Restemeier
I've got a problem compiling the latest snapshot of crystal space on Linux/PPC. The same archive compiles on my 486 (after some small fixes).
The RPMS I installed didn't have a "mail me for bugs" address.
Is this a known bug ?
util/gfx/gifimage.cpp: In method `ImageGifFile::ImageGifFile(UByte *, long int)':
util/gfx/gifimage.cpp:383: internal error--unrecognizable insn:
(insn 3958 3955 54 (set (mem:SI (plus:SI (reg:SI 18 r18)
Quoted 6 lines
(const_int 65536))) (reg:SI 19 r19)) -1 (insn_list 3621 (insn_list 3955 (nil))) (nil))toplev.c:1360: Internal compiler error in function
fatal_insnmake[1]: *** [out/LINUX/X11_o/util/gfx/gifimage.o] Error 1
make: *** [cs] Error 2
I think "internal compiler errors" are usually due to an optimization setting that's to high. Look for a -O switch in your Makefile, and set it to 2 or below (-O2, -O1, or -O0).
-Hollis
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Which release of EGCS are you running? You do not provide any
information about the compiler, but I suspect that this is fixed in egcs-1.1.1.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 4 lines · David Edelsohn
Which release of EGCS are you running? You do not provide any
information about the compiler, but I suspect that this is fixed in egcs-1.1.1.
Whoops, it's egcs-2.91.57. Does this help ?
Jens
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Hollis R Blanchard writes:
Hollis> I think "internal compiler errors" are usually due to an optimization setting Hollis> that's to high. Look for a -O switch in your Makefile, and set it to 2 or Hollis> below (-O2, -O1, or -O0).
Sorry, this is incorrect. These errors may only OCCUR when
optimizing, but it is not DUE to optimizing. EGCS ignores any optimization levels higher than -O3. EGCS is not pgcc, so please do not try to apply pgcc/Linux on Intel knowledge.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Jens Ch Restemeier" writes:
Jens> Whoops, it's egcs-2.91.57. Does this help ?
I believe that egcs-1.1.1 reports itself as egcs-2.91.60: gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
There was a PowerPC address generation bug which was fixed just before egcs-1.1.1 was released and it might address your problem. There is no way for me to advise about developer interim snapshots.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]