Summary: | dev-lisp/sbcl-2.3.10 fails to compile (lto): interrupt.c:1524:13: error: type of 'os_context_flags_addr' does not match original declaration [-Werror=lto-type-mismatch] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alfred Wingate <parona> |
Component: | Current packages | Assignee: | Andrey Grozin <grozin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | common-lisp, eschwartz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://launchpad.net/bugs/2072800 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: |
dev-lisp/sbcl-2.3.10 build.log (gzip compressed)
emerge --info |
Created attachment 875123 [details]
emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34841cdadae59fdff3e198192506bfd2fcd1fac5 commit 34841cdadae59fdff3e198192506bfd2fcd1fac5 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-07-11 22:28:34 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-07-12 05:54:15 +0000 dev-lisp/sbcl: mark as LTO-unsafe Closes: https://bugs.gentoo.org/917557 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> dev-lisp/sbcl/sbcl-2.3.5.ebuild | 5 +++++ dev-lisp/sbcl/sbcl-2.4.3.ebuild | 5 +++++ dev-lisp/sbcl/sbcl-2.4.5.ebuild | 5 +++++ dev-lisp/sbcl/sbcl-2.4.6.ebuild | 5 +++++ 4 files changed, 20 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62133ddd7f6165145cff426c326bdf49f6600d46 commit 62133ddd7f6165145cff426c326bdf49f6600d46 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-01 03:44:23 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-01 03:45:43 +0000 dev-lisp/sbcl: remove outdated LTO workaround We reported the issue upstream, and it was fixed for 2.4.7. Bug: https://bugs.gentoo.org/917557 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> dev-lisp/sbcl/sbcl-2.4.7.ebuild | 5 ----- 1 file changed, 5 deletions(-) |
Created attachment 875122 [details] dev-lisp/sbcl-2.3.10 build.log (gzip compressed) x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O3 -march=znver2 -pipe -flto=auto -fuse-linker-plugin -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--export-dynamic -o sbcl alloc.o arena.o backtrace.o breakpoint.o coalesce.o coreparse.o dynbind.o funcall.o gc-common.o globals.o hopscotch.o interr.o interrupt.o largefile.o main.o math.o monitor.o murmur_hash.o os-common.o parse.o print.o regnames.o runtime.o safepoint.o save.o sc-offset.o search.o stringspace.o thread.o time.o validate.o var-io.o vars.o wrap.o run-program.o sprof.o x86-64-arch.o linux-os.o linux-mman.o x86-64-linux-os.o fullcgc.o gencgc.o traceroot.o immobile-space.o elf.o x86-64-assem.o ../../tlsf-bsd/tlsf/tlsf.o -ldl -lpthread -lzstd -lm interrupt.c:1524:13: error: type of 'os_context_flags_addr' does not match original declaration [-Werror=lto-type-mismatch] 1524 | extern int *os_context_flags_addr(os_context_t *context); | ^ x86-64-arch.c:169:1: note: 'os_context_flags_addr' was previously declared here 169 | os_context_flags_addr(os_context_t *context) | ^ lto1: some warnings being treated as errors lto-wrapper: fatal error: x86_64-pc-linux-gnu-gcc returned 1 exit status compilation terminated.