This is the mail archive of the gcc-prs@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]

target/2119: Boostrap fails with i686-pc-solaris2.7 where i386-pc-solaris2.7 works.



>Number:         2119
>Category:       target
>Synopsis:       Boostrap fails with i686-pc-solaris2.7 where i386-pc-solaris2.7 works.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 27 09:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mathias Froehlich
>Release:        gcc version 3.0 20010227 (prerelease)
>Organization:
>Environment:
Solaris_x86 7, PentiumIII
>Description:
Bootstrapping gcc configured with
./configure --host=i686-pc-solaris2.7
aborts with

[...]
gmake[2]: [objc.stage1] Error 2 (ignored)
gmake[2]: Leaving directory `/tmp/gcc/gcc'
touch stage1_copy
echo stage2_build > stage_last
gmake CC="stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-solaris2.7/bin/" \
         STAGE_PREFIX=stage1/ \
         CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/local/lib LANGUAGES="c gcov c++ f77 objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
gmake[2]: Entering directory `/tmp/gcc/gcc'
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-solaris2.7/bin/ -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./. -I./config -I./../include ./gengenrtl.c
rm -f obstack.c
ln -s ./../libiberty/obstack.c obstack.c
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-solaris2.7/bin/ -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./. -I./config -I./../include \
        obstack.c -o obstack.o
rm -f alloca.c
ln -s ./../libiberty/alloca.c alloca.c
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-solaris2.7/bin/  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./. -I./config -I./../include \
 -c alloca.c
true
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-solaris2.7/bin/  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
Undefined                       first referenced
 symbol                             in file
.LPR0                               stage1/crtbegin.o
ld: fatal: Symbol referencing errors. No output written to gengenrtl
collect2: ld returned 1 exit status
gmake[2]: *** [gengenrtl] Error 1
gmake[2]: Leaving directory `/tmp/gcc/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/tmp/gcc/gcc'
gmake: *** [bootstrap] Error 2


whereas bootstrapping gcc configured with
./configure --host=i386-pc-solaris2.7
passes bootstrap.
>How-To-Repeat:

>Fix:

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


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