Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917557 - 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]
Summary: dev-lisp/sbcl-2.3.10 fails to compile (lto): interrupt.c:1524:13: error: type...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2023-11-18 10:02 UTC by Alfred Wingate
Modified: 2023-11-18 10:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-lisp/sbcl-2.3.10 build.log (gzip compressed) (sbcl-2.3.10:20231118-093641.log.gz,15.97 KB, application/gzip)
2023-11-18 10:02 UTC, Alfred Wingate
Details
emerge --info (emerge--info.txt,21.89 KB, text/plain)
2023-11-18 10:03 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2023-11-18 10:02:47 UTC
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.
Comment 1 Alfred Wingate 2023-11-18 10:03:21 UTC
Created attachment 875123 [details]
emerge --info