Package Details: gcc5 5.5.0-2

Git Clone URL: https://aur.archlinux.org/gcc5.git (read-only)
Package Base: gcc5
Description: The GNU Compiler Collection (5.x.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: yan12125
Maintainer: yan12125
Last Packager: yan12125
Votes: 11
Popularity: 3.990579
First Submitted: 2017-10-23 06:02
Last Updated: 2017-10-26 09:23

Pinned Comments

yan12125 commented on 2017-11-21 17:42

Building this packages requires several hours of time and several gigas of disk space. If you can't afford that, you can download 3rd party prebuilt packages from the following locations:

https://mirrors.tuna.tsinghua.edu.cn/arch4edu/x86_64/ https://cdn.repo.archlinuxcn.org/x86_64/

Beware that those gcc packages are not built my the maintainer on AUR (yan12125). Use it with care.

yan12125 commented on 2017-11-11 16:31

The recommended way to build this package is using clean chroots [1]. If you use plain makepkg or AUR helpers (yaourt, pacaur, ...), you'll need to take care by yourself.

If building does not succeed with clean chroots, please open an issue at https://github.com/yan12125/aur with a title starting with "gcc5: ". I've disabled notifications here as there are too many non-constructive comments.

[1] https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

Latest Comments

barius commented on 2018-01-14 18:45

After I got clean chroot working and tested with a simple package, gcc5 built first time without issues (3hrs 34min). And then I was able to use the new gcc5 to (re)compile palemoon, also first time without issues. Nice, that's how it should be :-)

bm456 commented on 2017-12-31 20:08

could you provide a reference (cpu + ram (read by OS) + kind of disk)?

examples A: fx 8350, 16-1600MHz (2*8) + hdd (chromium needs 3.9 hours)

B ryzen 5 1600, 28-2933 MHz (28) + ssd

C ryzen 7 1800X, 28-2933 MHz (28) + ssd

the only real info that i'm able to find its this (60% of chromium buildtime, but gcc cries if you dont have a 100% CLEAN env, and chromium didnt make this) http://www.linuxfromscratch.org/blfs/view/svn/general/gcc.html

http://www.linuxfromscratch.org/blfs/view/svn/xsoft/chromium.html

yan12125 commented on 2017-12-17 17:30

@grigala: There are way too many reasons for "collect2: error: ld returned 1 exit status". You need neighboring error messages for further investigation anyway.

grigala commented on 2017-12-17 02:03

Damn, after so many hours of waiting seeing an error message sucks!

"collect2: error: ld returned 1 exit status"

Would cleaning chroot resolve this issue Mr. yan12125?

There are so many warnings during the build process that it's infeasible to traceback and see what caused an error.

Xeno_Idaltu commented on 2017-12-15 08:20

It took almost three hours!

I was even inspecting it to see if it was malware or corrupted endless code.

Ramadhan commented on 2017-11-24 01:50

why i took a long time to install it?

yan12125 commented on 2017-11-21 17:42

Building this packages requires several hours of time and several gigas of disk space. If you can't afford that, you can download 3rd party prebuilt packages from the following locations:

https://mirrors.tuna.tsinghua.edu.cn/arch4edu/x86_64/ https://cdn.repo.archlinuxcn.org/x86_64/

Beware that those gcc packages are not built my the maintainer on AUR (yan12125). Use it with care.

petronny commented on 2017-11-13 11:06

You can find pre-compiled gcc5 from
https://mirrors.tuna.tsinghua.edu.cn/arch4edu/x86_64/

maruslera commented on 2017-11-12 14:19

@yan12125: Thank you, in clean chroots build is fine.

yan12125 commented on 2017-11-11 16:40

@maruslera: Please use clean chroots instead of yaourt or pacaur. AUR helpers work for *most* cases, not *all*. I just built it again and it's still working fine.

All comments