This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Breakage with "[v3] patch, configuring GCC --disable-libgomp causes libstdc++ abi check to fail."


> MIME-Version: 1.0
> From: Benjamin De Kosnik <bkoz@redhat.com>
> Date: Fri, 28 Sep 2012 22:02:46 +0200

> There's no reason for this unintentional  ABI breakage with this
> configure flag.

> 2012-09-28  Benjamin Kosnik  <bkoz@redhat.com>
> 
> 	  * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL.
> 	  * include/Makefile.am: Same.
> 	  * src/c++98/Makefile.am: Same.
> 	  * src/Makefile.am: Same.
> 	  * Makefile.in: Regenerated.
> 	  * aclocal.m4: Same.
> 	  * configure: Same.
> 	  * doc/Makefile.in: Same.
> 	  * include/Makefile.in: Same.
> 	  * libsupc++/Makefile.in: Same.
> 	  * po/Makefile.in: Same.
> 	  * python/Makefile.in: Same.
> 	  * src/Makefile.in: Same.
> 	  * testsuite/Makefile.in: Same.
> 	  * src/c++11/Makefile.in: Same.
> 	  * src/c++98/Makefile.in: Same.

Something went wrong and the target compiler is now wrongly
assumed to unconditionally understand -pthread.  For cris-elf:

libtool: compile:  /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc -shared-libgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc -nostdinc++ -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/src -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/src/.libs -nostdinc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys -L/tmp/hpautotest-gcc1/gcc/libgloss/cris -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/ -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include -I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/../libgcc -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/cris-elf
  -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include -I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=parallel_settings.lo -g -O2 -fopenmp -D_GLIBCXX_PARALLEL -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/../libgomp -c /tmp/hpautotest-gcc1/gcc/libstdc++-v3/src/c++98/parallel_settings.cc -o parallel_settings.o
xgcc: error: unrecognized command line option '-pthread'

brgds, H-P


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