gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] updated documentation with additional info on prerequisites


From: Yves Cloutier
Subject: Re: [Gm2] updated documentation with additional info on prerequisites
Date: Thu, 8 Nov 2018 13:11:22 -0500

Unfortunately no this is still not working for me, although now I get different errors:

make[2]: Entering directory '/home/drifter/dev/build-8.2.0/lto-plugin'
make  all-am
make[3]: Entering directory '/home/drifter/dev/build-8.2.0/lto-plugin'
/bin/sh ./libtool --tag=CC --tag=disable-static  --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/lto-plugin  -I../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/lto-plugin/../include -DHAVE_CONFIG_H  -Wall -g -c -o lto-plugin.lo ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/lto-plugin/lto-plugin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/lto-plugin -I../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/lto-plugin/../include -DHAVE_CONFIG_H -Wall -g -c ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/lto-plugin/lto-plugin.c  -fPIC -DPIC -o .libs/lto-plugin.o
/bin/sh ./libtool --tag=CC --tag=disable-static  --mode=link gcc -Wall -g -Wc,-static-libgcc  -module -bindir /home/drifter/opt/lib/gcc/x86_64-pc-linux-gnu/8.2.0    -Xcompiler '-static-libstdc++' -Xcompiler '-static-libgcc' -o liblto_plugin.la -rpath /home/drifter/opt/lib/gcc/x86_64-pc-linux-gnu/8.2.0 lto-plugin.lo  -Wc,../libiberty/pic/libiberty.a
libtool: link: gcc -shared  -fPIC -DPIC  .libs/lto-plugin.o    -static-libgcc -static-libstdc++ -static-libgcc ../libiberty/pic/libiberty.a   -Wl,-soname -Wl,liblto_plugin.so.0 -o .libs/liblto_plugin.so.0.0.0
libtool: link: (cd ".libs" && rm -f "liblto_plugin.so.0" && ln -s "liblto_plugin.so.0.0.0" "liblto_plugin.so.0")
libtool: link: (cd ".libs" && rm -f "liblto_plugin.so" && ln -s "liblto_plugin.so.0.0.0" "liblto_plugin.so")
libtool: link: ( cd ".libs" && rm -f "liblto_plugin.la" && ln -s "../liblto_plugin.la" "liblto_plugin.la" )
libtool: install: /usr/bin/install -c .libs/liblto_plugin.so.0.0.0 /home/drifter/dev/build-8.2.0/lto-plugin/../gcc/liblto_plugin.so.0.0.0
libtool: install: (cd /home/drifter/dev/build-8.2.0/lto-plugin/../gcc && { ln -s -f liblto_plugin.so.0.0.0 liblto_plugin.so.0 || { rm -f liblto_plugin.so.0 && ln -s liblto_plugin.so.0.0.0 liblto_plugin.so.0; }; })
libtool: install: (cd /home/drifter/dev/build-8.2.0/lto-plugin/../gcc && { ln -s -f liblto_plugin.so.0.0.0 liblto_plugin.so || { rm -f liblto_plugin.so && ln -s liblto_plugin.so.0.0.0 liblto_plugin.so; }; })
libtool: install: /usr/bin/install -c .libs/liblto_plugin.lai /home/drifter/dev/build-8.2.0/lto-plugin/../gcc/liblto_plugin.la
libtool: install: warning: remember to run `libtool --finish /home/drifter/opt/lib/gcc/x86_64-pc-linux-gnu/8.2.0'
make[3]: Leaving directory '/home/drifter/dev/build-8.2.0/lto-plugin'
make[2]: Leaving directory '/home/drifter/dev/build-8.2.0/lto-plugin'
Configuring in ./gcc
configure: loading cache ./config.cache
configure: error: `GMPLIBS' has changed since the previous run:
configure:   former value:  `-lmpc -lmpfr -lgmp'
configure:   current value: `-L/home/drifter/dev/build-8.2.0/./gmp/.libs -L/home/drifter/dev/build-8.2.0/./mpfr/src/.libs -L/home/drifter/dev/build-8.2.0/./mpc/src/.libs -lmpc -lmpfr -lgmp'
configure: error: `GMPINC' has changed since the previous run:
configure:   former value:  `'
configure:   current value: `-I/home/drifter/dev/build-8.2.0/./gmp -I/home/drifter/dev/gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gmp -I/home/drifter/dev/build-8.2.0/./mpfr/src -I/home/drifter/dev/gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/mpfr/src -I/home/drifter/dev/gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/mpc/src '
configure: error: `ISLLIBS' has changed since the previous run:
configure:   former value:  `-lisl'
configure:   current value: `-L/home/drifter/dev/build-8.2.0/./isl/.libs  -lisl'
configure: error: `ISLINC' has changed since the previous run:
configure:   former value:  `'
configure:   current value: `-I/home/drifter/dev/build-8.2.0/./isl/include -I/home/drifter/dev/gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/isl/include'
configure: error: in `/home/drifter/dev/build-8.2.0/gcc':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
make[1]: *** [Makefile:4256: configure-gcc] Error 1
make[1]: Leaving directory '/home/drifter/dev/build-8.2.0'
make: *** [Makefile:926: all] Error 2

I did run make distclean , re did configure and then make, but still get the above.

On Thu, Nov 8, 2018 at 5:00 AM Gaius Mulley <address@hidden> wrote:
Yves Cloutier <address@hidden> writes:

> Gaius,
>
> I followed the new instructions and ran:
>
> ./contrib/download_prerequisites
>
> Then in build-8.0.2 folder I ran "make clean", then "make" again.  But It still stops with an error:
>
> /bin/sh ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../move-if-change tmp-tm.texi tm.texi
> bash ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/tools-src/makeSystem -fiso \
>              ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs-iso/SYSTEM.def \
>              ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs-iso/SYSTEM.mod \
>              -I../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs-iso:../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs \
>              "/home/drifter/dev/build-8.2.0/./gcc/xgm2 -B/home/drifter/dev/build-8.2.0/./gcc/" /home/drifter/dev/build-8.2.0/gcc/gm2/gm2-libs-iso/SYSTEM.def
> /home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
> /home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
> make[2]: *** [../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/Make-lang.in:1341: /home/drifter/dev/build-8.2.0/gcc/gm2/gm2-libs-iso/SYSTEM.def] Error 1
> make[2]: Leaving directory '/home/drifter/dev/build-8.2.0/gcc'
> make[1]: *** [Makefile:4302: all-gcc] Error 2
> make[1]: Leaving directory '/home/drifter/dev/build-8.2.0'
> make: *** [Makefile:918: all] Error 2
>
> These 2 lines seem suspicious:
>
> /home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
> /home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
> Since libisl.so.19 gives me the feeling it's looking for version 0.19 of isl.  However I noticed when running download_prerequisites that it downloaded version 0.18 as part of the prereqs.
>
> On Wed, Nov 7, 2018 at 9:59 AM Gaius Mulley
> <address@hidden> wrote:
>
>     Yves Cloutier <address@hidden> writes:
>     
>     > Ok great, i'll give this a try later today and report back
>     
>     Hi Yves,
>     
>     awesome - will be most interested to here about the result. If
>     successful - if you have to change something - please send me the
>     arch building instructions and I'll include it in the
>     documentation,
>     
>     regards,
>     Gaius

Hi Yves,

ah I would:

rm -rf build
cd build
and do the configure again
make

it looks as if it was using the results of the old configure,



regards,
Gaius

reply via email to

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