-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Building debs on Ubuntu Noble fails with:
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -DYAZ
_HAVE_ICU=1 -I./libstemmer_c/include -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointe
r -ffile-prefix-map=/build/yaz-5.34.1=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -fdebug-prefix-map=/build/yaz-5.34.1=/usr/src/yaz-5.34.1-1.indexdata -I/usr/include/hire
dis -D_FILE_OFFSET_BITS=64 -c -o libstemmer_c/src_c/libyaz_icu_la-stem_UTF_8_english.lo `test -f 'libstemmer_c/src_c/stem_UTF
_8_english.c' || echo './'`libstemmer_c/src_c/stem_UTF_8_english.c
during IPA pass: static-var
lto1: internal compiler error: in return_token, at opts-common.cc:2135
0x19bb73a internal_error(char const*, ...)
???:0
0x683a32 fancy_abort(char const*, int, char const*)
???:0
0x6ba314 lto_main()
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
There probably is a good fix for this but for now we'll disable LTO for Debian/Ubuntu builds, see https://wiki.debian.org/ToolChain/LTO
Metadata
Metadata
Assignees
Labels
No labels