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: | UNCONFIRMED --- | ||
Severity: | normal | CC: | common-lisp |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
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
|
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.