Package Details: gcc49 4.9.4-3

Git Clone URL: https://aur.archlinux.org/gcc49.git (read-only, click to copy)
Package Base: gcc49
Description: The GNU Compiler Collection
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: rubenvb
Maintainer: rubenvb
Last Packager: rubenvb
Votes: 21
Popularity: 0.25
First Submitted: 2015-07-01 12:48
Last Updated: 2020-03-21 17:49

Latest Comments

1 2 3 4 5 6 ... Next › Last »

rubenvb commented on 2020-03-21 17:50

@mirh I attempted to backport the patch and the build now succeeds. I have not tested any sanitizer functionality though, so I may have well broken that in the process. Let me know if I need to change anything else.

mirh commented on 2020-03-21 02:08

You need to back-backport the latter part of this patch for the thing to still compile https://gitweb.gentoo.org/proj/gcc-patches.git/tree/9.2.0/gentoo/36_all_glibc-2.31-libsanitizer-2.patch

rubenvb commented on 2018-09-16 16:25

Thanks for the patch and all the comments. I updated the PKGBUILD. It just built successfully for me, hopefully it's fine for you as well.

jpcima commented on 2018-09-16 13:46

For sanitizers try this patch: https://git.io/fA1PF (I backported from gentoo's gcc-patches)

About LD_PRELOAD, I have needed this variable to make it work. It was necessary not only in the build() step, but the package() step also. (export LD_PRELOAD=/usr/lib/libstdc++.so, before make install) It would fail at a ranlib step, possibly the same problem as @billypilgrim reported.

billypilgrim commented on 2018-09-07 08:40

This package isn't building for me :-(

I also tried taking out LD_PRELOAD and adding --disable-libsanitizer, to no avail.

Here is the error I get: config.status: executing depfiles commands libtool: link: ranlib .libs/libitm.a libtool: link: ( cd ".libs" && rm -f "libitm.la" && ln -s "../libitm.la" "libitm.la" ) make[4]: Leaving directory '/tmp/trizen-alex/gcc49/src/gcc-build/x86_64-pc-linux-gnu/libitm' make[3]: Leaving directory '/tmp/trizen-alex/gcc49/src/gcc-build/x86_64-pc-linux-gnu/libitm' make[2]: Leaving directory '/tmp/trizen-alex/gcc49/src/gcc-build/x86_64-pc-linux-gnu/libitm' config.status: executing libtool commands config.status: executing default commands make[1]: Leaving directory '/tmp/trizen-alex/gcc49/src/gcc-build' make: *** [Makefile:896: all] Error 2

severach commented on 2018-08-30 01:33

Take out LD_PRELOAD, add configure --disable-libsanitizer.

Ok. Looks like LD_PRELOAD is still needed on some systems.

emacsomancer commented on 2018-08-29 00:51

I'm getting the same error as @repligon

repligon commented on 2018-08-19 06:54

compilation fails with src/gcc-4.9.4/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:84:23: fatal error: sys/ustat.h: No such file or folder

blambin commented on 2018-03-04 03:07

Anyone install with an error here . snipp: https://gist.github.com/blambin/9b6faf3fc6b60f5c97721dc9182410cc

rubenvb commented on 2017-09-23 08:25

Right, I bumped the wrong number. It should be fixed now.