Package Details: gcc49 4.9.4-3

Git Clone URL: https://aur.archlinux.org/gcc49.git (read-only)
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: 20
Popularity: 0.154642
First Submitted: 2015-07-01 12:48
Last Updated: 2018-09-16 16:24

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

GeorgeChao commented on 2016-05-13 05:15

When I use makepkg, I meet some error.
--

/home/gg/softwares/gcc49/src/gcc-4.9.3/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/gg/softwares/gcc49/src/gcc-4.9.3/gcc/cp/except.c:1013: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:1058: recipe for target 'cp/except.o' failed
make[3]: *** [cp/except.o] Error 1
make[3]: Leaving directory '/home/gg/softwares/gcc49/src/gcc-build/gcc'
Makefile:4226: recipe for target 'all-stage1-gcc' failed
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/gg/softwares/gcc49/src/gcc-build'
Makefile:21618: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/gg/softwares/gcc49/src/gcc-build'
Makefile:893: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

lonaowna commented on 2016-05-10 09:37

I have created PKGBUILDs for both GCC 4.9 and GCC 5 which use the latest snapshot and compile with GCC 6.

GCC 4.9: https://gist.github.com/slokhorst/029aa3c86bdb897cb47acc3f137aa11c
GCC 5: https://aur.archlinux.org/packages/gcc5/

blash20 commented on 2016-05-08 01:05

Ionaowna, what would I have to do to get this to work? I have the same problem with GCC 6 and compiling this package and also when I change the PKGBUILD to use gcc-5.3.

lonaowna commented on 2016-05-04 11:55

This doesn't seem to compile with GCC 6 (currently in [testing])...

Fails on:
cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute

Edit: this seems to be fixed upstream in GCC 5, but I'm not sure about GCC 4:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959

frzburn commented on 2016-05-03 22:12

Commenting
-D_FORTIFY_SOURCE=2
in makepkg.conf did it for me. Thanks stvad!

stvad commented on 2016-01-10 20:34

Commenting the flags:
-D_FORTIFY_SOURCE=2
in makepkg.conf helped.

And I guess the other option is applying patch from @zarroc comment.

stvad commented on 2016-01-10 17:36

But I still can't build it. I'm getting this one now:
In file included from /usr/include/stdio.h:936:0,
from /home/stvad/yaourtmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-4.9.3/libitm/util.cc:27:
/usr/include/bits/stdio2.h: In function ‘void GTM::gtm_verror(const char*, __va_list_tag*)’:
/usr/include/bits/stdio2.h:124:1: error: inlining failed in call to always_inline ‘int vfprintf(FILE*, const char*, __va_list_tag*)’: function body can be overwritten at link time
vfprintf (FILE *__restrict __stream,
^
/home/stvad/yaourtmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-4.9.3/libitm/util.cc:35:31: error: called from here
vfprintf (stderr, fmt, list);
^
Makefile:517: recipe for target 'util.lo' failed
make[4]: *** [util.lo] Error 1

stvad commented on 2016-01-10 17:25

This issue seems to be the same as for @lahwaacz here: https://aur.archlinux.org/packages/gcc48/
So doing
export LD_PRELOAD=/usr/lib/libstdc++.so.6
instead of
export LD_PRELOAD=/usr/lib/libstdc++.so
helps

stvad commented on 2016-01-08 21:13

I was not able to build this one. The end of the compile output with error:
libtool: link: (cd ".libs" && rm -f "libgo.so.5" && ln -s "libgo.so.5.0.0" "libgo.so.5")
libtool: link: (cd ".libs" && rm -f "libgo.so" && ln -s "libgo.so.5.0.0" "libgo.so")
libtool: link: (cd .libs/libgo.lax/libbacktrace.a && ar x "/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build/x86_64-unknown-linux-gnu/libgo/../libbacktrace/.libs/libbacktrace.a")
libtool: link: (cd .libs/libgo.lax/libatomic_convenience.a && ar x "/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build/x86_64-unknown-linux-gnu/libgo/../libatomic/.libs/libatomic_convenience.a")
libtool: link: (cd .libs/libgo.lax/libffi_convenience.a && ar x "/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build/x86_64-unknown-linux-gnu/libgo/../libffi/.libs/libffi_convenience.a")
copying selected object files to avoid basename conflicts...
libtool: link: ln strings/index.o .libs/libgo.lax/lt1-index.o || cp strings/index.o .libs/libgo.lax/lt1-index.o
libtool: link: ln math/rand.o .libs/libgo.lax/lt2-rand.o || cp math/rand.o .libs/libgo.lax/lt2-rand.o
libtool: link: ln old/regexp.o .libs/libgo.lax/lt3-regexp.o || cp old/regexp.o .libs/libgo.lax/lt3-regexp.o
libtool: link: ln old/template.o .libs/libgo.lax/lt4-template.o || cp old/template.o .libs/libgo.lax/lt4-template.o
libtool: link: ln runtime/pprof.o .libs/libgo.lax/lt5-pprof.o || cp runtime/pprof.o .libs/libgo.lax/lt5-pprof.o
libtool: link: ln text/scanner.o .libs/libgo.lax/lt6-scanner.o || cp text/scanner.o .libs/libgo.lax/lt6-scanner.o
libtool: link: ln text/template.o .libs/libgo.lax/lt7-template.o || cp text/template.o .libs/libgo.lax/lt7-template.o
libtool: link: ln .libs/libgo.lax/libbacktrace.a/elf.o .libs/libgo.lax/lt8-elf.o || cp .libs/libgo.lax/libbacktrace.a/elf.o .libs/libgo.lax/lt8-elf.o
libtool: link: ln .libs/libgo.lax/libbacktrace.a/sort.o .libs/libgo.lax/lt9-sort.o || cp .libs/libgo.lax/libbacktrace.a/sort.o .libs/libgo.lax/lt9-sort.o
libtool: link: ln .libs/libgo.lax/libbacktrace.a/print.o .libs/libgo.lax/lt10-print.o || cp .libs/libgo.lax/libbacktrace.a/print.o .libs/libgo.lax/lt10-print.o
libtool: link: ln .libs/libgo.lax/libbacktrace.a/dwarf.o .libs/libgo.lax/lt11-dwarf.o || cp .libs/libgo.lax/libbacktrace.a/dwarf.o .libs/libgo.lax/lt11-dwarf.o
libtool: link: ln .libs/libgo.lax/libbacktrace.a/atomic.o .libs/libgo.lax/lt12-atomic.o || cp .libs/libgo.lax/libbacktrace.a/atomic.o .libs/libgo.lax/lt12-atomic.o
libtool: link: ar rc .libs/libgo.a go-append.o go-assert.o go-assert-interface.o go-byte-array-to-string.o go-breakpoint.o go-caller.o go-callers.o go-can-convert-interface.o go-cdiv.o go-cgo.o go-check-interface.o go-construct-map.o go-convert-interface.o go-copy.o go-defer.o go-deferred-recover.o go-eface-compare.o go-eface-val-compare.o go-fieldtrack.o go-getgoroot.o go-int-array-to-string.o go-int-to-string.o go-interface-compare.o go-interface-eface-compare.o go-interface-val-compare.o go-make-slice.o go-map-delete.o go-map-index.o go-map-len.o go-map-range.o go-matherr.o go-memcmp.o go-nanotime.o go-now.o go-new-map.o go-new.o go-nosys.o go-panic.o go-print.o go-recover.o go-reflect-call.o go-reflect-map.o go-rune.o go-runtime-error.o go-setenv.o go-signal.o go-strcmp.o go-string-to-byte-array.o go-string-to-int-array.o go-strplus.o go-strslice.o go-traceback.o go-type-complex.o go-type-eface.o go-type-error.o go-type-float.o go-type-identity.o go-type-interface.o go-type-string.o go-typedesc-equal.o go-typestring.o go-unsafe-new.o go-unsafe-newarray.o go-unsafe-pointer.o go-unwind.o go-varargs.o chan.o cpuprof.o env_posix.o lfstack.o lock_futex.o thread-linux.o mcache.o mcentral.o mem.o mfinal.o mfixalloc.o mgc0.o mheap.o msize.o netpoll_epoll.o panic.o parfor.o print.o proc.o runtime.o signal_unix.o thread.o yield.o iface.o malloc.o map.o mprof.o netpoll.o reflect.o runtime1.o sema.o sigqueue.o string.o time.o getncpu-linux.o bufio.o bytes.o bytes/index.o crypto.o encoding.o errors.o expvar.o flag.o fmt.o hash.o html.o image.o io.o log.o math.o mime.o net.o os.o path.o reflect-go.o reflect/makefunc.o regexp.o runtime-go.o sort.o strconv.o strings.o .libs/libgo.lax/lt1-index.o sync.o syscall.o syscall/errno.o syscall/signame.o syscall/wait.o testing.o time-go.o unicode.o archive/tar.o archive/zip.o compress/bzip2.o compress/flate.o compress/gzip.o compress/lzw.o compress/zlib.o container/heap.o container/list.o container/ring.o crypto/aes.o crypto/cipher.o crypto/des.o crypto/dsa.o crypto/ecdsa.o crypto/elliptic.o crypto/hmac.o crypto/md5.o crypto/rand.o crypto/rc4.o crypto/rsa.o crypto/sha1.o crypto/sha256.o crypto/sha512.o crypto/subtle.o crypto/tls.o crypto/x509.o crypto/x509/pkix.o database/sql.o database/sql/driver.o debug/dwarf.o debug/elf.o debug/gosym.o debug/macho.o debug/pe.o encoding/ascii85.o encoding/asn1.o encoding/base32.o encoding/base64.o encoding/binary.o encoding/csv.o encoding/gob.o encoding/hex.o encoding/json.o encoding/pem.o encoding/xml.o exp/proxy.o exp/terminal.o html/template.o go/ast.o go/build.o go/doc.o go/format.o go/parser.o go/printer.o go/scanner.o go/token.o hash/adler32.o hash/crc32.o hash/crc64.o hash/fnv.o net/http/cgi.o net/http/cookiejar.o net/http/fcgi.o net/http/httptest.o net/http/httputil.o net/http/pprof.o image/color.o image/color/palette.o image/draw.o image/gif.o image/jpeg.o image/png.o index/suffixarray.o io/ioutil.o log/syslog.o log/syslog/syslog_c.o math/big.o math/cmplx.o .libs/libgo.lax/lt2-rand.o mime/multipart.o net/http.o net/mail.o net/rpc.o net/smtp.o net/textproto.o net/url.o .libs/libgo.lax/lt3-regexp.o .libs/libgo.lax/lt4-template.o os/exec.o os/signal.o os/user.o path/filepath.o regexp/syntax.o net/rpc/jsonrpc.o runtime/debug.o .libs/libgo.lax/lt5-pprof.o sync/atomic.o sync/atomic_c.o .libs/libgo.lax/lt6-scanner.o text/tabwriter.o .libs/libgo.lax/lt7-template.o text/template/parse.o testing/iotest.o testing/quick.o unicode/utf16.o unicode/utf8.o .libs/libgo.lax/libbacktrace.a/mmap.o .libs/libgo.lax/libbacktrace.a/mmapio.o .libs/libgo.lax/lt8-elf.o .libs/libgo.lax/libbacktrace.a/simple.o .libs/libgo.lax/libbacktrace.a/backtrace.o .libs/libgo.lax/libbacktrace.a/state.o .libs/libgo.lax/lt9-sort.o .libs/libgo.lax/lt10-print.o .libs/libgo.lax/libbacktrace.a/posix.o .libs/libgo.lax/libbacktrace.a/fileline.o .libs/libgo.lax/lt11-dwarf.o .libs/libgo.lax/lt12-atomic.o .libs/libgo.lax/libatomic_convenience.a/tas_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fnand_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fxor_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fior_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fand_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fsub_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fadd_16_1_.o .libs/libgo.lax/libatomic_convenience.a/exch_16_1_.o .libs/libgo.lax/libatomic_convenience.a/cas_16_1_.o .libs/libgo.lax/libatomic_convenience.a/store_16_1_.o .libs/libgo.lax/libatomic_convenience.a/load_16_1_.o .libs/libgo.lax/libatomic_convenience.a/tas_16_.o .libs/libgo.lax/libatomic_convenience.a/fnand_16_.o .libs/libgo.lax/libatomic_convenience.a/fxor_16_.o .libs/libgo.lax/libatomic_convenience.a/fior_16_.o .libs/libgo.lax/libatomic_convenience.a/fand_16_.o .libs/libgo.lax/libatomic_convenience.a/fsub_16_.o .libs/libgo.lax/libatomic_convenience.a/fadd_16_.o .libs/libgo.lax/libatomic_convenience.a/exch_16_.o .libs/libgo.lax/libatomic_convenience.a/cas_16_.o .libs/libgo.lax/libatomic_convenience.a/store_16_.o .libs/libgo.lax/libatomic_convenience.a/load_16_.o .libs/libgo.lax/libatomic_convenience.a/tas_8_.o .libs/libgo.lax/libatomic_convenience.a/fnand_8_.o .libs/libgo.lax/libatomic_convenience.a/fxor_8_.o .libs/libgo.lax/libatomic_convenience.a/fior_8_.o .libs/libgo.lax/libatomic_convenience.a/fand_8_.o .libs/libgo.lax/libatomic_convenience.a/fsub_8_.o .libs/libgo.lax/libatomic_convenience.a/fadd_8_.o .libs/libgo.lax/libatomic_convenience.a/exch_8_.o .libs/libgo.lax/libatomic_convenience.a/cas_8_.o .libs/libgo.lax/libatomic_convenience.a/store_8_.o .libs/libgo.lax/libatomic_convenience.a/load_8_.o .libs/libgo.lax/libatomic_convenience.a/tas_4_.o .libs/libgo.lax/libatomic_convenience.a/fnand_4_.o .libs/libgo.lax/libatomic_convenience.a/fxor_4_.o .libs/libgo.lax/libatomic_convenience.a/fior_4_.o .libs/libgo.lax/libatomic_convenience.a/fand_4_.o .libs/libgo.lax/libatomic_convenience.a/fsub_4_.o .libs/libgo.lax/libatomic_convenience.a/fadd_4_.o .libs/libgo.lax/libatomic_convenience.a/exch_4_.o .libs/libgo.lax/libatomic_convenience.a/cas_4_.o .libs/libgo.lax/libatomic_convenience.a/store_4_.o .libs/libgo.lax/libatomic_convenience.a/load_4_.o .libs/libgo.lax/libatomic_convenience.a/tas_2_.o .libs/libgo.lax/libatomic_convenience.a/fnand_2_.o .libs/libgo.lax/libatomic_convenience.a/fxor_2_.o .libs/libgo.lax/libatomic_convenience.a/fior_2_.o .libs/libgo.lax/libatomic_convenience.a/fand_2_.o .libs/libgo.lax/libatomic_convenience.a/fsub_2_.o .libs/libgo.lax/libatomic_convenience.a/fadd_2_.o .libs/libgo.lax/libatomic_convenience.a/exch_2_.o .libs/libgo.lax/libatomic_convenience.a/cas_2_.o .libs/libgo.lax/libatomic_convenience.a/store_2_.o .libs/libgo.lax/libatomic_convenience.a/load_2_.o .libs/libgo.lax/libatomic_convenience.a/tas_1_.o .libs/libgo.lax/libatomic_convenience.a/fnand_1_.o .libs/libgo.lax/libatomic_convenience.a/fxor_1_.o .libs/libgo.lax/libatomic_convenience.a/fior_1_.o .libs/libgo.lax/libatomic_convenience.a/fand_1_.o .libs/libgo.lax/libatomic_convenience.a/fsub_1_.o .libs/libgo.lax/libatomic_convenience.a/fadd_1_.o .libs/libgo.lax/libatomic_convenience.a/exch_1_.o .libs/libgo.lax/libatomic_convenience.a/cas_1_.o .libs/libgo.lax/libatomic_convenience.a/store_1_.o .libs/libgo.lax/libatomic_convenience.a/load_1_.o .libs/libgo.lax/libatomic_convenience.a/fenv.o .libs/libgo.lax/libatomic_convenience.a/init.o .libs/libgo.lax/libatomic_convenience.a/lock.o .libs/libgo.lax/libatomic_convenience.a/glfree.o .libs/libgo.lax/libatomic_convenience.a/gexch.o .libs/libgo.lax/libatomic_convenience.a/gcas.o .libs/libgo.lax/libatomic_convenience.a/gstore.o .libs/libgo.lax/libatomic_convenience.a/gload.o .libs/libgo.lax/libffi_convenience.a/sysv.o .libs/libgo.lax/libffi_convenience.a/ffi.o .libs/libgo.lax/libffi_convenience.a/unix64.o .libs/libgo.lax/libffi_convenience.a/ffi64.o .libs/libgo.lax/libffi_convenience.a/closures.o .libs/libgo.lax/libffi_convenience.a/java_raw_api.o .libs/libgo.lax/libffi_convenience.a/raw_api.o .libs/libgo.lax/libffi_convenience.a/types.o .libs/libgo.lax/libffi_convenience.a/prep_cif.o
libtool: link: ranlib .libs/libgo.a
libtool: link: rm -fr .libs/libgo.lax .libs/libgo.lax
libtool: link: ( cd ".libs" && rm -f "libgo.la" && ln -s "../libgo.la" "libgo.la" )
make[4]: Leaving directory '/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build/x86_64-unknown-linux-gnu/libgo'
make[3]: Leaving directory '/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build/x86_64-unknown-linux-gnu/libgo'
make[2]: Leaving directory '/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build/x86_64-unknown-linux-gnu/libgo'
make[1]: Leaving directory '/tmp/yaourt-tmp-stvad/aur-gcc49/src/gcc-build'
Makefile:893: recipe for target 'all' failed
make: *** [all] Error 2

Nevax commented on 2015-11-23 22:53

Yes, it's 16,5GB with the installation of "catalyst-test".
~30 minutes on my desktop with i5-3570K overclocked @ 4GHz with SSD.
~4/6 hours on my laptop with AMD 4 cores 1.6GHz, 5 years old.

I tried to compile the package for a week before to understand that it came from, I just had an error without any information.
The installation was really fast, under 30 secondes.

You can also change the TMPDIR of yaourt :
"Build directory
Yaourt uses /tmp (mounted as tmpfs, limited to 50% of RAM) to compile packages, which may be problematic for systems with low RAM or limited swap space. Change the location in /etc/yaourtrc by uncommenting and changing the TMPDIR variable."
- https://wiki.archlinux.org/index.php/Yaourt