This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.0.1 generates invalid assembler (undefined label) on sparc


Hi, I didn't get any response on this bug.

Now I have upgraded gcc to version 3.0.3, and I just want to tell you
that the bug is still there.

Best regards,
/Niels

nisse@sture.lysator.liu.se (Niels Möller) writes:

> I tried compiling mozilla on sparc-linux, with
> crypto-stuff enabled. Compilation crashed at the assembly stage, with
> the message
> 
> {standard input}: Assembler messages:
> {standard input}:696: Error: undefined symbol .LL280 in operation
> 
> I added -save-temps to the compilation flags to be able to look
> further. The generated assembler file contains
> 
> 	bgu	.LL289
> 	cmp	%l0, 0
> 	sethi	%hi(_GLOBAL_OFFSET_TABLE_-(.LL280-.)), %o0  ! [line 696]
> 	st	%i2, [%i0+12]
> 	call	SECOID_FindOIDByTag, 0
> 
> That is the only occurance of the label ".LL280" in the file. I'm
> using a Sparc Station 4 running Debian GNU/Linux, and a gcc-3.0.1 I
> compiled from source with no special configure flags a while back.
> Version numbers:
> 
>   $ gcc --version
>   3.0.1
>   $ uname -a
>   Linux cuckoo 2.2.19 #1 Mon Apr 2 13:29:46 EDT 2001 sparc unknown
> 
> Compilation command:
> 
> gcc -save-temps -c -O2 -fPIC -DLINUX1_2 -D_XOPEN_SOURCE -DLINUX2_1
> -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE
> -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT
> -I/home/nisse/hack/mozilla/dist/include
> -I../../../../dist/public/security -I../../../../dist/private/security
> -I../../../../dist/include
> -I/home/nisse/hack/mozilla/dist/include/nspr
> -I/home/nisse/hack/mozilla/dist/include/dbm
> -I../../../../dist/public/security -I../../../../dist/public/dbm
> p12e.c
> 
> I append the preprocessed source file (which is rather big).
> 
> Regards,
> /Niels
> 
> --------------8<---- p12e.i ---8<--------
> # 34 "p12e.c"
> # 1 "../../../../dist/private/security/nssrenam.h" 1

[ No, I'm not sending this huge file again. Get it from my previous
  mail, or from http://www.lysator.liu.se/~nisse/misc/p12e.i. /Niels ]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]