gm2
[Top][All Lists]
Advanced

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

[Gm2] Gm2 Cygwin building problem


From: dw2
Subject: [Gm2] Gm2 Cygwin building problem
Date: Wed, 27 Jan 2016 20:23:09 +0000
User-agent: Roundcube Webmail/1.0.2

Hi Christoph,

/usr/include/stdlib.h:290:1: error: expected unqualified-id before ‘[’ token

I think you will find after preprocessing that line contains [[noreturn]] and it is not supported in gcc c++ 4.7.4.

I edited my stdlib.h (it requires admin rights). Line 290 in my file now reads:

_VOID _EXFUN(quick_exit,(int __status) _ATTRIBUTE ((__noreturn__)));

This is consistent with other uses of noreturn in the file.


Note once that is fixed I got stuck with another error (after 91 hours):

/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/./prev-gcc/g++ -B/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/./prev-gcc/ -B/prv/gm2/opt/i686-pc-cygwin/bin/ -nostdinc++ -B/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/prev-i686-pc-cygwin/libstdc++-v3/src/.libs -B/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/prev-i686-pc-cygwin/libstdc++-v3/include -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/libstdc++-v3/libsupc++ -L/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/prev-i686-pc-cygwin/libstdc++-v3/src/.libs -L/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs -c -g -I-I../../gm2/gcc-versionno/gcc/gm2 -Igm2 -I../../gm2/gcc-versionno/gcc/gm2/gm2-gcc -Igm2/gm2-gcc -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -fno-common -DHAVE_CONFIG_H -I. -Igm2 -I../../gm2/gcc-versionno/gcc -I../../gm2/gcc-versionno/gcc/gm2 -I../../gm2/gcc-versionno/gcc/../include -I../../gm2/gcc-versionno/gcc/../libcpp/include -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/./gmp -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/gmp -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/./mpfr -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/mpfr -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/mpc/src -I../../gm2/gcc-versionno/gcc/../libdecnumber -I../../gm2/gcc-versionno/gcc/../libdecnumber/bid -I../libdecnumber -I. -Igm2 -I../../gm2/gcc-versionno/gcc -I../../gm2/gcc-versionno/gcc/gm2 -I../../gm2/gcc-versionno/gcc/../include -I../../gm2/gcc-versionno/gcc/../libcpp/include -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/./gmp -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/gmp -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/build-0/./mpfr -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/mpfr -I/home/dean/prj/gcc/gcc-4.7.4+gm2-1.1.5/gm2/gcc-versionno/mpc/src -I../../gm2/gcc-versionno/gcc/../libdecnumber -I../../gm2/gcc-versionno/gcc/../libdecnumber/bid -I../libdecnumber ../../gm2/gcc-versionno/gcc/gm2/gm2-lang.c -o gm2/gm2-lang.o ../../gm2/gcc-versionno/gcc/gm2/gm2-lang.c: In function ‘tree_node* convert(tree, tree)’: ../../gm2/gcc-versionno/gcc/gm2/gm2-lang.c:866:52: error: ‘m2linemap_UnknownLocation’ was not declared in this scope ../../gm2/gcc-versionno/gcc/gm2/Make-lang.in:701: recipe for target 'gm2/gm2-lang.o' failed
make[4]: *** [gm2/gm2-lang.o] Error 1
make[4]: Leaving directory '/cygdrive/c/_work/gcc/gcc-4.7.4+gm2-1.1.5/build-0/gcc'
cp: cannot stat ‘stage1/gm2/cc1gm2.exe’: No such file or directory
../../gm2/gcc-versionno/gcc/gm2/Make-lang.in:575: recipe for target 'cc1gm2.exe' failed
make[3]: *** [cc1gm2.exe] Error 1
make[3]: Leaving directory '/cygdrive/c/_work/gcc/gcc-4.7.4+gm2-1.1.5/build-0/gcc'
Makefile:4174: recipe for target 'all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory '/cygdrive/c/_work/gcc/gcc-4.7.4+gm2-1.1.5/build-0'
Makefile:18431: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/cygdrive/c/_work/gcc/gcc-4.7.4+gm2-1.1.5/build-0'
Makefile:914: recipe for target 'all' failed
make: *** [all] Error 2

real    5475m54.237s
user    4918m42.400s
sys     78m48.174s

Somebody, please help.

Regards,
Dean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]