Package Details: gcc6 6.5.0-9

Git Clone URL: https://aur.archlinux.org/gcc6.git (read-only, click to copy)
Package Base: gcc6
Description: The GNU Compiler Collection - C and C++ frontends (6.x.x)
Upstream URL: https://gcc.gnu.org/gcc-6/
Licenses: GPL, custom, LGPL, FDL
Submitter: svenstaro
Maintainer: valandil
Last Packager: valandil
Votes: 20
Popularity: 0.000130
First Submitted: 2018-05-17 20:56 (UTC)
Last Updated: 2023-06-03 19:08 (UTC)

Dependencies (16)

Sources (6)

Pinned Comments

valandil commented on 2020-08-24 15:06 (UTC)

I highly recommend building this package in a clean chroot. This avoids the use of a AUR helper, which sometimes uses /tmp as the stating directory, which often gets filled completely by gcc's build process.

It also provides a clean environment, which minimizes interactions between your current environment and gcc's build process.

Latest Comments

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

arch202928 commented on 2020-02-26 02:32 (UTC)

Install failed with the following message,

checking for memmove... (cached) yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... (cached) yes
checking for readdir... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing depfiles commands
make[1]: Leaving directory '/home/myname/.cache/yay/gcc6/src/gcc-build'
make: *** [Makefile:917: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gcc6 (gcc6-libs gcc6)

dviktor commented on 2020-02-16 16:40 (UTC)

@L1ghtmar3 your link is broken. Could you please to force-rebuild without parallel make?

L1ghtmar3 commented on 2020-02-16 07:05 (UTC)

I'm having trouble building gcc6 on a fresh system, either using yay or manually. Full build log, though I don't think it contains any actual error messages, and seems to end on slightly different lines every time. The line after that was build aborting due to Error 2 in Makefile at line 917.

This might have something to do with my makepkg.conf CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt". When I could build the package successfully on my other machine, the flags were rather default -march=x86-64 and so on. The -march=native description for the PC that fails the build.

valandil commented on 2019-09-03 01:53 (UTC)

I hadn't noticed that this package was back in AUR. Let me know if you need a hand maintaining the package. -- Joey

sebschrader commented on 2019-07-18 11:10 (UTC)

A make distclean in src/gcc-build solved the issue.

sebschrader commented on 2019-07-17 13:20 (UTC)

Builds fail reproducible on my machine in the bootstrap comparison step between stages 2 and 3:

make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=x86_64-pc-linux-gnu" "bindir=/usr/bin" "datadir=/usr/share" "exec_prefix=/usr" "includedir=/usr/include" "datarootdir=/usr/share" "docdir=/usr/share/doc/" "infodir=/usr/share/info" "pdfdir=/usr/share/doc/" "htmldir=/usr/share/doc/" "libdir=/usr/lib" "libexecdir=/usr/lib" "lispdir=" "localstatedir=/usr/var" "mandir=/usr/share/man" "oldincludedir=/usr/include" "prefix=/usr" "sbindir=/usr/sbin" "sharedstatedir=/usr/com" "sysconfdir=/usr/etc" "tooldir=/usr/x86_64-pc-linux-gnu" "build_tooldir=/usr/x86_64-pc-linux-gnu" "target_alias=x86_64-pc-linux-gnu" "AWK=gawk" "BISON=bison" "CC_FOR_BUILD=gcc" "CFLAGS_FOR_BUILD=-march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt" "CXX_FOR_BUILD=g++ -std=gnu++98" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS_FOR_BUILD=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" "LEX=flex" "M4=m4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/bin/sed" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2" "BOOT_LDFLAGS=" "CFLAGS=-march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt" "CXXFLAGS=-march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt" "LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" "LIBCFLAGS=-march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt" "LIBCXXFLAGS=-march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt -fno-implicit-templates" "STAGE1_CHECKING=--enable-checking=release,types" "STAGE1_LANGUAGES=c,c++,lto" "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=ar" "AS_FOR_TARGET=as" "CC_FOR_TARGET=/home/scs/.cache/aurman/gcc6/src/gcc-build/./gcc/xgcc -B/home/scs/.cache/aurman/gcc6/src/gcc-build/./gcc/" "CFLAGS_FOR_TARGET=-g -march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g -march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt -D_GNU_SOURCE" "DLLTOOL_FOR_TARGET=dlltool" "FLAGS_FOR_TARGET=-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include" "GCJ_FOR_TARGET=/home/scs/.cache/aurman/gcc6/src/gcc-build/./gcc/gcj -B/home/scs/.cache/aurman/gcc6/src/gcc-build/./gcc/" "GFORTRAN_FOR_TARGET=/home/scs/.cache/aurman/gcc6/src/gcc-build/./gcc/gfortran -B/home/scs/.cache/aurman/gcc6/src/gcc-build/./gcc/" "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt" "LIBCXXFLAGS_FOR_TARGET=-g -march=x86-64 -mtune=generic -O2  -fstack-protector-strong -fno-plt -D_GNU_SOURCE -fno-implicit-templates" "NM_FOR_TARGET=nm" "OBJDUMP_FOR_TARGET=objdump" "OBJCOPY_FOR_TARGET=" "RANLIB_FOR_TARGET=ranlib" "READELF_FOR_TARGET=readelf" "STRIP_FOR_TARGET=strip" "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc" "BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "STAGE1_CFLAGS=-g" "STAGE1_CXXFLAGS=-g" "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-g -O2 -gtoggle" "STAGE2_CXXFLAGS=-g -O2 -gtoggle" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2" "STAGE3_CXXFLAGS=-g -O2" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g -O2 -gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-g -O2 -gtoggle -fprofile-generate" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_CXXFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_TFLAGS=" "CXX_FOR_TARGET= $r/./gcc/xg++ -B$r/./gcc/ -nostdinc++ `if test -f $r/x86_64-pc-linux-gnu/libstdc++-v3/scripts/testsuite_flags; then /bin/sh $r/x86_64-pc-linux-gnu/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$r/x86_64-pc-linux-gnu/libstdc++-v3/src -L$r/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L$r/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs" "TFLAGS=" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
make[2]: Entering directory '/home/scs/.cache/aurman/gcc6/src/gcc-build'
make[3]: Entering directory '/home/scs/.cache/aurman/gcc6/src/gcc-build'
rm -f stage_current
make[3]: Leaving directory '/home/scs/.cache/aurman/gcc6/src/gcc-build'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/plugin.o differs
gcc/gcc.o differs
make[2]: *** [Makefile:23282: compare] Error 1
make[2]: Leaving directory '/home/scs/.cache/aurman/gcc6/src/gcc-build'
make[1]: *** [Makefile:23262: stage3-bubble] Error 2
make[1]: Leaving directory '/home/scs/.cache/aurman/gcc6/src/gcc-build'
make: *** [Makefile:915: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting..

moham_96 commented on 2019-05-03 10:31 (UTC)

@dviktor https://0x0.st/zcUP.txt

dviktor commented on 2019-05-03 09:59 (UTC)

@moham_96 Can you please post your error log?

moham_96 commented on 2019-05-03 09:56 (UTC)

Does this package build ok for you guys ? It fails for me in build()

yeahren commented on 2019-02-25 02:48 (UTC)

@dviktor The website is reset now, it's working, before that, it was 500 http status.