This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: native cc re-used after 3-stage now


 > From: Robert Lipe <robertl@sco.com>
 > 
 > After yesterday's commit (Thank you, Philipp) the gcc directory now does
 > successfully complete a three-stage from native.  But there is a catch.
 > 
 > The top level make bootstrap goes all through the build of GCC itself,
 > then when it decides to move along, it goes BACK into the GCC directory
 > and decides to rebuild cpp.  Of course, it does this with native cc
 > which wont' work becuase many of the objects have been build with the
 > generated cc.  As another possible hint, it seems to be rerunning
 > fixincludes on each pass now.
 > 
 > Does anyone recognize this?
 > make[2]: Entering directory `/home2/negcs/gcc'
 > /bin/cc  -DIN_GCC    -g  -DHAVE_CONFIG_H  -o cpp cppmain.o \
 > intl.o libcpp.a obstack.o alloca.o  ./intl/libintl.a     ../libiberty/libiberty.a
 > Undefined                       first referenced
 >  symbol                             in file
 > __divdi3                            libcpp.a(cppexp.o)
 > __udivdi3                           libcpp.a(cppexp.o)
 > __umoddi3                           libcpp.a(cppexp.o)
 > __moddi3                            libcpp.a(cppexp.o)
 > UX:ld: ERROR: cpp: fatal error: Symbol referencing errors. No output written to cpp

Having used native cc for stage1, I can confirm I am seeing the same
problem on sunos4 and solaris2.7.

Relinking cpp also happened to me on x86-linux, but because I had used
the system's gcc for stage1, it found the libgcc.a symbols in the
system copy instead of the CVS copy.

Of course that's still wrong, but the build proceeded so people using
gcc for stage1 may not notice it.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]