gm2
[Top][All Lists]
Advanced

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

[Gm2] build fails under cygwin.


From: Mark
Subject: [Gm2] build fails under cygwin.
Date: Thu, 26 Nov 2009 13:11:15 +0100
User-agent: XS4ALL Webmail

Hello,

When I build the latest version (gcc-4.1.2+gm2-20091117.tar.gz) on windows
XP and cygwin the build fails. 

I get the following error for file
gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs/RTint.mod:
./xgm2 -fcheck-all -g  -funbounded-by-reference -fpim -fextended-opaque
-Wpedantic-cast -Wpedantic-param-names -ffunction-sections -fdata-sections
-c -B./stage1/gm2  -g -gdwarf-2 -B./
-I../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-compiler
-Igm2/gm2-libs:../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs
../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs/RTint.mod -o
gm2/gm2-libs/RTint.o
../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs/RTint.mod:0: warning:
-ffunction-sections may affect debugging on some targets
Internal error: Segmentation fault
Please report this crash to the GNU Modula-2 mailing list <address@hidden>
make[2]: *** [gm2/gm2-libs/RTint.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and
Settings/mark.horsthuis/modula2/build-20091117/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/cygdrive/c/Documents and
Settings/mark.horsthuis/modula2/build-20091117'
make: *** [all] Error 2

When I remove the debug information options (-g and -gdwarf-2) the build
is ok.

./xgm2 -fcheck-all  -funbounded-by-reference -fpim -fextended-opaque
-Wpedantic-cast -Wpedantic-param-names -ffunction-sections -fdata-sections
-c -B./stage1/gm2  -B./ -I../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-compiler
-Igm2/gm2-libs:../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs
../../gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs/RTint.mod -o
gm2/gm2-libs/RTint.o

The following files have similar compilation problems:
gcc-4.1.2+gm2-20091117/gcc/gm2/gm2-libs-iso/RndFile.mod
gcc-4.1.2+gm2-20091117/gcc/gm2/ulm-lib-gm2/std/StdIO.mod

Any idea what the problem is?

Mark






reply via email to

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