Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - gcc48

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: gcc48 4.8.5-1

Git Clone URL: https://aur-dev.archlinux.org/gcc48.git (read-only)
Package Base: gcc48
Description: The GNU Compiler Collection - C and C++ frontends (4.8.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: ftschindler
Maintainer: severach
Last Packager: severach
Votes: 7
Popularity: 0.155416
First Submitted: 2014-05-06 16:14
Last Updated: 2016-10-10 03:07

Latest Comments

1 2 3 4 5 Next › Last »

severach commented on 2016-12-12 18:42

Builds fine here with gcc-multilib 6.2.1. Try enabling the LD_PRELOAD lines.

quenyen commented on 2016-12-12 15:37

I get a fail on building this from Manjaro Linux (current...either from gcc62 or from gcc49....this is where it goes belly up for me....

make[6]: *** [libstdc++.la] Error 139
make[5]: *** [all-recursive] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
/usr/bin/makepkg: line 729: logpipe: unbound variable
==> ERROR: Makepkg was unable to build gcc48.
==> Restart building gcc48 ? [y/N]
==> ------------------------------
==> N

I have the same problem of course just compiling the source....

severach commented on 2016-10-10 03:12

Updated PKGBUILD didn't work for me. Failed on gcc.texi just as mine did. Using the 4.9 PKGBUILD would cause a lot of changes that might break things for users wanting 4.8.

mrueg commented on 2016-10-09 20:55

I got it to work with a fairly straightforward adaptation of the gcc49 PKGBUILD:

ftschindler commented on 2016-06-02 13:52

I just dropped ownership of this package, since I require it no longer. Feel free to step up and to submit a working PKGBUILD!

jpkotta commented on 2016-06-01 17:18

Working PKGBUILD: http://pastebin.com/gxWZW2s1

It removes the __gnu_inline__ declaration; I don't know if that's the best fix. I also had to export LD_PRELOAD because other commands besides configure needed it. Finally, my CHOST apparently doesn't match the directory for the docs. IIRC, this was changed in /etc/makepkg.conf not too long ago.

netskink commented on 2016-05-31 13:41

I'm trying to build using makepkg -sri. Here is the last part of the log.

g++ -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Icp -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/cp -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/../include -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/../libcpp/include -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/../libdecnumber -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/../libdecnumber/bid -I../libdecnumber -I/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/../libbacktrace /home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/cp/except.c -o cp/except.o
In file included from ./tm.h:28:0,
from /home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/cp/except.c:27:
/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
In file included from ./tm.h:42:0,
from /home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/cp/except.c:27:
/home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
In file included from /home/davis/aur/bin/gcc48/src/gcc-4.8.5/gcc/cp/except.c:1008:0:
cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’:
cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function ‘const char* libc_name_p(const char*, unsigned int)’ used but never defined
Makefile:1059: recipe for target 'cp/except.o' failed
make[3]: *** [cp/except.o] Error 1
make[3]: Leaving directory '/home/davis/aur/bin/gcc48/src/gcc-build/gcc'
Makefile:4156: recipe for target 'all-stage1-gcc' failed
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/davis/aur/bin/gcc48/src/gcc-build'
Makefile:19114: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/davis/aur/bin/gcc48/src/gcc-build'
Makefile:885: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

cengizIO commented on 2016-04-09 12:36

Dependency cloog tests fail due to incompatibility with isl 0.16

Remove any isl from your system, get isl 0.15 from upstream (http://isl.gforge.inria.fr/), install and restart gcc48 installation.

Thanks Namarrgon for solution

ftschindler commented on 2015-09-04 09:06

Thank you for investigating! I agree that this is most probably due to debug information contained in the final binaries and I would also agree to follow the main `gcc` package in the choice of compile flags.

andreyv commented on 2015-09-02 16:02

P.S. While researching this I noticed that most parts of GCC seem to be compiled with "-g -O2" instead of CFLAGS from makepkg.conf (-g could partially be the source for these strings).

I suppose this can be fixed by explicitly specifying BOOT_CFLAGS/CFLAGS_FOR_TARGET (see https://gcc.gnu.org/install/build.html), but I guess it is more a discussion for the main Arch "gcc" package.