Package Details: gcc8-fortran 8.5.0-2

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.001786
First Submitted: 2020-11-23 19:45 (UTC)
Last Updated: 2023-07-31 00:19 (UTC)

Dependencies (7)

Required by (2)

Sources (37)

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

Latest Comments

1 2 3 Next › Last »

Ivellios commented on 2024-04-12 08:17 (UTC)

There're several issues with 9a7fd63ac3:

  1. The patch command in prepare() may return 1 while applying existing patches, which result in "QUIET: unbound variable".

    Append "|| true" to the patch command

  2. set -u at the beginning of build() will clear CHOST inherit from /etc/makepkg.conf, which result in "CHOST: unbound variable"

    define CHOST same as in /etc/makepkg.conf after each 'set -u' in build()

bsdice commented on 2023-07-30 14:41 (UTC)

I needed GCC 8 on a recent Arch installation, so I forward-ported the necessary fixes. Download PKGBUILD here: https://seitics.de/files/gcc8/

All patches courtesy of our Gentoo friends, taken from https://github.com/gentoo/gcc-patches/tree/master/8.5.0/gentoo

I deleted one patch that was already applied. Always useful to have an older compiler in case there is suspected mis-compilation. GCC 8.5 also still, and probably forever, the best compiler for small Atmel AVR projects.

eclairevoyant commented on 2023-05-28 04:56 (UTC)

@alexf91 disabling NLS is a workaround, but it's not a real solution and will cause build failures when compiling other programs with gcc8. It's a bit absurd that this hasn't been addressed in almost 6 months.

alexf91 commented on 2022-12-25 21:14 (UTC)

Disabling native language support fixes the build problems.

Edit PKGBUILD and add --disable-nls when the configure script is called.

HenryJia commented on 2022-12-20 23:52 (UTC)

Also getting the same error as @randomuser2

Anyone have any suggestions?

randomuser2 commented on 2022-12-11 15:20 (UTC) (edited on 2022-12-11 15:21 (UTC) by randomuser2)

I fails to build on latest due to being linked with some system libs that are requiring latest libc (that is not present in gcc8 src)

See the relevant part of the log below.

libtool: link: ranlib .libs/libstdc++convenience.a
libtool: link: rm -fr .libs/libstdc++convenience.lax .libs/libstdc++convenience.lax
libtool: link: ( cd ".libs" && rm -f "libstdc++convenience.la" && ln -s "../libstdc++convenience.la" "libstdc++convenience.la" )
make[6]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src'
make[5]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src'
Making all in doc
make[5]: Entering directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/doc'
Making all in po
make[5]: Entering directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/po'
msgfmt -o de.mo /home/luk/dev/gcc8/src/gcc/libstdc++-v3/po/de.po
msgfmt: /home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libicuuc.so.72)
make[5]: *** [Makefile:499: de.mo] Error 1
make[5]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/po'
make[4]: *** [Makefile:512: all-recursive] Error 1
make[4]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3'
make[3]: *** [Makefile:419: all] Error 2
make[3]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3'
make[2]: *** [Makefile:15903: all-stage1-target-libstdc++-v3] Error 2
make[2]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build'
make[1]: *** [Makefile:23663: stage1-bubble] Error 2
make[1]: Leaving directory '/home/luk/dev/gcc8/src/gcc-build'
make: *** [Makefile:946: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gcc8 (gcc8-libs gcc8)

I've read the wiki page, but I don't know how to resolve this.