gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Build error on Ubuntu 14.04 32 bit


From: Georg Lokowandt
Subject: Re: [Gm2] Build error on Ubuntu 14.04 32 bit
Date: Thu, 8 Jun 2017 00:35:47 +0200

Hello Michael,

have you tried options -v and -save-temps to the pre-compiled gm2?  "-v"
will give you some debug-output while "-save-temps" will keep the
makefile which is generated on the fly. Both might be helpful in
debugging.

Hope this helps, Georg

Am Mon, 5 Jun 2017 10:27:32 +0200
schrieb Michael Riedl <address@hidden>:

> 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




reply via email to

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