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.000535
First Submitted: 2015-07-01 12:48
Last Updated: 2020-03-21 17:49

Latest Comments

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

petronny commented on 2020-10-28 07:47

version numbering in GCC changed starting from version 5

I see. Thanks for your explanations.

rubenvb commented on 2020-10-28 07:46

@petronny: No, for one because there is also a gcc43, gcc44, gcc45, gcc46, gcc47, and gcc48 in the AUR which all represent distinct versions that may be required by various tools like Matlab or older CUDA or ICC versions. Aside from that, the version numbering in GCC changed starting from version 5, where the first release was 5.1, and subsequent bugfix releases came out as 5.2, 5.3, etc. in contrast to 4.X.Y starting at 4.X.0 and bugfix releases for as 4.X.1, 4.X.2, etc.

petronny commented on 2020-10-28 07:10

Hi, could this package be called gcc4?

rubenvb commented on 2020-10-20 07:11

@dreieck You seem to have not included any relevant error messages in your output.

I see though you are using yaourt. Can you try building it manually with makepkg? This works for me, as does building this package using pacaur.

dreieck commented on 2020-10-19 17:16

Fails to build for me:

[...]
libtool: link: ln .libs/libgo.lax/libbacktrace.a/elf.o .libs/libgo.lax/lt12-elf.o || cp .libs/libgo.lax/libbacktrace.a/elf.o .libs/libgo.lax/lt12-elf.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/lt8-atomic.o .libs/libgo.lax/lt9-dwarf.o .libs/libgo.lax/libbacktrace.a/fileline.o .libs/libgo.lax/libbacktrace.a/posix.o .libs/libgo.lax/lt10-print.o .libs/libgo.lax/lt11-sort.o .libs/libgo.lax/libbacktrace.a/state.o .libs/libgo.lax/libbacktrace.a/backtrace.o .libs/libgo.lax/libbacktrace.a/simple.o .libs/libgo.lax/lt12-elf.o .libs/libgo.lax/libbacktrace.a/mmapio.o .libs/libgo.lax/libbacktrace.a/mmap.o .libs/libgo.lax/libatomic_convenience.a/gload.o .libs/libgo.lax/libatomic_convenience.a/gstore.o .libs/libgo.lax/libatomic_convenience.a/gcas.o .libs/libgo.lax/libatomic_convenience.a/gexch.o .libs/libgo.lax/libatomic_convenience.a/glfree.o .libs/libgo.lax/libatomic_convenience.a/lock.o .libs/libgo.lax/libatomic_convenience.a/init.o .libs/libgo.lax/libatomic_convenience.a/fenv.o .libs/libgo.lax/libatomic_convenience.a/load_1_.o .libs/libgo.lax/libatomic_convenience.a/store_1_.o .libs/libgo.lax/libatomic_convenience.a/cas_1_.o .libs/libgo.lax/libatomic_convenience.a/exch_1_.o .libs/libgo.lax/libatomic_convenience.a/fadd_1_.o .libs/libgo.lax/libatomic_convenience.a/fsub_1_.o .libs/libgo.lax/libatomic_convenience.a/fand_1_.o .libs/libgo.lax/libatomic_convenience.a/fior_1_.o .libs/libgo.lax/libatomic_convenience.a/fxor_1_.o .libs/libgo.lax/libatomic_convenience.a/fnand_1_.o .libs/libgo.lax/libatomic_convenience.a/tas_1_.o .libs/libgo.lax/libatomic_convenience.a/load_2_.o .libs/libgo.lax/libatomic_convenience.a/store_2_.o .libs/libgo.lax/libatomic_convenience.a/cas_2_.o .libs/libgo.lax/libatomic_convenience.a/exch_2_.o .libs/libgo.lax/libatomic_convenience.a/fadd_2_.o .libs/libgo.lax/libatomic_convenience.a/fsub_2_.o .libs/libgo.lax/libatomic_convenience.a/fand_2_.o .libs/libgo.lax/libatomic_convenience.a/fior_2_.o .libs/libgo.lax/libatomic_convenience.a/fxor_2_.o .libs/libgo.lax/libatomic_convenience.a/fnand_2_.o .libs/libgo.lax/libatomic_convenience.a/tas_2_.o .libs/libgo.lax/libatomic_convenience.a/load_4_.o .libs/libgo.lax/libatomic_convenience.a/store_4_.o .libs/libgo.lax/libatomic_convenience.a/cas_4_.o .libs/libgo.lax/libatomic_convenience.a/exch_4_.o .libs/libgo.lax/libatomic_convenience.a/fadd_4_.o .libs/libgo.lax/libatomic_convenience.a/fsub_4_.o .libs/libgo.lax/libatomic_convenience.a/fand_4_.o .libs/libgo.lax/libatomic_convenience.a/fior_4_.o .libs/libgo.lax/libatomic_convenience.a/fxor_4_.o .libs/libgo.lax/libatomic_convenience.a/fnand_4_.o .libs/libgo.lax/libatomic_convenience.a/tas_4_.o .libs/libgo.lax/libatomic_convenience.a/load_8_.o .libs/libgo.lax/libatomic_convenience.a/store_8_.o .libs/libgo.lax/libatomic_convenience.a/cas_8_.o .libs/libgo.lax/libatomic_convenience.a/exch_8_.o .libs/libgo.lax/libatomic_convenience.a/fadd_8_.o .libs/libgo.lax/libatomic_convenience.a/fsub_8_.o .libs/libgo.lax/libatomic_convenience.a/fand_8_.o .libs/libgo.lax/libatomic_convenience.a/fior_8_.o .libs/libgo.lax/libatomic_convenience.a/fxor_8_.o .libs/libgo.lax/libatomic_convenience.a/fnand_8_.o .libs/libgo.lax/libatomic_convenience.a/tas_8_.o .libs/libgo.lax/libatomic_convenience.a/load_16_.o .libs/libgo.lax/libatomic_convenience.a/store_16_.o .libs/libgo.lax/libatomic_convenience.a/cas_16_.o .libs/libgo.lax/libatomic_convenience.a/exch_16_.o .libs/libgo.lax/libatomic_convenience.a/fadd_16_.o .libs/libgo.lax/libatomic_convenience.a/fsub_16_.o .libs/libgo.lax/libatomic_convenience.a/fand_16_.o .libs/libgo.lax/libatomic_convenience.a/fior_16_.o .libs/libgo.lax/libatomic_convenience.a/fxor_16_.o .libs/libgo.lax/libatomic_convenience.a/fnand_16_.o .libs/libgo.lax/libatomic_convenience.a/tas_16_.o .libs/libgo.lax/libatomic_convenience.a/load_16_1_.o .libs/libgo.lax/libatomic_convenience.a/store_16_1_.o .libs/libgo.lax/libatomic_convenience.a/cas_16_1_.o .libs/libgo.lax/libatomic_convenience.a/exch_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fadd_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fsub_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fand_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fior_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fxor_16_1_.o .libs/libgo.lax/libatomic_convenience.a/fnand_16_1_.o .libs/libgo.lax/libatomic_convenience.a/tas_16_1_.o .libs/libgo.lax/libffi_convenience.a/prep_cif.o .libs/libgo.lax/libffi_convenience.a/types.o .libs/libgo.lax/libffi_convenience.a/raw_api.o .libs/libgo.lax/libffi_convenience.a/java_raw_api.o .libs/libgo.lax/libffi_convenience.a/closures.o .libs/libgo.lax/libffi_convenience.a/ffi64.o .libs/libgo.lax/libffi_convenience.a/unix64.o .libs/libgo.lax/libffi_convenience.a/ffi.o .libs/libgo.lax/libffi_convenience.a/sysv.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 '[...]/aur-gcc49/src/gcc-build/x86_64-pc-linux-gnu/libgo'
make[3]: Leaving directory '/tmp/yaourt-tmp-felics/aur-gcc49/src/gcc-build/x86_64-pc-linux-gnu/libgo'
make[2]: Leaving directory '/tmp/yaourt-tmp-felics/aur-gcc49/src/gcc-build/x86_64-pc-linux-gnu/libgo'
make[1]: Leaving directory '/tmp/yaourt-tmp-felics/aur-gcc49/src/gcc-build'
make: *** [Makefile:896: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

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