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 19:51:13 -0500

ah man....so close.

After deleting the build folder and doing the process again it was  building stuff for hours....then crapped out with:
(...)
/home/drifter/dev/build-8.2.0/./prev-gcc/xg++ -B/home/drifter/dev/build-8.2.0/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/home/drifter/dev/build-8.2.0/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/drifter/dev/build-8.2.0/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs  -I/home/drifter/dev/build-8.2.0/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu  -I/home/drifter/dev/build-8.2.0/prev-x86_64-pc-linux-gnu/libstdc++-v3/include  -I/home/drifter/dev/gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/libstdc++-v3/libsupc++ -L/home/drifter/dev/build-8.2.0/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/drifter/dev/build-8.2.0/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -no-pie   -g -O2 -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o gfortran \
  gcc.o gcc-main.o ggc-none.o fortran/gfortranspec.o driver-i386.o  libcommon-target.a \
   libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
/usr/bin/ld: gcc.o: in function `driver::set_up_specs() const':
gcc.c:(.text+0xdfc6): undefined reference to `lang_register_spec_functions()'
collect2: error: ld returned 1 exit status
make[3]: *** [../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/fortran/Make-lang.in:85: gfortran] Error 1
make[3]: Leaving directory '/home/drifter/dev/build-8.2.0/gcc'
make[2]: *** [Makefile:4694: all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/drifter/dev/build-8.2.0'
make[1]: *** [Makefile:28142: stage2-bubble] Error 2
make[1]: Leaving directory '/home/drifter/dev/build-8.2.0'
make: *** [Makefile:963: all] Error 2

So sad :(



On Thu, Nov 8, 2018 at 3:02 PM Gaius Mulley <address@hidden> wrote:
Yves Cloutier <address@hidden> writes:

> 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.

It might be worth destroying build directory, and starting afresh

rm -rf build
mkdir build
cd build
../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/configure "etc"
make


regards,
Gaius

reply via email to

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