public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/5715: alpha-OSF - sends incorrect options to as.
@ 2002-02-17 13:06 tilps
0 siblings, 0 replies; 4+ messages in thread
From: tilps @ 2002-02-17 13:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 5715
>Category: target
>Synopsis: alpha-OSF - sends incorrect options to as.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 17 13:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: tilps@hotmail.com
>Release: 3.0.3
>Organization:
>Environment:
alphaev56-dec-osf4.0d
>Description:
gcc/config/alpha/osf.h
includes the line
#define ASM_SPEC "%{!mgas:-g %(asm_oldas)} -nocpp %{pg} -O0"
problems with this line include -O0 is sent when mgas is
selected - and gas doesnt support -O0
also -nocpp is Always sent - which is bad when the input file is .s - and needs cpp ... - prehaps gcc should be running cpp on .s - but I couldnt find anywhere that it was programmed to do so.
>How-To-Repeat:
compiling mozilla 0.9.8 - the xpcom/reflect/md/unix
running make causes gcc calls the OSF as - which core dumps because it cant handle the .s file which contains comments.
After installing gas to try and fix this - gcc just dies at assembly stage no matter what - since -O0 gets passed to as which gas doesnt understand.
>Fix:
modify the ASM_SPEC line to be more intelligent.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: target/5715: alpha-OSF - sends incorrect options to as.
@ 2002-03-29 6:06 Gareth Pearce
0 siblings, 0 replies; 4+ messages in thread
From: Gareth Pearce @ 2002-03-29 6:06 UTC (permalink / raw)
To: rth; +Cc: gcc-prs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
The following reply was made to PR target/5715; it has been noted by GNATS.
From: "Gareth Pearce" <tilps@hotmail.com>
To: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, tilps@hotmail.com, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: target/5715: alpha-OSF - sends incorrect options to as.
Date: Fri, 29 Mar 2002 14:01:45
>Synopsis: alpha-OSF - sends incorrect options to as.
>
>State-Changed-From-To: open->closed
>State-Changed-By: rth
>State-Changed-When: Thu Mar 28 23:22:18 2002
>State-Changed-Why:
> http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01945.html
>
> As for -nocpp, use foo.S or -x assembler-with-cpp.
I have indeed subsequently realised this, which prompted
target/6077: .s with -x assembler-with-cpp breaks mips-tfile
Regards,
Gareth
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: target/5715: alpha-OSF - sends incorrect options to as.
@ 2002-03-28 23:22 rth
0 siblings, 0 replies; 4+ messages in thread
From: rth @ 2002-03-28 23:22 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, rth, tilps
Synopsis: alpha-OSF - sends incorrect options to as.
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Thu Mar 28 23:22:18 2002
State-Changed-Why:
http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01945.html
As for -nocpp, use foo.S or -x assembler-with-cpp.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5715
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: target/5715: alpha-OSF - sends incorrect options to as.
@ 2002-03-28 22:27 rth
0 siblings, 0 replies; 4+ messages in thread
From: rth @ 2002-03-28 22:27 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rth, tilps
Synopsis: alpha-OSF - sends incorrect options to as.
Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: rth
Responsible-Changed-When: Thu Mar 28 22:27:29 2002
Responsible-Changed-Why:
.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5715
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-29 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-17 13:06 target/5715: alpha-OSF - sends incorrect options to as tilps
2002-03-28 22:27 rth
2002-03-28 23:22 rth
2002-03-29 6:06 Gareth Pearce
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).