This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/5948: gcc emits .quad on Solaris 8/Intel, not recognized by native as
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: gcc-gnats at gcc dot gnu dot org
- Date: Wed, 13 Mar 2002 21:55:24 +0100 (MET)
- Subject: bootstrap/5948: gcc emits .quad on Solaris 8/Intel, not recognized by native as
>Number: 5948
>Category: bootstrap
>Synopsis: gcc emits .quad on Solaris 8/Intel, not recognized by native as
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Wed Mar 13 12:56:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Rainer Orth
>Release: 3.1 20020313 (prerelease)
>Organization:
Faculty of Technology, Bielefeld University
>Environment:
System: SunOS arenal 5.8 Generic_111920-01 i86pc i386 i86pc
Architecture: i86pc
host: i386-pc-solaris2.8
build: i386-pc-solaris2.8
target: i386-pc-solaris2.8
configured with: /vol/gnu/src/gcc/gcc-3.1-branch-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --enable-libgcj
>Description:
gcc fails to bootstrap with assembler errors on unwind-dw2-fde.c and
unwind-dw2.c. The following testcase, extracted from those files,
illustrates the probem:
or.i is:
typedef unsigned long long uint64_t;
typedef uint64_t upad64_t;
typedef struct {
upad64_t __pthread_once_pad[4];
} pthread_once_t;
typedef pthread_once_t __gthread_once_t;
static __gthread_once_t once_regsizes = {0, 0, 0, 0};
% ./xgcc -B./ -v -c or.i -save-temps
Reading specs from ./specs
Configured with: /vol/gnu/src/gcc/gcc-3.1-branch-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --enable-libgcj
Thread model: posix
gcc version 3.1 20020313 (prerelease)
./cc1 -fpreprocessed or.i -quiet -dumpbase or.i -version -o or.s
GNU CPP version 3.1 20020313 (prerelease) (cpplib) (i386 System V Release 4)
GNU C version 3.1 20020313 (prerelease) (i386-pc-solaris2.8)
compiled by GNU C version 3.0 20010425 (prerelease).
/usr/ccs/bin/as -V -Qy -s -o or.o or.s
as: Sun WorkShop 6 99/08/16
Assembler: or.i
"or.s", line 8 : Illegal mnemonic
"or.s", line 8 : Syntax error
"or.s", line 9 : Illegal mnemonic
"or.s", line 9 : Syntax error
"or.s", line 10 : Illegal mnemonic
"or.s", line 10 : Syntax error
"or.s", line 11 : Illegal mnemonic
"or.s", line 11 : Syntax error
or.s is:
.file "or.i"
.version "01.01"
.data
.align 32
.type once_regsizes,@object
.size once_regsizes,32
once_regsizes:
.quad 0
.quad 0
.quad 0
.quad 0
.ident "GCC: (GNU) 3.1 20020313 (prerelease)"
>How-To-Repeat:
Either bootstrap gcc or compile the above testcase.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: