Package Details: gcc7 7.5.0-4

Git Clone URL: https://aur.archlinux.org/gcc7.git (read-only, click to copy)
Package Base: gcc7
Description: The GNU Compiler Collection - C and C++ frontends (7.x.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: arojas
Maintainer: ReyJamonico
Last Packager: ReyJamonico
Votes: 15
Popularity: 0.034038
First Submitted: 2019-04-08 18:58 (UTC)
Last Updated: 2022-05-19 15:34 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 Next › Last »

Ivellios commented on 2022-10-17 14:13 (UTC)

Seems like I have to add "-DINCLUDE_ALGORITHM" CXXFLAGS to PKGBUILD, otherwise will hit "‘swap’ is not a member of ‘std’" compile error. Thoughts?

dbermond commented on 2022-05-11 16:12 (UTC)

@ReyJamonico Sorry for the late reply. The build problem is about lto, as disabling it makes the package to build fine. You should explicitly disable lto by adding '!lto' to the options array like is done by repository gcc and AUR gcc10.

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