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

Latest Comments

bartus commented on 2021-07-07 17:39 (UTC)

Fix build against gcc:11 sanitize FLAGS to prevent mishaps with future gcc releases. http://ix.io/3seU/diff

Apply with git am -s < <(curl -s http://ix.io/3seU )

gnaggnoyil commented on 2021-05-30 16:06 (UTC)

GCC 11 upgrades its default language standard mode from gnu++14 to gnu++17, meanwhile GCC 4.9 src contains code that is no longer valid since C++17.

Thus, building this package with GCC 11 reports the following error:

/home/gnaggnoyil/.cache/yay/gcc49/src/gcc-4.9.4/gcc/reload1.c: 在函数‘void init_reload()’中:
/home/gnaggnoyil/.cache/yay/gcc49/src/gcc-4.9.4/gcc/reload1.c:89:24: 错误:use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/gnaggnoyil/.cache/yay/gcc49/src/gcc-4.9.4/gcc/reload1.c:444:7: 附注:in expansion of macro ‘spill_indirect_levels’
  444 |       spill_indirect_levels++;
      |       ^~~~~~~~~~~~~~~~~~~~~
/home/gnaggnoyil/.cache/yay/gcc49/src/gcc-4.9.4/gcc/reload1.c: 在函数‘void elimination_effects(rtx, machine_mode)’中:
/home/gnaggnoyil/.cache/yay/gcc49/src/gcc-4.9.4/gcc/reload1.c:3044:31: 警告:this statement may fall through [-Wimplicit-fallthrough=]
 3044 |       if (code == POST_MODIFY || code == PRE_MODIFY)
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/gnaggnoyil/.cache/yay/gcc49/src/gcc-4.9.4/gcc/reload1.c:3048:5: 附注:here
 3048 |     case STRICT_LOW_PART:
      |     ^~~~
make[3]: *** [Makefile:1058:reload1.o] 错误 1

petronny commented on 2020-10-28 07:47 (UTC) (edited on 2020-10-28 07:48 (UTC) by petronny)

version numbering in GCC changed starting from version 5

I see. Thanks for your explanations.

rubenvb commented on 2020-10-28 07:46 (UTC)

@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 (UTC)

Hi, could this package be called gcc4?

rubenvb commented on 2020-10-20 07:11 (UTC) (edited on 2020-10-20 08:30 (UTC) by rubenvb)

@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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2018-08-30 02:04 (UTC) by severach)

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 (UTC)

I'm getting the same error as @repligon

repligon commented on 2018-08-19 06:54 (UTC)

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 (UTC) (edited on 2018-03-04 03:12 (UTC) by blambin)

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

rubenvb commented on 2017-09-23 08:25 (UTC)

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

parnmatt commented on 2017-09-19 16:59 (UTC) (edited on 2017-09-19 17:01 (UTC) by parnmatt)

curl: (9) Server denied you to change to the given directory ==> ERROR: Failure while downloading ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.5/gcc-4.9.5.tar.bz2 Aborting... That file does not exist. Server 550 error. There is no 4.9.5 on the FTP server.

totsilence commented on 2017-09-18 08:42 (UTC)

The pkg version should be 4.9.4-2, not 4.9.5-1.

rubenvb commented on 2017-09-17 19:19 (UTC)

The new update should do it.

severach commented on 2017-09-13 20:16 (UTC)

glibc 2.26 has broken your compiler. See patches in gcc49-multilib.

rubenvb commented on 2017-07-23 11:42 (UTC)

I have pushed an update removing the -fno-plt option from C{XX}FLAGS. The -V and -qversion test aren't harmful; these are "get version information" options that autotools configure tries automatically. Please test the new changes and let me know if it works properly now :).

bartus commented on 2017-07-22 11:02 (UTC)

Working PKGBUILD: https://pastebin.com/rwGxnbZS fixed issue * -fno-plt removed from buildflags to fix gcc49 building libgcc not supporting this flag * remove -V and -qversion from all configs as gcc7 no longer support those switches

PostRun commented on 2017-07-19 06:31 (UTC) (edited on 2017-07-19 06:31 (UTC) by PostRun)

Thanks, editing /etc/makepkg.conf and removing -fno-plt solved the issue. I just backed up /etc/makepkg.conf made the edit, built gcc49 and restored the back up.

severach commented on 2017-07-18 17:40 (UTC) (edited on 2017-07-18 20:03 (UTC) by severach)

https://www.reddit.com/r/archlinux/comments/6nxxre/build_error_gcc5_fail_on_fnoplt_flag/ That's it! I updated /etc/makepkg.conf and now I'm crashing at the same error. Remove -fno-plt and it compiles. I'll wait to see if someone has a better solution.

sinanmut commented on 2017-07-18 09:17 (UTC) (edited on 2017-07-18 09:20 (UTC) by sinanmut)

-mkdir -p $HOME/build/ -cd $HOME/build/ -git clone https://aur.archlinux.org/gcc49.git -cd gcc49 -makepkg -g >> PKGBUILD && makepkg It will download three packages. Uncompress them and find all the files which has "qversion" in it. Remove "-V, -qversion" strings from all configure files. - Then compress the folders again. - Change the PKGBUILD. Give the direct path of the packages, it should not download them again. - But it still does not built on my machine: configure:3620: error: in `.../build/gcc49-multilib/src/gcc-4.9.4/gcc-build/x86_64-pc-linux-gnu/libgcc': configure:3623: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. - If you check the log files you will see more errors. I read somewhere these are due to autoconf. So instead of using package manager, build isl/cloog/gcc4 separately. For each of them do configure, make, make install ... It worked for me. https://github.com/nghttp2/nghttp2/issues/863 But I don't understand why autoconf or package manager does not compile.

PostRun commented on 2017-07-18 03:11 (UTC)

I am also having the issue gcc: error: unrecognized command line option '-V' How did you rebuild after editing the configure files?

sinanmut commented on 2017-07-18 00:15 (UTC)

Hi, I tried again with gcc49-multilib after installing gcc-multilib 7.1.1-4. I still have the similar errors: 1) gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. It should be -v instead of -V I guess, after cleaning "-V, -qversion" from all configure files I do not have this error anymore. I did it for gcc49 version. Is there a way around this instead of changing the configure files? Thanks

severach commented on 2017-07-17 22:06 (UTC)

I just built this and gcc49-multilib using gcc-multilib 7.1.1-4 without any problems.

sinanmut commented on 2017-07-17 18:37 (UTC)

There are error messages in the config file as: gcc version 5.4.0 (GCC) configure:4249: $? = 0 configure:4238: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4249: $? = 1 configure:4238: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated.

sinanmut commented on 2017-07-17 15:45 (UTC)

Does anybody know the reason for this error: checking for C compiler default output file name... configure: error: in `/tmp/yaourt-tmp-sinanmut/aur-gcc49/src/gcc-build': configure: error: C compiler cannot create executables See `config.log' for more details. ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build gcc49.

KgOfHedgehogs commented on 2017-03-16 11:03 (UTC)

severach, thanks!

severach commented on 2017-03-12 19:04 (UTC)

Type gcc and press TAB, once in zsh, twice in bash. It will show you all the gcc executables. See the gcc43-multilib PKGBUILD for the most common way to specify an alternate compiler.

KgOfHedgehogs commented on 2017-03-12 11:46 (UTC) (edited on 2017-03-12 11:48 (UTC) by KgOfHedgehogs)

I installed this package when another version (6.3.1) of gcc was installed on my computer. Where I can find binary of this version (4.9.3)? Some info about current situation: http://pastebin.com/raw/zgnCrbdm

bartus commented on 2017-01-06 19:32 (UTC)

When building this package against gcc6 i got this error. /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, ^ /tmp/yaourt-tmp-bartus/aur-gcc49/src/gcc-4.9.4/libitm/util.cc:35:31: error: called from here vfprintf (stderr, fmt, list);

FMorel commented on 2016-10-31 12:29 (UTC)

For me, the package built fine (provided there were enough free space for compilation (I had to play with TMPDIR variable in /etc/yaourtrc)) and installed as well. Gcc-4.9 work properly with Matlab/Simulink 2016b with accelerator mode just by editing ${MATLAB}/bin/mexopts.sh as indicated in the Archlinux's wiki page about Matlab. I had to change folders in Simulink preferences in order to have the same folder (/tmp for me) for both "Simulation cache folder" and "code generation folder". Thanks to the maintainer !

GordonGR commented on 2016-07-17 11:39 (UTC)

Hello. The package builds fine, but when I try to compile a specific piece of software with it, it errors out [0]. I was wondering if you have any ideas, since the software creator hasn't. [0] http://sldev.free.fr/forum/viewtopic.php?f=6&t=1644&p=7740#p7739

rubenvb commented on 2016-06-25 11:26 (UTC)

Sorry for the delay, I added the --build=${CHOST} option in the PKGBUILD now.

kasei commented on 2016-06-23 10:03 (UTC)

Same problem, adding "--build=${CHOST} \" in the PKGBUILD line 64 can fix it.

qft commented on 2016-06-17 23:03 (UTC)

I also got the same error. Apparently the line "--build=${CHOST} \" is required.

Gammalyse commented on 2016-06-17 10:07 (UTC)

Same build failure: x86_64-pc-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop. Same solution: "--build=${CHOST} \" in PKGBUILD

guardian commented on 2016-06-15 19:53 (UTC)

Fails for me with make: *** x86_64-pc-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop. ==> ERROR: A failure occurred in build(). Aborting...

lonaowna commented on 2016-06-15 14:19 (UTC)

It also fails for me, without any modifications to makepkg.conf etc. (same error as nsdfyd) The --build option also fixes it for me.

rubenvb commented on 2016-06-15 10:21 (UTC)

I can succesfully build without it. Did any of you make any changes to your environment (makepkg.conf, bash_profile, etc.)? I can add it if you want, but only if it is not due to user error ;).

peder2tm commented on 2016-06-15 09:20 (UTC)

I had same problem as pesser and nsdfyd. It worked after adding "--build=${CHOST} \" in the PKGBUILD line 64

rubenvb commented on 2016-06-13 21:09 (UTC)

In any case, I changed the URLs to the GCC infrastructure FTP which might be a more stable location.

lonaowna commented on 2016-06-13 20:58 (UTC)

gavsiu, works fine here. Maybe some temporary problem with the website or your internet connection?

gavsiu commented on 2016-06-13 17:26 (UTC)

I can't install this. Failed to connect to www.bastoul.net port 80: Connection timed out ==> ERROR: Failure while downloading http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.gz Aborting...

MatteoRagni commented on 2016-06-03 10:33 (UTC)

Compiled only after adding "--build=${CHOST}" and commented out line #100 (find command) to avoid the error "Cannot remove libiberty: is a directory" Thank you for work!

friehmaen commented on 2016-06-03 09:59 (UTC)

Had the same issue like pesser and nsdfyd. When adding the "--build=${CHOST}" option, build seems fine.

pesser commented on 2016-05-21 18:10 (UTC)

same error as nsdfyd here. Fixed it by telling configure explicitly to use $CHOST from /etc/makepkg.conf, i.e. --- ../aurpkg/gcc49/PKGBUILD 2016-05-21 19:22:14.396651118 +0200 +++ PKGBUILD 2016-05-21 19:46:46.239910486 +0200 @@ -61,6 +61,7 @@ CXXFLAGS=${CXXFLAGS/-pipe/} ${srcdir}/${_basedir}/configure --prefix=/usr \ + --build=${CHOST} \ --libdir=/usr/lib --libexecdir=/usr/lib \ --mandir=/usr/share/man --infodir=/usr/share/info \ --with-bugurl=https://bugs.archlinux.org/ \ not exactly sure what this is but I think older autoconf version report the system as `x86_64-unknown-linux-gnu` whereas newer ones use `x86_64-pc-linux-gnu`

rubenvb commented on 2016-05-21 08:10 (UTC)

@pesser: right, thanks, fixed. Sorry about that.

nsdfyd commented on 2016-05-21 07:15 (UTC)

make: *** x86_64-pc-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop. ==> ERROR: A failure occurred in build(). Aborting... echo $CHOST nothing. How to change this var or what to do?

pesser commented on 2016-05-21 00:21 (UTC)

needed a small change in the pkgbuild 42c42 < patch -p1 < ../gcc-4.9-fix-build-with-gcc-6.patch --- > patch -p1 < gcc-4.9-fix-build-with-gcc-6.patch now it's compiling

rubenvb commented on 2016-05-20 22:08 (UTC)

I uploaded a new version which should fix the libc_name_p error.

ppwwyyxx commented on 2016-05-20 17:36 (UTC)

@lonaowna I do have base-devel. Now I can build gcc49 by first installing gcc5 and modify its PKGBUILD to use gcc5 instead of default gcc6. #Back-Boostrap

lonaowna commented on 2016-05-20 15:52 (UTC) (edited on 2016-05-20 15:55 (UTC) by lonaowna)

@ppwwyyxx I haven't seen that error before, it is compiling fine here... Edit: Do you have the 'base-devel' group installed?

ppwwyyxx commented on 2016-05-20 14:49 (UTC)

@lonaowna Your fix still doesn't work for me: build/gengtype.o: In function `create_optional_field_(pair*, type*, char const*, char const*, int)': /home/yuxinwu/install/gcc49-2/src/gcc-4.9-20160504/gcc/gengtype.c:1002: undefined reference to `lexer_line' build/gengtype.o: In function `adjust_field_rtx_def(type*, options*)': /home/yuxinwu/install/gcc49-2/src/gcc-4.9-20160504/gcc/gengtype.c:1137: undefined reference to `lexer_line' /home/yuxinwu/install/gcc49-2/src/gcc-4.9-20160504/gcc/gengtype.c:1193: undefined reference to `lexer_line' /home/yuxinwu/install/gcc49-2/src/gcc-4.9-20160504/gcc/gengtype.c:1203: undefined reference to `lexer_line' /home/yuxinwu/install/gcc49-2/src/gcc-4.9-20160504/gcc/gengtype.c:1272: undefined reference to `lexer_line' build/gengtype.o:/home/yuxinwu/install/gcc49-2/src/gcc-4.9-20160504/gcc/gengtype.c:1312: more undefined references to `lexer_line' follow build/gengtype-parse.o: In function `token()':

lonaowna commented on 2016-05-13 09:01 (UTC)

@GeorgeChao If you read two comments down you would see the cause of the problem. (i.e. this version doesn't compile with GCC 6. here is a working PKGBUILD: https://gist.github.com/slokhorst/029aa3c86bdb897cb47acc3f137aa11c )

GeorgeChao commented on 2016-05-13 05:15 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2016-05-04 12:11 (UTC) by lonaowna)

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 (UTC)

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

stvad commented on 2016-01-10 20:34 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2015-11-23 22:57 (UTC) by Nevax)

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

oljik commented on 2015-11-23 06:33 (UTC)

nevax, Is it 16GB or 1.6? How much time does it need to compile and install?

Nevax commented on 2015-11-22 22:35 (UTC)

Thanks for this package! Make sure you have enough space free in your /tmp. df -h /tmp For me i needed ~16GB.

zarroc commented on 2015-09-25 19:21 (UTC)

Needed to apply: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227040 https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=61164