Package Details: gcc47 4.7.4-2

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

Latest Comments

1 2 3 4 5 Next › Last »

u666sa commented on 2020-06-03 15:39 (UTC)

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/message.sh: строка 76: RED: не заданы границы переменной /usr/bin/makepkg: строка 132: logpipe: не заданы границы переменной Не удалось собрать gcc47

severach commented on 2018-11-24 21:47 (UTC)

All fixed.

KarelvdP commented on 2018-10-27 12:31 (UTC) (edited on 2018-10-27 12:31 (UTC) by KarelvdP)

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

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

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

joaocandre commented on 2016-11-01 15:38 (UTC)

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

FMorel commented on 2016-10-31 14:03 (UTC)

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 (UTC) (edited on 2016-10-30 14:37 (UTC) by vtyulb)

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