x86_64-pc-linux-gnu-gcc -include ../platform-linuxx8664.h -c ../x86_print.c -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS -DVC_REVISION="v1.11.5-dirty" -g -O2 -Wno-format -m64 -o x86_print.o x86_64-pc-linux-gnu-gcc -m64 -g -Wl,--export-dynamic -o ../../lx86cl64 pad.o x86-spjump64.o x86-spentry64.o x86-subprims64.o pmcl-kernel.o gc-common.o x86-gc.o bits.o x86-exceptions.o x86-utils.o image.o thread_manager.o lisp-debug.o memory.o unix-calls.o x86-asmutils64.o imports.o lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o -Wl,--no-as-needed -ldl -lm -lpthread -lrt /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: gc-common.o: multiple definition of 'GCweakvll' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: pmcl-kernel.o: previous definition here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-abi32+64-20200503-182741 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.1.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python3.8 (fallback) [3] python3.7 (fallback) [4] python2.7 (fallback) [5] pypy3 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.43.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.252_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Tue 12 May 2020 01:35:26 AM UTC emerge -qpvO dev-lisp/clozurecl [ebuild N ] dev-lisp/clozurecl-1.11.5 USE="-doc"
Created attachment 638320 [details] emerge-info.txt
Created attachment 638322 [details] dev-lisp:clozurecl-1.11.5:20200512-023300.log
Created attachment 638324 [details] emerge-history.txt
Created attachment 638326 [details] environment
Created attachment 638328 [details] etc.portage.tbz2
Created attachment 638330 [details] logs.tbz2
Created attachment 638332 [details] temp.tbz2
Created attachment 654162 [details, diff] gcc 10 patch This patch, found at https://patch-diff.githubusercontent.com/raw/Clozure/ccl/pull/316.patch and pointed out by grknight, allows it to build successfully with sys-devel/gcc-10.2.0. Please let me know if it works for you as well.
Created attachment 654164 [details] emerge --info for successful build after patch This is the output of emerge --info dev-lisp/clozurecl used for building it successfully after patching. Please let me know if it works for you as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432128cdf7ed591a37def8308e3fcb2b4d5038b8 commit 432128cdf7ed591a37def8308e3fcb2b4d5038b8 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-01-17 10:53:46 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-01-17 10:53:46 +0000 dev-lisp/clozurecl: Fix build with gcc-10 Closes: https://github.com/gentoo/gentoo/pull/19087 Closes: https://bugs.gentoo.org/722618 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> dev-lisp/clozurecl/clozurecl-1.11.5.ebuild | 5 +- .../files/clozurecl-1.11.5-fno-common.patch | 110 +++++++++++++++++++++ 2 files changed, 114 insertions(+), 1 deletion(-)