Package Details: gcc45 4.5.4-3

Package Base: gcc45
Description: The GNU Compiler Collection (4.5.x)
Upstream URL: http://gcc.gnu.org
Category: devel
Licenses: GPL LGPL custom
Submitter: ytj
Maintainer: cbab
Last Packager: None
Votes: 13
First Submitted: 2011-05-11 04:43
Last Updated: 2014-02-26 03:33

Required by (0)

Sources

Latest Comments

Comment by cbab

2014-02-26 03:34

Added fix for staticlibs. Thanks to @lmunch for the suggestion.

Comment by lmunch

2014-01-28 20:09

Please add 'staticlibs' to options to fix: /usr/bin/ld: cannot find -lgcc

Also change provides=('gcc=4.5') to provides=('gcc-4.5') to fix installation when gcc is already installed.

Comment by cbab

2013-04-29 02:16

Updated with kristianlm2 suggestions. I had to disable documentation building. This regression is caused by a recent upgrade of texinfo.

Anonymous comment

2013-04-24 09:19

leoc, I got the same problem as you (when building gcc44) and found a temporary solution. See https://aur.archlinux.org/packages/gcc44/

Anonymous comment

2013-04-23 10:06

I get the following error. I tried the packages gcc45 and gcc44. Currently I have gcc-4.8-20130411 installed.

../../libiberty/fibheap.c: In function ‘fibheap_replace_key_data’:
../../libiberty/fibheap.c:38:24: error: ‘LONG_MIN’ undeclared (first use in this function)
#define FIBHEAPKEY_MIN LONG_MIN
^
../../libiberty/fibheap.c:220:30: note: in expansion of macro ‘FIBHEAPKEY_MIN’
if (okey == key && okey != FIBHEAPKEY_MIN)
^
../../libiberty/fibheap.c:38:24: note: each undeclared identifier is reported only once for each function it appears in
#define FIBHEAPKEY_MIN LONG_MIN
^
../../libiberty/fibheap.c:220:30: note: in expansion of macro ‘FIBHEAPKEY_MIN’
if (okey == key && okey != FIBHEAPKEY_MIN)
^
../../libiberty/fibheap.c: In function ‘fibheap_delete_node’:
../../libiberty/fibheap.c:38:24: error: ‘LONG_MIN’ undeclared (first use in this function)
#define FIBHEAPKEY_MIN LONG_MIN
^
../../libiberty/fibheap.c:261:36: note: in expansion of macro ‘FIBHEAPKEY_MIN’
fibheap_replace_key (heap, node, FIBHEAPKEY_MIN);
^
../../libiberty/fibheap.c:265:7: warning: implicit declaration of function ‘abort’ [-Wimplicit-function-declaration]
abort ();
^
../../libiberty/fibheap.c:265:7: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
../../libiberty/fibheap.c: In function ‘fibheap_delete’:
../../libiberty/fibheap.c:277:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
free (fibheap_extr_min_node (heap));
^
../../libiberty/fibheap.c: In function ‘fibheap_consolidate’:
../../libiberty/fibheap.c:368:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset (a, 0, sizeof (fibnode_t) * D);
^
../../libiberty/fibheap.c:368:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
make[3]: *** [fibheap.o] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-arthur/aur-gcc45/src/gcc-4.5.4/build/libiberty'
make[2]: *** [all-stage1-libiberty] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-arthur/aur-gcc45/src/gcc-4.5.4/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-arthur/aur-gcc45/src/gcc-4.5.4/build'
make: *** [all] Error 2

Comment by ytj

2012-07-13 01:31

@andrej84 It seems that you didn't download the patch, just PKGBUILD. You can use ``yaourt -G gcc45`` to download all files for build if you want to build from PKBBUILD.

Comment by andrej84

2012-07-12 16:14

Sorry my bad, it works from yaourt but trying to install it from the PKGBUILD

Comment by andrej84

2012-07-12 15:50

I get this error..
==> ERROR: gcc-hash-style-both.patch was not found in the build directory and is not a URL.

Anonymous comment

2012-07-09 14:41

Update to latest version (4.5.4).

Comment by mrbit

2011-08-27 14:12

config.status: creating Makefile
make[1]: Entering directory `/tmp/packerbuild-0/gcc45/gcc45/src/gcc-build'
/bin/sh /tmp/packerbuild-0/gcc45/gcc45/src/gcc-4.5.3/mkinstalldirs /tmp/packerbuild-0/gcc45/gcc45/pkg/usr /tmp/packerbuild-0/gcc45/gcc45/pkg/usr
mkdir -p -- /tmp/packerbuild-0/gcc45/gcc45/pkg/usr /tmp/packerbuild-0/gcc45/gcc45/pkg/usr
/bin/sh: line 3: cd: ./fixincludes: File o directory non esistente
make[1]: *** [install-fixincludes] Errore 1
make[1]: Leaving directory `/tmp/packerbuild-0/gcc45/gcc45/src/gcc-build'
make: *** [install] Errore 2
==> ERRORE: Si è verificato un errore in package().
L'operazione sta per essere interrotta...
The build failed.
Dependencies for `xbmc-pvr-git' are not met, not building...

All comments