Package Details: gcc7-fortran 7.5.0-4

Git Clone URL: https://aur.archlinux.org/gcc7.git (read-only, click to copy)
Package Base: gcc7
Description: Fortran front-end for GCC (7.x.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: arojas
Maintainer: severach
Last Packager: severach
Votes: 16
Popularity: 0.000000
First Submitted: 2019-04-08 18:58 (UTC)
Last Updated: 2025-07-02 17:57 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

BWildered01 commented on 2022-03-13 02:38 (UTC)

Hello, not sure why, but when I build the package just using makepkg, the final zst file has my user name as the owner of the files. I'm not familiar enough to understand why it's doing this. Other package's aren't doing this for me.

ReyJamonico commented on 2022-01-12 19:07 (UTC)

@dbermond I cannot reproduce that build failure. Do you have changes in your /etc/makepkg.conf? What toolchain are you using? What architecture?

You can always try to add "-fno-lto" in your CFLAGS, which should solve the specific issue you're hitting.

dbermond commented on 2021-12-23 16:41 (UTC)

Fails to build for me:

/tmp/ccM7aCZN.s: Assembler messages:
/tmp/ccM7aCZN.s: Error: invalid attempt to declare external version name as default in symbol `__gttf2@@GCC_4.3.0'
lto-wrapper: fatal error: /build/gcc7/src/gcc-build/./gcc/xgcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:982: libgcc_s.so] Error 1
make[3]: Leaving directory '/build/gcc7/src/gcc-build/x86_64-pc-linux-gnu/libgcc'
make[2]: *** [Makefile:18357: all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/build/gcc7/src/gcc-build'
make[1]: *** [Makefile:23114: stage1-bubble] Error 2
make[1]: Leaving directory '/build/gcc7/src/gcc-build'
make: *** [Makefile:935: all] Error 2

jammehcow commented on 2021-05-02 03:32 (UTC)

When building on a new install of Arch you'll need to modify your CFLAGS variable in /etc/makepkg.conf and remove the following 3 flags:

-Werror=format-security
-fstack-clash-protection
-fcf-protection

Re-enable the flags after gcc7-libs has compiled.

ReyJamonico commented on 2020-08-27 08:22 (UTC)

I adopted the gcc7 packages because I currently use them, but if anyone wants to maintain them please tell me.

nigeljordan commented on 2020-08-11 20:56 (UTC) (edited on 2020-08-11 20:56 (UTC) by nigeljordan)

I was sure there was a binary version in a repo somewhere in the comments? Is it removed?

dviktor commented on 2020-07-09 11:25 (UTC)

@borges staticlibs option is only keeps resulting *.a files in final package. I think there should be more tweaks to the GCC compilation/installation steps to create static versions of libraries

borges commented on 2020-07-08 11:49 (UTC) (edited on 2020-07-08 13:55 (UTC) by borges)

Hi! I'm working on some stuff that requires me to statically link all libraries, including libgfortran, so I compiled this package adding "staticlibs" to the options arrays, but even then I get:

$ gfortran-7 -static -static-libgfortran example.f -o example

/usr/bin/ld: cannot find -lgfortran

collect2: error: ld returned 1 exit status

I searched the yay build dir for gcc7, and there's no libgfortran.a to be found. Am I missing something?