Package Details: gcc49 4.9.4-2

Git Clone URL: (read-only)
Package Base: gcc49
Description: The GNU Compiler Collection
Upstream URL:
Licenses: GPL, custom, LGPL, FDL
Submitter: rubenvb
Maintainer: rubenvb
Last Packager: rubenvb
Votes: 15
Popularity: 0.205793
First Submitted: 2015-07-01 12:48
Last Updated: 2017-09-23 08:25

Latest Comments

rubenvb commented on 2017-09-23 08:25

Right, I bumped the wrong number. It should be fixed now.

parnmatt commented on 2017-09-19 16:59

curl: (9) Server denied you to change to the given directory
==> ERROR: Failure while downloading

That file does not exist. Server 550 error.
There is no 4.9.5 on the FTP server.

totsilence commented on 2017-09-18 08:42

The pkg version should be 4.9.4-2, not 4.9.5-1.

rubenvb commented on 2017-09-17 19:19

The new update should do it.

severach commented on 2017-09-13 20:16

glibc 2.26 has broken your compiler. See patches in gcc49-multilib.

rubenvb commented on 2017-07-23 11:42

I have pushed an update removing the -fno-plt option from C{XX}FLAGS.

The -V and -qversion test aren't harmful; these are "get version information" options that autotools configure tries automatically. Please test the new changes and let me know if it works properly now :).

bartus commented on 2017-07-22 11:02

fixed issue
* -fno-plt removed from buildflags to fix gcc49 building libgcc not supporting this flag
* remove -V and -qversion from all configs as gcc7 no longer support those switches

PostRun commented on 2017-07-19 06:31

Thanks, editing /etc/makepkg.conf and removing -fno-plt solved the issue.

I just backed up /etc/makepkg.conf made the edit, built gcc49 and restored the back up.

severach commented on 2017-07-18 17:40

That's it! I updated /etc/makepkg.conf and now I'm crashing at the same error. Remove -fno-plt and it compiles. I'll wait to see if someone has a better solution.

sinanmut commented on 2017-07-18 09:17

-mkdir -p $HOME/build/
-cd $HOME/build/
-git clone
-cd gcc49
-makepkg -g >> PKGBUILD && makepkg

It will download three packages. Uncompress them and find all the files which has "qversion" in it. Remove "-V, -qversion" strings from all configure files.

- Then compress the folders again.
- Change the PKGBUILD. Give the direct path of the packages, it should not download them again.

- But it still does not built on my machine:
configure:3620: error: in `.../build/gcc49-multilib/src/gcc-4.9.4/gcc-build/x86_64-pc-linux-gnu/libgcc':
configure:3623: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

- If you check the log files you will see more errors. I read somewhere these are due to autoconf. So instead of using package manager, build isl/cloog/gcc4
separately. For each of them do configure, make, make install ...
It worked for me.

But I don't understand why autoconf or package manager does not compile.

All comments