This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/37660] New: Error Building libssp, recent update
- From: "mckelvey at maskull dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2008 16:36:46 -0000
- Subject: [Bug bootstrap/37660] New: Error Building libssp, recent update
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ uname -a
CYGWIN_NT-5.1 MCKELVEY-XP 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
User@MCKELVEY-XP ~/cvsroot/gcc-obj
$ g++ -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /cygdrive/f/Home/cvsroot/gcc/configure --verbose
--enable-threads --disable-nls --disable-win32-registry
--enable-languages=c,c++
Thread model: posix
gcc version 4.4.0 20080826 (experimental) (GCC)
User@MCKELVEY-XP ~/cvsroot/gcc-obj
$ alias CONFIGURECVS
alias CONFIGURECVS='/cygdrive/f/Home/cvsroot/gcc/configure --verbose
--enable-threads --disable-nls --disable-win32-registry
--enable-languages=c,c++ 2>&1 | tee clog'
User@MCKELVEY-XP ~/cvsroot/gcc-obj
$ alias BUILD
alias BUILD='nice make CFLAGS='\'''\'' BOOT_CFLAGS='\'''\'' LIBCFLAGS='\''-g
-O'\'' CXXFLAGS='\''-O'\'' LIBCXXFLAGS='\''-g -O'\'' bootstrap 2>&1 |
tee log'
I believe this is in stage 3:
libtool: compile: /cygdrive/f/Home/cvsroot/gcc-obj/./gcc/xgcc
-B/cygdrive/f/Home/cvsroot/gcc-obj/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include
-isystem /usr/local/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I.
-I/cygdrive/f/Home/cvsroot/gcc/libssp -I. -Wall -g -O2 -MT vsprintf-chk.lo -MD
-MP -MF .deps/vsprintf-chk.Tpo -c
/cygdrive/f/Home/cvsroot/gcc/libssp/vsprintf-chk.c -o vsprintf-chk.o >/dev/null
2>&1
/bin/sh ./libtool --tag=CC --mode=link
/cygdrive/f/Home/cvsroot/gcc-obj/./gcc/xgcc
-B/cygdrive/f/Home/cvsroot/gcc-obj/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include
-isystem /usr/local/i686-pc-cygwin/sys-include -Wall -g -O2 -o libssp.la
-rpath /usr/local/lib -version-info `grep -v '^#'
/cygdrive/f/Home/cvsroot/gcc/libssp/libtool-version`
-Wl,--version-script=/cygdrive/f/Home/cvsroot/gcc/libssp/ssp.map -no-undefined
ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo mempcpy-chk.lo memset-chk.lo
snprintf-chk.lo sprintf-chk.lo stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo
strncat-chk.lo strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo
libtool: link: /cygdrive/f/Home/cvsroot/gcc-obj/./gcc/xgcc
-B/cygdrive/f/Home/cvsroot/gcc-obj/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include
-isystem /usr/local/i686-pc-cygwin/sys-include -shared .libs/ssp.o
.libs/gets-chk.o .libs/memcpy-chk.o .libs/memmove-chk.o .libs/mempcpy-chk.o
.libs/memset-chk.o .libs/snprintf-chk.o .libs/sprintf-chk.o .libs/stpcpy-chk.o
.libs/strcat-chk.o .libs/strcpy-chk.o .libs/strncat-chk.o .libs/strncpy-chk.o
.libs/vsnprintf-chk.o .libs/vsprintf-chk.o
-Wl,--version-script=/cygdrive/f/Home/cvsroot/gcc/libssp/ssp.map -o
.libs/cygssp-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
.libs/libssp.dll.a
Creating library file: .libs/libssp.dll.a.libs/ssp.o: In function `fail':
/cygdrive/f/Home/cvsroot/gcc/libssp/ssp.c:109: undefined reference to
`___chkstk'
.libs/gets-chk.o: In function `__gets_chk':
/cygdrive/f/Home/cvsroot/gcc/libssp/gets-chk.c:66: undefined reference to
`___chkstk'
collect2: ld returned 1 exit status
make[3]: *** [libssp.la] Error 1
make[3]: Leaving directory
`/cygdrive/f/Home/cvsroot/gcc-obj/i686-pc-cygwin/libssp'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/cygdrive/f/Home/cvsroot/gcc-obj/i686-pc-cygwin/libssp'
make[1]: *** [all-target-libssp] Error 2
make[1]: Leaving directory `/cygdrive/f/Home/cvsroot/gcc-obj'
make: *** [bootstrap] Error 2
--
Summary: Error Building libssp, recent update
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mckelvey at maskull dot com
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37660