I suggest you either re-install Ubuntu or use google with the search terms “undefined reference to `_Unwind_GetIPInfo'” to find a possible solution to your problem as this could be a library version problem.
I just did a clean 32 bit install of Ubuntu 14.4 LTS, installed g++ and then did a complete build of gm 1.2.0 without errors.
gm2-check is currently running.
Regards
Ernst
From: gm2 [mailto:address@hidden On Behalf Of Michael Riedl
Sent: Montag, 5. Juni 2017 10:28
To: address@hidden
Subject: [Gm2] Build error on Ubuntu 14.04 32 bit
Hallo,
just wanted to compile the actual stable release of gcc 5.2.0 / gm2 1.2.0 but I get the following errors
ke[3]: Leaving directory `/home/mriedl/Compiler/Modula-2/GNU/build/libdecnumber'
make[3]: Entering directory `/home/mriedl/Compiler/Modula-2/GNU/build/gcc'
g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genmatch \
build/genmatch.o ../build-i686-pc-linux-gnu/libcpp/libcpp.a build/errors.o build/vec.o build/hash-table.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a
/opt/gm2/lib/libstdc++.a(eh_personality.o): In function `__gxx_personality_v0':
(.text.__gxx_personality_v0+0x190): undefined reference to `_Unwind_GetIPInfo'
collect2: error: ld returned 1 exit status
make[3]: *** [build/genmatch] Error 1
make[3]: Leaving directory `/home/mriedl/Compiler/Modula-2/GNU/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/mriedl/Compiler/Modula-2/GNU/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/mriedl/Compiler/Modula-2/GNU/build'
make: *** [all] Error 2
Any ideas, maybe a missing installed package?
Unfortunately the pre-combiled (Debian package) compiler does not link the binaries always claiming not to find "modula-2".
address@hidden:~/Modula-2/Parallel/mpi/gm2$ make
gm2 -fonlylink -I. -fiso -flibs=iso -I /opt/gm2/lib/gcc/i586-linux-gnu/4.7.4/m2/iso -I /opt/gm2/lib/gcc/i586-linux-gnu/4.7.4/m2/pim -L /opt/gm2/libs -ffast-math -O0 -lgm2 -liso Integral.mod
/usr/bin/ld: cannot find modula-2: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Integral] Error 1
So I cannot use GM2 at all ;-(
Gruß
Michael