This is the mail archive of the 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 <>
> 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  <>
> 	  * include/ Same.
> 	  * src/c++98/ Same.
> 	  * src/ Same.
> 	  * Regenerated.
> 	  * aclocal.m4: Same.
> 	  * configure: Same.
> 	  * doc/ Same.
> 	  * include/ Same.
> 	  * libsupc++/ Same.
> 	  * po/ Same.
> 	  * python/ Same.
> 	  * src/ Same.
> 	  * testsuite/ Same.
> 	  * src/c++11/ Same.
> 	  * src/c++98/ 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/ -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]