I'm keeping an eye on FS#70701 to see what the approach will be. Switching CFLAGS seems like a workaround.
Search Criteria
Package Details: gcc8-fortran 8.5.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/gcc8.git (read-only, click to copy) |
---|---|
Package Base: | gcc8 |
Description: | Fortran front-end for GCC (8.x.x) |
Upstream URL: | http://gcc.gnu.org |
Licenses: | GPL, custom, LGPL, FDL |
Submitter: | dvzrv |
Maintainer: | severach |
Last Packager: | severach |
Votes: | 9 |
Popularity: | 0.001751 |
First Submitted: | 2020-11-23 19:45 (UTC) |
Last Updated: | 2023-07-31 00:19 (UTC) |
Dependencies (7)
- gcc8AUR
- binutils (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- libmpc (libmpc-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- dejagnu (dejagnu-gitAUR) (check)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (check)
Required by (2)
- fleur-develop (make)
- mpich2
Sources (37)
- c89
- c99
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/01_all_default-fortify-source.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/02_all_default-warn-format-security.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/03_all_default-warn-trampolines.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/04_all_default-ssp-fix.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/05_all_alpha-mieee-default.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/06_all_ia64_note.GNU-stack.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/07_all_i386_libgcc_note.GNU-stack.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/08_all_libiberty-asprintf.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/09_all_libiberty-pic.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/10_all_nopie-all-flags.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/11_all_extra-options.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/12_all_pr55930-dependency-tracking.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/13_all_sh-drop-sysroot-suffix.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/14_all_ia64-TEXTREL.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/15_all_disable-systemtap-switch.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/16_all_m68k-textrel-on-libgcc.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/17_all_respect-build-cxxflags.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/18_all_libgfortran-Werror.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/19_all_libgomp-Werror.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/20_all_libitm-Werror.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/21_all_libatomic-Werror.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/22_all_libbacktrace-Werror.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/23_all_libsanitizer-Werror.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/24_all_libstdcxx-no-vtv.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/25_all_overridable_native.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/27_all_disable-riscv32-ABIs.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/28_all_libcpp-ar.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/29_all_plugin-objdump.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/30_all_remove-cyclades.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/31_all_powerpcspe-pie-crt.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/32_all_powerpcspe-march-PLATFORM.patch
- https://raw.githubusercontent.com/gentoo/gcc-patches/master/8.5.0/gentoo/33_all_msgfmt-libstdc++-link.patch
- https://sourceware.org/pub/gcc/infrastructure/isl-0.24.tar.bz2
- https://sourceware.org/pub/gcc/releases/gcc-8.5.0/gcc-8.5.0.tar.xz
- https://sourceware.org/pub/gcc/releases/gcc-8.5.0/gcc-8.5.0.tar.xz.sig
Latest Comments
« First ‹ Previous 1 2 3
jonathon commented on 2021-05-05 01:02 (UTC)
jonathon commented on 2021-04-26 19:38 (UTC) (edited on 2021-04-26 19:51 (UTC) by jonathon)
That's a recent addition to makepkg.conf
's CFLAGS
(https://github.com/archlinux/svntogit-packages/commit/a790c389cb0fd2ddd35e1f581ee337f6891801fc#diff-8da5d04d27b7ace195751c5e1e5e52c0bbd59e1ec3fd89d656496cc1d272d4b0).
The file's lines that error (libcpp/expr.c) haven't changed between GCC8 and GCC11 so this may be an upstream bug...
pychuang commented on 2021-04-26 17:27 (UTC)
Not sure why but I have to remove the compilation flag -Werror=format-security
from CFLAGS
in order to build these packages. I don't know where the -Werror=format-security
comes from. I don't see that flag in makepkg.conf
. Anyway, I added the following lines to the build
section to make it work:
CFLAGS=${CFLAGS/-Werror=format-security/}
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
I'm using clean build.
offmilk commented on 2021-02-28 02:05 (UTC)
To avoid using the aur as per jonathon's comment, I attempted to build the package using extra-x86_64-build
after cloning the repo. This would however fail installing and when checking the build would say
==> Running checkpkg
error: target not found: gcc8
error: target not found: gcc8-libs
error: target not found: gcc8-fortran
==> WARNING: Skipped checkpkg due to missing repo packages
to which I just tried using the aur helper yay and was installed successfully.
tinytangent commented on 2021-01-14 12:54 (UTC) (edited on 2021-01-14 12:55 (UTC) by tinytangent)
Some of the testcases failed, and counted as "unexpected failures". Like
=== g++ Summary ===
# of expected passes 126511
# of unexpected failures 9
# of expected failures 506
# of unsupported tests 5202
But the packaging procedure still finished. Is that normal?
bred commented on 2020-12-30 12:21 (UTC) (edited on 2020-12-30 12:23 (UTC) by bred)
It ends with this compilation error:
(I've compiled with the PKGBUILD without any aur-helper)
libtool: link: ranlib .libs/libtsan.a
libtool: link: rm -fr .libs/libtsan.lax
libtool: link: ( cd ".libs" && rm -f "libtsan.la" && ln -s "../libtsan.la" "libtsan.la" )
make[4]: uscita dalla directory «/tmp/gcccomp/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer/tsan»
make[4]: ingresso nella directory «/tmp/gcccomp/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer» true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 -march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" "CFLAGS_FOR_TARGET=-g -O2 -march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2 -march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" "LIBCFLAGS_FOR_TARGET=-g -O2 -march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "prefix=/usr" "includedir=/usr/include" "AR=ar" "AS=/tmp/gcccomp/gcc8/src/gcc-build/./gcc/as" "LD=/tmp/gcccomp/gcc8/src/gcc-build/./gcc/collect-ld" "LIBCFLAGS=-g -O2 -march=x86-64 -mtune=native -O3 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" "NM=/tmp/gcccomp/gcc8/src/gcc-build/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[4]: uscita dalla directory «/tmp/gcccomp/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer»
make[3]: uscita dalla directory «/tmp/gcccomp/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer»
make[2]: uscita dalla directory «/tmp/gcccomp/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer»
make[1]: uscita dalla directory «/tmp/gcccomp/gcc8/src/gcc-build»
make: *** x86_64-unknown-linux-gnu/libstdc++-v3/doc: File o directory non esistente. Arresto.
jonathon commented on 2020-11-30 14:29 (UTC) (edited on 2021-02-28 02:12 (UTC) by jonathon)
Please read the AUR wiki page before reporting issues.
In addition, if you are experiencing a build issue then ensure you have tried building without using an AUR helper (e.g. makepkg
) and with a clean chroot (e.g. makechrootpkg
).
vcekron commented on 2020-11-30 09:46 (UTC) (edited on 2020-12-03 06:51 (UTC) by vcekron)
Thanks, Jonathon. Building in a clean chroot was the answer.
InspiringSand commented on 2020-11-25 13:39 (UTC) (edited on 2020-11-25 14:08 (UTC) by InspiringSand)
Add this GPG key to your user key-chain by running this in a terminal:
gpg --recv-keys A328C3A2C3C45C06
If this doesn't work, then try another keyserver, for example:
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A328C3A2C3C45C06
Here is some more information: http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/
EDIT: Oh, and be warned if you run this single-threaded: this will take a long time. Over 2 hours for me already. Don't forget to run this with make -j X
where X is equal to the number of threads you want to use, if you haven't changed the default number of threads make
uses.
carmilso commented on 2020-11-24 17:27 (UTC)
Hi! Thanks for uploading the package since it's been removed from official repositories.
However, it's falling due to GPG keys error: FAILED (unknown public key A328C3A2C3C45C06)
Pinned Comments
jonathon commented on 2020-11-30 14:29 (UTC) (edited on 2021-02-28 02:12 (UTC) by jonathon)
Please read the AUR wiki page before reporting issues.
In addition, if you are experiencing a build issue then ensure you have tried building without using an AUR helper (e.g.
makepkg
) and with a clean chroot (e.g.makechrootpkg
).