make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/form-4.3.0-r1/work/form-4.3.0/sources' make[1]: *** [Makefile:406: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/form-4.3.0-r1/work/form-4.3.0' make: *** [Makefile:347: all] Error 2 * ERROR: sci-mathematics/form-4.3.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/form-4.3.0-r1::gentoo'`, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20230412-054012 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.1 Python 3.10.11 The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): go version go1.20.3 linux/amd64 HEAD of ::gentoo commit 837ad87b9707e33a5fb0c0d234369b7f6496b973 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 14 19:16:56 2023 +0000 2023-04-14 19:16:56 UTC emerge -qpvO sci-mathematics/form [ebuild N ] sci-mathematics/form-4.3.0-r1 USE="zlib -devref -doc -doxygen -emacs -gmp -mpi -threads"
Created attachment 860103 [details] emerge-info.txt
Created attachment 860104 [details] emerge-history.txt
Created attachment 860105 [details] environment
Created attachment 860106 [details] etc.clang.tar.bz2
Created attachment 860107 [details] etc.portage.tar.bz2
Created attachment 860108 [details] logs.tar.bz2
Created attachment 860109 [details] sci-mathematics:form-4.3.0-r1:20230414-193854.log
Created attachment 860110 [details] temp.tar.bz2
Looks like a gcc bug. There are a number of 'canonical types differ for identical types' in https://gcc.gnu.org/bugzilla/
(In reply to Andrey Grozin from comment #9) > Looks like a gcc bug. There are a number of 'canonical types differ for > identical types' in https://gcc.gnu.org/bugzilla/ Please assign to toolchain (or CC us at least) if you suspect a GCC bug. Thanks, I'll look into it now.
Can't reproduce it yet...
toralf, is this reproducible for you?
(In reply to Sam James from comment #12) > toralf, is this reproducible for you? Can you run: arch=x86-64-v3; for t in param target; do cmd="gcc -Q -O2 -march=$arch --help=$t"; diff -U0 <(LANG=C $cmd) <(LANG=C $cmd -march=x86-64-v4); done arch=znver3; for t in param target; do cmd="gcc -Q -O2 -march=$arch --help=$t"; diff -U0 <(LANG=C $cmd) <(LANG=C $cmd -march=x86-64-v4); done arch=znver2; for t in param target; do cmd="gcc -Q -O2 -march=$arch --help=$t"; diff -U0 <(LANG=C $cmd) <(LANG=C $cmd -march=x86-64-v4); done
nevermind, I got it: [08:13:50] <@sam_> it's a checking ICE plus I needed some of (not sure which yet): "-fno-stack-protector -fcf-protection=none -U_GLIBCXX_ASSERTIONS -U_FORTIFY_SOURCE"
*** Bug 905313 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32bf1dfde8a72f36a664ce986076509778202f93 commit 32bf1dfde8a72f36a664ce986076509778202f93 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-30 00:19:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-30 00:19:38 +0000 sci-mathematics/form: workaround GCC -fchecking ICE w/ -Wno-uninitialized Reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109521 but let's apply a workaround for now to avoid dupes. It's "only" an error in diagnostics anyway. Closes: https://bugs.gentoo.org/904339 Signed-off-by: Sam James <sam@gentoo.org> sci-mathematics/form/form-4.3.0-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)