public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/1963: collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"
@ 2003-04-16 21:12 ehrhardt
  0 siblings, 0 replies; 2+ messages in thread
From: ehrhardt @ 2003-04-16 21:12 UTC (permalink / raw)
  To: anonymous, gcc-bugs, gcc-prs, nobody

Old Synopsis: [Alpha] collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"
New Synopsis: collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"

State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Wed Apr 16 21:12:28 2003
State-Changed-Why:
    This still happens, the problem is not arch specific. IMHO -Wl, should
    not treat any following -o as an option to gcc.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1963


^ permalink raw reply	[flat|nested] 2+ messages in thread

* other/1963: collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"
@ 2001-04-01  0:00 anonymous
  0 siblings, 0 replies; 2+ messages in thread
From: anonymous @ 2001-04-01  0:00 UTC (permalink / raw)
  To: gcc-gnats

>Number:         1963
>Category:       other
>Synopsis:       collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 13 08:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ezra Peisach
>Release:        gcc 2.95.2 and latest snapshot
>Organization:
>Environment:
alpha-dec-osf4.0a
>Description:
If one passes -Wl,-oldstyle_liblookup to gcc
(in order to pass the option to ld),
collect2 interprets the option as specifying the 
output file.

i.e. "-ofoo" is the same as "-o foo"

In the latest snapshot, SWITCHES_NEED_SPACES can be defined
to prevent this problem,
>How-To-Repeat:
gcc -o foo -Wl,-oldstyle_liblookup foo.c
>Fix:
For 2.95 - without some recoding, nothing can be done,
for newer gcc's, define SWITCHES_NEED_SPACES "o" in
gcc/config/alpha/osf.h
>Release-Note:
>Audit-Trail:
>Unformatted:
 From: epeisach@zif.mit.edu
 Reply-To: epeisach@zif.mit.edu
 X-Send-Pr-Version: gnatsweb-2.6 (1.135)
 X-GNATS-Notify: 
 
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-16 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-16 21:12 other/1963: collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup" ehrhardt
  -- strict thread matches above, loose matches on Subject: below --
2001-04-01  0:00 anonymous

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).