Package Details: gcc6-gcj 6.5.0-3

Git Clone URL: https://aur.archlinux.org/gcc6.git (read-only, click to copy)
Package Base: gcc6
Description: Java front-end for GCC
Upstream URL: https://gcc.gnu.org/gcc-6/
Licenses: GPL, custom, LGPL, FDL
Replaces: gcc-gcj
Submitter: Svenstaro
Maintainer: valandil
Last Packager: dviktor
Votes: 18
Popularity: 0.102271
First Submitted: 2018-05-17 20:56
Last Updated: 2019-12-04 08:03

Latest Comments

1 2 3 4 5 6 Next › Last »

dviktor commented on 2020-02-26 10:51

libsanitizer

valandil commented on 2020-02-26 10:49

I can try that. Which patch? bz84080 or libsanitizer?

dviktor commented on 2020-02-26 10:44

I think we should backport patch for new glibc as done for gcc7

valandil commented on 2020-02-26 10:37

I'm looking into it.

For the record though, what you attached does not contain information about the actual compilation error, it's just makepkg reporting that the build failed.

arch202928 commented on 2020-02-26 02:32

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

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

L1ghtmar3 commented on 2020-02-16 07:05

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

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

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

sebschrader commented on 2019-07-17 13:20

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..