public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/5948: gcc emits .quad on Solaris 8/Intel, not recognized by native as
Date: Wed, 13 Mar 2002 12:56:00 -0000	[thread overview]
Message-ID: <15503.48316.148008.527475@xayide.TechFak.Uni-Bielefeld.DE> (raw)


>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:


             reply	other threads:[~2002-03-13 20:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13 12:56 Rainer Orth [this message]
2002-03-21  9:09 tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15503.48316.148008.527475@xayide.TechFak.Uni-Bielefeld.DE \
    --to=ro@techfak.uni-bielefeld.de \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).