Article View: gnu.g++.bug
Article #375Re: latest g++ test release fails to build on Sequent Symmetry (386)
From: Doug Schmidt
Date: Thu, 24 Aug 1989 23:54
Date: Thu, 24 Aug 1989 23:54
63 lines
3177 bytes
3177 bytes
In article <8908242228.AA02310@prism.gatech.edu>, scott%prism (Scott Holt) writes:
>
>I am attempting to build the latest test release of g++ obtained from
>yahi.stanford.edu on 8/24 at around 2:00. The version of gcc being used
>is 1.35.96, also obtained from yahi.stanford.edu.
>
>The problem occurs in attempting to link cc1plus. ld++ aborts with the
>following error:
>
> unex-addr.c:7: Undefined symobol start referenced from text.
>
This will be a recurring problem until Michael gets all the #ifdef's
necessary to make the unexec feature work on machines other than
Sun 4's. For now, you might try the following patches:
*** cplus-lex.c~ Thu Aug 24 16:51:21 1989
--- cplus-lex.c Thu Aug 24 13:44:09 1989
***************
*** 1378,1384 ****
--- 1378,1386 ----
else
strcpy (previous_asm_file_name, "/dev/null");
printf ("\nDumping %s to %s...\n", dump_source_name, dump_file_name);
+ #ifndef HAVE_UNEXEC
unexec (dump_file_name, dump_source_name, &my_edata, 0, 0);
+ #endif
longjmp (toplevel, 1);
}
}
*** Makefile.~1~ Wed Aug 23 23:37:09 1989
--- Makefile Thu Aug 24 16:52:18 1989
***************
*** 292,300 ****
LDFLAGS = -X
cc1plus: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS) unex-addr.o unexec.o lastfile.o
! # $(CC) $(CFLAGS) $(LDFLAGS) -o cc1plus $(CPLUS_OBJS) $(OBJS) $(LIBS)
! ld++ -C $(LDFLAGS) -o cc1plus crt0+.o $(CPLUS_OBJS) $(OBJS) \
! unex-addr.o unexec.o lastfile.o $(libdir)/gcc-gnulib $(LIBS) -lc
cplus-decl.o : cplus-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h cplus-parse.h
cplus-typeck.o : cplus-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
--- 292,300 ----
LDFLAGS = -X
cc1plus: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS) unex-addr.o unexec.o lastfile.o
! $(CC) $(CFLAGS) $(LDFLAGS) -o cc1plus $(CPLUS_OBJS) $(OBJS) $(LIBS)
! # ld++ -C $(LDFLAGS) -o cc1plus crt0+.o $(CPLUS_OBJS) $(OBJS) \
! # unex-addr.o unexec.o lastfile.o $(libdir)/gcc-gnulib $(LIBS) -lc
cplus-decl.o : cplus-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h cplus-parse.h
cplus-typeck.o : cplus-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
----------------------------------------
This ought to hold you until things are more complete!
Doug
--
schmidt@ics.uci.edu (ARPA) | Per me si va nella citta' dolente.
office: (714) 856-4043 | Per me si va nell'eterno dolore.
| Per me si va tra la perduta gente.
| Lasciate ogni speranza o voi ch'entrate.
Technical Details
Message-ID:
<21600@paris.ics.uci.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!usc!orion.cf.uci.edu!uci-ics!schmidt@zola.ics.uci.eduReferences:
<8908242228.AA02310@prism.gatech.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!usc!orion.cf.uci.edu!uci-ics!schmidt@zola.ics.uci.edu From: schmidt@zola.ics.uci.edu (Doug Schmidt) Newsgroups: gnu.g++.bug Subject: Re: latest g++ test release fails to build on Sequent Symmetry (386) Message-ID: <21600@paris.ics.uci.edu> Date: 24 Aug 89 23:54:55 GMT Article-I.D.: paris.21600 References: <8908242228.AA02310@prism.gatech.edu> Sender: news@paris.ics.uci.edu Reply-To: schmidt@zola.ics.uci.edu (Doug Schmidt) Distribution: gnu Organization: University of California, Irvine - Dept of ICS Lines: 63 In-reply-to: scott%prism@GATECH.EDU (Scott Holt)