Package Base Details: gcc6

Git Clone URL: (read-only)
Submitter: Svenstaro
Maintainer: dviktor
Last Packager: dviktor
Votes: 18
Popularity: 0.89
First Submitted: 2018-05-17 20:56
Last Updated: 2019-09-02 21:29

Latest Comments

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

wjmelements commented on 2018-08-30 08:38

Unfortunately (or fortunately) I can no longer reproduce the build failure.

raul commented on 2018-08-28 17:28

just built it, 7.6G required disk space (ext4) in total

lonaowna commented on 2018-08-28 07:52

@wjmelements can you post your entire build log?

wjmelements commented on 2018-08-27 23:44

When I try to build, I always get a link-time error when linking cc1. Unfortunately there isn't a descriptive error message.

g++ -std=gnu++98 -no-pie .  -g -DIN_GCC .   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing ..........  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o .................... -lisl -lmpc -lmpfr -lgmp -rdynamic -ldl -lz
collect2: error: ld returned 1 exit status

I am also seeing warnings about not compiling with optimization

# . warning _FORTIFY_SOURCE requires compiling with optimization (-O)

When I built without yaourt, I don't get the optimization warnings but it got into an infinite loop that lasted until my disk filled up several hours later.

EndruK commented on 2018-08-09 10:28

With application of the patch from here I was also able to compile it.

Best regards, EndruK

lonaowna commented on 2018-08-09 09:23

@EndruK @TheEbolaDoc the glibc 2.28 build issues should be fixed in 6.4.1-8. Let me know if you still experience problems.

lonaowna commented on 2018-08-09 07:19

@EndruK: you are right. <sys/ustat.h> was removed in glibc 2.28. I'm looking for a fix.

@TheEbolaDoc: you are experiencing the same issue.

EndruK commented on 2018-08-08 18:35

The build fails for me:

/home/andre/.cache/pikaur/build/gcc6/src/gcc/libsanitizer/sanitizer_common/ fatal error: sys/ustat.h: No such file or directory
 #include <sys/ustat.h>
compilation terminated.
make[4]: *** [Makefile:477: sanitizer_platform_limits_posix.lo] Error 1
make[4]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer/sanitizer_common'
make[3]: *** [Makefile:466: all-recursive] Error 1
make[3]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer'
make[2]: *** [Makefile:336: all] Error 2
make[2]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer'
make[1]: *** [Makefile:14292: all-target-libsanitizer] Error 2
make[1]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build'
make: *** [Makefile:917: all] Error 2
==> ERROR: A failure occurred in build().

I cannot find ustat.h in my filesystem. Does this come with another dependency?

TheEbolaDoc commented on 2018-08-08 17:22

Hey guys! The build fails for me (due to unknown reasons):

libtool: link: ranlib .libs/libquadmath.a
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
make[3]: Leaving directory '/home/chris/.cache/yay/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libquadmath'
make[2]: Leaving directory '/home/chris/.cache/yay/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libquadmath'
make[1]: Leaving directory '/home/chris/.cache/yay/gcc6/src/gcc-build'
make: *** [Makefile:917: all] Error 2
==> ERROR: A failure occurred in build().
Error making: gcc6-libs

plintb commented on 2018-08-08 08:51

The source in the PKGBUILD${_islver}.tar.bz2 is down

there is a mirror at${_islver}.tar.bz2