public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/6592: gcc-3.0.4 bootstrap fails to link cpp0 together
@ 2002-05-07  7:49 neil
  0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2002-05-07  7:49 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, sdack

Synopsis: gcc-3.0.4 bootstrap fails to link cpp0 together

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Tue May  7 07:49:14 2002
State-Changed-Why:
    This was fixed by me in a recent patch for 3.2.  3.1 and 3.0
    will have this problem because cpp0 is not integrated into
    the compiler.  This cannot easily be fixed there.
    
    The __GXX_WEAK__ stuff in cppinit.c is causing it.  If you
    can get away without that being defined correctly (it
    depends on command line options, which is the problem here) you should remove the relevant lines, or hard-code the setting, and then it should link.
    
    Neil.

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


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

* bootstrap/6592: gcc-3.0.4 bootstrap fails to link cpp0 together
@ 2002-05-07  6:56 sdack
  0 siblings, 0 replies; 2+ messages in thread
From: sdack @ 2002-05-07  6:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6592
>Category:       bootstrap
>Synopsis:       gcc-3.0.4 bootstrap fails to link cpp0 together
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 07 06:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sven Dack
>Release:        gcc-3.0.4
>Organization:
>Environment:
m88k-motorola-sysv4
>Description:
Trying to bootstrap gcc-3.0.4 on a Motorola m88k box with plain SVR4 causes the compiler to give up at building cpp0 since cppinit.o references 'target_flags' but it doesn't get linked in.

Trying to fix it myself with linking the rtlanal.o and later the $(BACKEND) stuff into it, didn't work.

It must be picking up the symbol's reference from some of the includes which doesn't make much sense to me since this is just the preprocessor!?
>How-To-Repeat:
mkdir objdir; cd objdir
../gcc-3.0.4/configure --prefix=/MCM/gnu --enable-languages=c
gmake CFLAGS="-O" LIBCFLAGS="-O" BOOT_CFLAGS="-O2" bootstrap
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-05-07 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-07  7:49 bootstrap/6592: gcc-3.0.4 bootstrap fails to link cpp0 together neil
  -- strict thread matches above, loose matches on Subject: below --
2002-05-07  6:56 sdack

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