Path: utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!UUNET.UU.NET!mcvax!moncam!paul From: mcvax!moncam!paul@UUNET.UU.NET (Paul Hudson) Newsgroups: gnu.gcc.bug Subject: bug in sparc gcc 1.28 (really SUN's problem :-)) Message-ID: <8810031404.AA21915@marvin.moncam.uucp> Date: 3 Oct 88 14:04:41 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 The sparc assembler limits strings to 2048 characters. This is about half the corresponding limit on the SUN-3. Compiling code including sunview header files with -g results in a .stabs string that is longer than this. I don't know enough about gdb's format to know whether this can be split. SUN say the assembler will be changed some time, but this doesn't seem to mean soon. Any sign of gas for the sparc? Is there a definitive list of changes to get gcc1.28 working on the sparc? I've got it to the stage where it compiles itself, but some of my code provokes signal 6 and 11. Changes I made were to cast the offending 0 to (tree)0 as discussed by others, and patch output-sparc.h as given by Dean Long. If the signal stuff is not fixed and it will help, I'll post the offending code. Paul Hudson Snail mail: Monotype ADG Email: ...!ukc!acorn!moncam!paul Science Park, paul@moncam.co.uk Milton Road, "Sun Microsysytems: Cambridge, The Company is Arrogant (TM)" CB4 4FQ