gcc-8.1.0 (gotools) build error: fsplit-stack on GNU/Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I'm trying to build gcc-8.1.0 but am getting the following error:

make[2]: Entering directory '/usr/src/gcc-build-8.1.0/gotools'
/usr/src/gcc-build-8.1.0/./gcc/gccgo -B/usr/src/gcc-build-8.1.0/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include   -g -O2 -I ../i686-pc-linux-gnu/libgo -static-libstdc++ -static-libgcc  -L ../i686-pc-linux-gnu/libgo -L ../i686-pc-linux-gnu/libgo/.libs -o go ../../gcc-8.1.0/gotools/../libgo/go/cmd/go/alldocs.go ../../gcc-8.1.0/gotools/../libgo/go/cmd/go/go11.go ../../gcc-8.1.0/gotools/../libgo/go/cmd/go/main.go ../i686-pc-linux-gnu/libgo/libgotool.a
go1: error: ʽ-fsplit-stack' currently only supported on GNU/Linux
go1: error: ʽ-fsplit-stack' is not supported by this compiler configuration
make[2]: *** [Makefile:748: go] Error 1
make[2]: Leaving directory '/usr/src/gcc-build-8.1.0/gotools'
make[1]: *** [Makefile:14870: all-gotools] Error 2
make[1]: Leaving directory '/usr/src/gcc-build-8.1.0'

The odd thing is, this is GNU/Linux.

Linux atr2 4.16.5 #1 SMP PREEMPT Sat Apr 28 17:55:18 EDT 2018 i686 GNU/Linux

The problem didn't occure building gcc-7.3.0, which is what I'm using to build gcc-8.1.0. Binutils, mpc, mpfr, and gmp all are recent as of a few days ago. My build line is thus:

../gcc-8.1.0/configure --prefix=/usr --enable-shared --enable-static --enable-libada --enable-libssp --enable-lto --enable-objc-gc --disable-werror --enable-__cxa_atexit --enable-gnu-indirect-function --enable-languages=ada,c,c++,fortran,go,lto,objc,obj-c++ --enable-initfini-array --with-system-zlib --with-isl=/usr --enable-plugin

There are no cflags of any type being set before the build. Is there a solution or workaround for this without omitting Go from the build languages?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux