This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/67546] New: bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c
- From: "rainer at emrich-ebersheim dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Sep 2015 06:21:13 +0000
- Subject: [Bug bootstrap/67546] New: bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546
Bug ID: 67546
Summary: bootstrap broken on x86_64-w64-mingw32, error:
'::unsetenv' has not been declared in gcc.c
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: rainer@emrich-ebersheim.de
Target Milestone: ---
Bootstrapping trunk revision 227528, native x86_64-w64-mingw32, I get:
g++ -std=gnu++98 -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"6.0.0\"
-DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-w64-mingw32\"
-DDEFAULT_TARGET_MACHINE=\"x86_64-w64-mingw32\"
-DSTANDARD_BINDIR_PREFIX=\"/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/bin/\"
-DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\"
-DTARGET_SYSTEM_ROOT=\"/x86_64-w64-trunk\" -DENABLE_SHARED_LIBGCC
-DCONFIGURE_SPECS="\"\"" -g -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -I. -I.
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/.
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/../include
-I./../intl
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/../libcpp/include
-I/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
-I/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
-I/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/../libdecnumber
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/../libdecnumber/bid
-I../libdecnumber
-I../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/../libbacktrace
-I/opt/devel/SCRATCH/tmp.xPutziWahX/install/include -o gcc.o -MT gcc.o -MMD
-MP -MF ./.deps/gcc.TPo
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/gcc.c
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/gcc.c: In
member function 'void env_manager::restore()':
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/gcc.c:154:2:
error: '::setenv' has not been declared
::setenv (item->m_key, item->m_value, 1);
^
../../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/gcc/gcc.c:156:2:
error: '::unsetenv' has not been declared
::unsetenv (item->m_key);
^
Makefile:1077: recipe for target 'gcc.o' failed
make[3]: *** [gcc.o] Error 1
make[3]: Leaving directory
'/opt/devel/SCRATCH/tmp.xPutziWahX/gcc-6.0.0/gcc-6.0.0/gcc'
Makefile:4379: recipe for target 'all-stage1-gcc' failed
configure:
../../../../../../opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/configure
--prefix=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0/bin/ld
--build=x86_64-w64-mingw32 --enable-threads=posix
--enable-languages=c,ada,c++,fortran,java,lto,objc,obj-c++
--with-gmp-include=/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
--with-gmp-lib=/opt/devel/SCRATCH/tmp.xPutziWahX/install/lib64
--with-mpfr-include=/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
--with-mpfr-lib=/opt/devel/SCRATCH/tmp.xPutziWahX/install/lib64
--with-mpc-include=/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
--with-mpc-lib=/opt/devel/SCRATCH/tmp.xPutziWahX/install/lib64
--with-isl-include=/opt/devel/SCRATCH/tmp.xPutziWahX/install/include
--with-isl-lib=/opt/devel/SCRATCH/tmp.xPutziWahX/install/lib64
--with-local-prefix=/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-6.0.0
--enable-libgomp --enable-fully-dynamic-string --disable-multilib
--enable-checking=release --disable-werror --with-sysroot=/x86_64-w64-trunk
Last known to work revision: 226966