This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/14594] New: 3.4.0 make profiledbootstrap fails on MinGW/MSYS
- From: "stl at caltech dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2004 05:19:17 -0000
- Subject: [Bug bootstrap/14594] New: 3.4.0 make profiledbootstrap fails on MinGW/MSYS
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Using gcc-3.4-20040310 with the patch given in PR12974 on MinGW/MSYS, make
bootstrap succeeds, but make profiledbootstrap fails with:
make[2]: Entering directory `/c/temp/gcc/build/gcc'
stage1/xgcc.exe -Bstage1/ -B/c/temp/gcc/dest/i686-pc-mingw32/bin/ -c -g -O2 -
fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -
DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../src/gcc -I../../src/gcc/. -
I../../src/gcc/../include ../../src/gcc/genmodes.c -o genmodes.o
stage1/xgcc.exe -Bstage1/ -B/c/temp/gcc/dest/i686-pc-mingw32/bin/ -c -g -O2 -
fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -
DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../src/gcc -I../../src/gcc/. -
I../../src/gcc/../include ../../src/gcc/errors.c -o errors.o
stage1/xgcc.exe -Bstage1/ -B/c/temp/gcc/dest/i686-pc-mingw32/bin/ -g -O2 -
fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -
DHAVE_CONFIG_H -DGENERATOR_FILE -o genmodes.exe \
genmodes.o errors.o ../libiberty/libiberty.a
stage1/libgcov.a(_gcov.o)(.text+0x963): In function `gcov_exit':
c:/temp/gcc/build/gcc/../../src/gcc/gcov-io.h:590: undefined reference to
`ftruncate'
make[2]: *** [genmodes.exe] Error 1
make[2]: Leaving directory `/c/temp/gcc/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/c/temp/gcc/build/gcc'
make: *** [profiledbootstrap] Error 2
--
Summary: 3.4.0 make profiledbootstrap fails on MinGW/MSYS
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stl at caltech dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14594