public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/5888: Bootstrap stage 2/3 comparison failure gcc-3.0.4
@ 2002-03-08 11:06 nirkko
  0 siblings, 0 replies; only message in thread
From: nirkko @ 2002-03-08 11:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5888
>Category:       bootstrap
>Synopsis:       Bootstrap stage 2/3 comparison failure gcc-3.0.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 08 11:06:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     nirkko
>Release:        gcc-3.0.4
>Organization:
>Environment:
sun sparc solaris 2.6
>Description:
bootstrap comparison failure with gcc-3.0.4
(but not previous versions 3.0.1 and earlier 2.95, 2.8.1)
when using non-standard CFLAGS for bootstrap, which
include -O3. it seems that part of the compilation uses
the given non-standard flags incl -O3, others use -O2 anyway.
-O3 etc were never a problem in earlier versions.
output of comparison at end, see below (how-to-repeat)
>How-To-Repeat:
setenv CONFIG_SHELL /bin/ksh
setenv CCFLAGS "-Wall -fPIC -O3 -funroll-loops -msupersparc -Qn -Wa,-Qn  -fno-ident -fno-implicit-templates -s"
    $DIRSRC_BUILD/configure \
      --prefix=${DIR_PREFIX} --disable-shared \
      --enable-threads \
      --with-cpu=supersparc --enable-cpp \
      --enable-version-specific-runtime-libs \
      --disable-nls \
    && (  gmake CONFIG_SHELL=/bin/ksh \
               BOOT_CFLAGS="$CCFLAGS" \
               CFLAGS="$CCFLAGS" \
               LIBCFLAGS="$CCFLAGS" \
               LIBCXXFLAGS="$CCFLAGS -no-implicit-templates" \
               bootstrap \
       )

results in ( after 5 hr of correct compilation ):
Bootstrap comparison failure!
crtbegin.o differs
gcov.o differs
ggc-common.o differs
global.o differs
gmon.o differs
local-alloc.o differs
profile.o differs
toplev.o differs
gmake[1]: *** [compare] Error 1
gmake[1]: Leaving directory `/_mnt/hd2/package/gcc/gcc-3.0.4-static-bimbo2.6-obj/gcc'
gmake: *** [bootstrap] Error 2

assembler found is gas from binutils 2.11.2
linker is /usr/ccs/bin/ld
gcc to start bootstrap with is gcc-3.0.1
(created with same options, and always worked fine)
>Fix:
probably compilation with standard flags would work
(as has been reported for Solaris 2.6). However,
these same flags worked fine up to and including gcc-3.0.1
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-08 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-08 11:06 bootstrap/5888: Bootstrap stage 2/3 comparison failure gcc-3.0.4 nirkko

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