From c911ec879fbdfaa45ac46a766dc159c86ef42873 Mon Sep 17 00:00:00 2001 From: R Veera Kumar Date: Sun, 23 May 2021 20:15:08 +0530 Subject: [PATCH] Updated gcc configure command. Added --enable-default-pie to gcc configure command. This argument should match the system installed gcc default settings. Otherwise built ghdl runned linker errors. To know system gcc settings, run: gcc -v --- ghdl-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghdl-install b/ghdl-install index 3de01a1..7888018 100755 --- a/ghdl-install +++ b/ghdl-install @@ -38,7 +38,7 @@ cd build ../configure --with-gcc=../../gcc-10.3.0 --prefix=/usr/local/ghdl make copy-sources mkdir gcc-objs; cd gcc-objs -../../../gcc-10.3.0/configure --prefix=/usr/local/ghdl --enable-languages=c,vhdl --disable-bootstrap --disable-lto --disable-multilib --disable-libssp --disable-libgomp --disable-libquadmath +../../../gcc-10.3.0/configure --prefix=/usr/local/ghdl --enable-languages=c,vhdl --disable-bootstrap --disable-lto --disable-multilib --disable-libssp --disable-libgomp --disable-libquadmath --enable-default-pie make -j$(nproc) make install cd .. -- 2.30.2