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: Gaius Mulley
Subject: Re: [Gm2] Build error on Ubuntu 14.04 32 bit
Date: Mon, 05 Jun 2017 15:51:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Michael Riedl <address@hidden> writes:

> 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

Hello Michael,

not sure what is going on here - but have you tried building and
installing c,c++ from the 5.2.0 tree and then bootstrapping gm2 using
5.2.0 gcc,g++ ?

regards,
Gaius





reply via email to

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