Package Details: gcc49 4.9.4-3

Git Clone URL: https://aur.archlinux.org/gcc49.git (read-only, click to copy)
Package Base: gcc49
Description: The GNU Compiler Collection (4.9.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: rubenvb
Maintainer: severach
Last Packager: severach
Votes: 21
Popularity: 0.000000
First Submitted: 2015-07-01 12:48 (UTC)
Last Updated: 2023-02-22 04:47 (UTC)

Latest Comments

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

totsilence commented on 2017-09-18 08:42 (UTC)

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

rubenvb commented on 2017-09-17 19:19 (UTC)

The new update should do it.

severach commented on 2017-09-13 20:16 (UTC)

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

rubenvb commented on 2017-07-23 11:42 (UTC)

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 (UTC)

Working PKGBUILD: https://pastebin.com/rwGxnbZS 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 (UTC) (edited on 2017-07-19 06:31 (UTC) by PostRun)

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 (UTC) (edited on 2017-07-18 20:03 (UTC) by severach)

https://www.reddit.com/r/archlinux/comments/6nxxre/build_error_gcc5_fail_on_fnoplt_flag/ 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 (UTC) (edited on 2017-07-18 09:20 (UTC) by sinanmut)

-mkdir -p $HOME/build/ -cd $HOME/build/ -git clone https://aur.archlinux.org/gcc49.git -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. https://github.com/nghttp2/nghttp2/issues/863 But I don't understand why autoconf or package manager does not compile.

PostRun commented on 2017-07-18 03:11 (UTC)

I am also having the issue gcc: error: unrecognized command line option '-V' How did you rebuild after editing the configure files?

sinanmut commented on 2017-07-18 00:15 (UTC)

Hi, I tried again with gcc49-multilib after installing gcc-multilib 7.1.1-4. I still have the similar errors: 1) gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. It should be -v instead of -V I guess, after cleaning "-V, -qversion" from all configure files I do not have this error anymore. I did it for gcc49 version. Is there a way around this instead of changing the configure files? Thanks