Package Details: gcc47 4.7.4-2

Git Clone URL: (read-only, click to copy)
Package Base: gcc47
Description: The GNU Compiler Collection (4.7.x)
Upstream URL:
Licenses: GPL, custom, LGPL, FDL
Submitter: mosra
Maintainer: severach
Last Packager: severach
Votes: 21
Popularity: 0.000000
First Submitted: 2013-06-06 16:22
Last Updated: 2021-09-28 19:22

Latest Comments

1 2 3 4 5 Next › Last »

u666sa commented on 2020-06-03 15:39

Does not compile

mkdir -p -- x86_64-pc-linux-gnu/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in x86_64-pc-linux-gnu/libgcc configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for --enable-version-specific-runtime-libs... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for x86_64-pc-linux-gnu-ar... ar checking for x86_64-pc-linux-gnu-lipo... lipo checking for x86_64-pc-linux-gnu-nm... /var/tmp/pamac-build-alex/gcc47/src/gcc-4.7.4/gcc-build/./gcc/nm checking for x86_64-pc-linux-gnu-ranlib... ranlib checking for x86_64-pc-linux-gnu-strip... strip checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-gcc... /var/tmp/pamac-build-alex/gcc47/src/gcc-4.7.4/gcc-build/./gcc/xgcc -B/var/tmp/pamac-build-alex/gcc47/src/gcc-4.7.4/gcc-build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in /var/tmp/pamac-build-alex/gcc47/src/gcc-4.7.4/gcc-build/x86_64-pc-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile Seeconfig.log' for more details. make[2]: [Makefile:11751: configure-stage1-target-libgcc] Ошибка 1 make[2]: выход из каталога «/var/tmp/pamac-build-alex/gcc47/src/gcc-4.7.4/gcc-build» make[1]: [Makefile:14707: stage1-bubble] Ошибка 2 make[1]: выход из каталога «/var/tmp/pamac-build-alex/gcc47/src/gcc-4.7.4/gcc-build» make: *** [Makefile:870: all] Ошибка 2 /usr/share/makepkg/util/ строка 76: RED: не заданы границы переменной /usr/bin/makepkg: строка 132: logpipe: не заданы границы переменной Не удалось собрать gcc47

severach commented on 2018-11-24 21:47

All fixed.

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:

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):
After installation of package you'll need to run:
sudo ln -s /usr/lib/ /usr/lib/ && 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 <> ?

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):

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).