Hi H.J., I tried your patch on powerpc64le-linux-gnu, and it fails to bootstrap as follows:
> g++ -std=c++98 -c -g -DIN_GCC -fno-exceptions -fno-rtti > -fasynchronous-unwi > nd-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format > -Wmiss > ing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long > -Wno-variadic > -macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE > @N > O_PIE_CFLAGS@ -I. -Ibuild -I/home/wschmidt/gcc/gcc-mainline-test/gcc > -I/home/wsc > hmidt/gcc/gcc-mainline-test/gcc/build > -I/home/wschmidt/gcc/gcc-mainline-test/gcc > /../include -I/home/wschmidt/gcc/gcc-mainline-test/gcc/../libcpp/include \ > -DBASEVER="\"6.0.0\"" -DDATESTAMP="\" 20150526\"" \ > -DREVISION="\" [trunk revision 223719]\"" \ > -DDEVPHASE="\" (experimental)\"" -DPKGVERSION="\"(GCC) \"" \ > -DBUGURL="\"<http://gcc.gnu.org/bugs.html>\"" -o build/version.o > /home/wschmidt/gcc/gcc-mainline-test/gcc/version.c > g++: error: @NO_PIE_CFLAGS@: No such file or directory > make[3]: *** [build/version.o] Error 1 Thanks, Bill On Fri, 2015-05-22 at 08:18 -0700, H.J. Lu wrote: > I fixed a typo in gcc/config/openbsd.h. Here is the updated patch. The whole > patch is also on hjl/pie/master branch in GCC git mirror. >