Package Details: gcc47 4.7.4-2

Git Clone URL: https://aur.archlinux.org/gcc47.git (read-only)
Package Base: gcc47
Description: The GNU Compiler Collection (4.7.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Groups: base-devel
Submitter: mosra
Maintainer: severach
Last Packager: vtyulb
Votes: 21
Popularity: 0.000001
First Submitted: 2013-06-06 16:22
Last Updated: 2016-10-30 13:52

Required by (6)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

KarelvdP commented on 2018-10-27 12:31

Doesn't compile for me. Fails with:

configure:3602: error: in `/tmp/yaourt-tmp-karel/aur-gcc47/src/x86_64-unknown-linux-gnu/libgcc':

configure:3605: error: cannot compute suffix of object files: cannot compile

Last few errors in config.log:

xgcc: error: unrecognized command line option '-V'

xgcc: error: unrecognized command line option '-qversion'

xgcc: error: unrecognized command line option '-fno-plt'

xgcc: error: unrecognized command line option '-fno-plt'

Tried to compile with make -j2 CC=gcc-6 and just make -j2.

Full config.log: https://pastebin.com/YD4gmN4h

vtyulb commented on 2017-11-07 19:40

It looks like package is finally broken. Compilation fails with message "configure: error: cannot compute suffix of object files: cannot compile", and there is nothing interesting in internal log.

For those, who needs gcc47 for Matlab I can only offer a dirty workaround. I still have half-working package, which was built a year ago. You can download it from here (but you better fix the package, using unsigned packages is a bad thing):
https://ftp.vtyulb.ru/gcc47-4.7.4-2-x86_64.pkg.tar.xz
After installation of package you'll need to run:
sudo ln -s /usr/lib/libisl.so /usr/lib/libisl.so.10 && sudo ldconfig

Compiler works after the hack, but I can't check if it's usable by Matlab, because I don't have one. Good luck!

vtyulb commented on 2016-11-01 15:46

joaocandre, can you send me logs to <vtyulb@vtyulb.ru> ?

joaocandre commented on 2016-11-01 15:38

I get a lot of undefined references when linking, can't install.

FMorel commented on 2016-10-31 14:03

For me, the package compiles and installs fine with no bug or special edit of PKGBUILD.

After installation, the gcc4.7 works well with Matlab/Simulink in accelerator mode just by following instructions on the Archlinux's wiki page about Matlab. I had to change folders in Simulink preferences in order to have the same folder (/tmp for me) for both "Simulation cache folder" and "code generation folder".

Tanks to the maintainer !

vtyulb commented on 2016-10-30 14:37

Fixed errors. You can build it now, or download fresh version from me (not recommended and not safe):
https://ftp.vtyulb.ru/gcc47-4.7.4-2-x86_64.pkg.tar.xz

vtyulb commented on 2016-10-29 19:52

I'm trying to fix it now. I compiled latest version 24th of July, can give you that packet if you want.

FMorel commented on 2016-10-29 17:46

I followed the instructions of stonyboy but the compilation failed on my computer. It's a pity because this package would be still useful for Matlab users (gcc47 is an optional dependence even for recent versions).

stonyboy commented on 2016-08-18 13:12

This worked for me:

1) Adding export LD_PRELOAD=/usr/lib/libstdc++.so.6 to PKGBUILD as described by 12qu
2) Installing ppl 1.1-2 (no other dependencies on my machine) as described by antony
3) rm -rf src (not doing this caused a bit of headache)
4) Building and installing the package

Thanks to 12qu and antony!


anntzer commented on 2016-07-24 16:35

Thanks. So far I have a workaround by pinning ppl (only used by gcc47 here) to its previous version, I may investigate more another time...