From 596bee8bc17250755e7550fab4d9afdbf2e31bf1 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 12 Mar 2018 21:34:54 +0100 Subject: rebuilt gcc with POSIX threads and libtool relink fix --- build_stage3.sh | 6 ------ i486-stage3/gcc/DESCR | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build_stage3.sh b/build_stage3.sh index e1c502c..2ed0467 100755 --- a/build_stage3.sh +++ b/build_stage3.sh @@ -99,12 +99,6 @@ libaio boost # => now we really need the toolchain with POSIX threads #~ cryptsetup: device-mapper popt libutil-linux -# building toolchain (gcc): again, lobtool problems -#/usr/lib/gcc/i486-pc-linux-gnu/7.3.0/ld: cannot find -lquadmath -#collect2: error: ld returned 1 exit status -#libtool: install: error: relink `libgfortran.la' with the above command before installing it -#make: Leaving directory '/build/gcc/src/gcc-build/i486-pc-linux-gnu/libgfortran' - #~ linux build full with mkinitcpio and modules #~ linux diff --git a/i486-stage3/gcc/DESCR b/i486-stage3/gcc/DESCR index 2e493e1..4361213 100644 --- a/i486-stage3/gcc/DESCR +++ b/i486-stage3/gcc/DESCR @@ -11,3 +11,11 @@ sed -i '/pkgname/ s/gcc-ada//g' PKGBUILD sed -i '/enable-languages/ s/ada//g' PKGBUILD # rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info sed -i 's/,gnat-style,gnat_rm,gnat_ugn//' PKGBUILD + +# building toolchain (gcc): again, lobtool problems +#/usr/lib/gcc/i486-pc-linux-gnu/7.3.0/ld: cannot find -lquadmath +#collect2: error: ld returned 1 exit status +#libtool: install: error: relink `libgfortran.la' with the above command before installing it +#make: Leaving directory '/build/gcc/src/gcc-build/i486-pc-linux-gnu/libgfortran' +#=> wrong link order: libgfortran requires libquadmath +sed -i 's/libgfortran \\/libquadmath libgfortran \\/g' PKGBUILD -- cgit v1.2.3-70-g09d2