Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945923 - x11-libs/motif-2.3.8-r6 - [gcc-15] lto1: internal compiler error:<snip> Segmentation fault
Summary: x11-libs/motif-2.3.8-r6 - [gcc-15] lto1: internal compiler error:<snip> Segme...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-12-05 19:41 UTC by Toralf Förster
Modified: 2025-05-06 08:45 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2024-12-05 19:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.02 KB, text/plain)
2024-12-05 19:41 UTC, Toralf Förster
Details
environment (environment,112.68 KB, text/plain)
2024-12-05 19:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-05 19:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.06 KB, application/x-xz)
2024-12-05 19:41 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.95 KB, application/x-xz)
2024-12-05 19:41 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,37.06 KB, application/x-xz)
2024-12-05 19:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.36 KB, application/x-xz)
2024-12-05 19:41 UTC, Toralf Förster
Details
x11-libs:motif-2.3.8-r6:20241205-191037.log (x11-libs:motif-2.3.8-r6:20241205-191037.log,35.69 KB, text/plain)
2024-12-05 19:41 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-12-05 19:41:10 UTC
too long lines were shrinked:

make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8-abi_x86_32.x86/tools/wml'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8/too
make: Leaving directory '/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8-abi_x86_32.x86/tools/wml'
make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8-r6/work/motif-2.3.8-abi_x86_32.x86/tools/wml'
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -std=gnu17 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -std=gnu17 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym
lto1: internal compiler error: Segmentation fault
0x559e37cc4841 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
	???:0

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_abi32+64-20241201-114734

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.5
llvm-config: 19.1.5
Python 3.12.8
go version go1.23.3 linux/amd64
  [1]   php8.3 *
Available Rust versions:
  [1]   rust-bin-1.83.0
  [2]   rust-1.83.0 *

  HEAD of ::gentoo
commit 40f92100313d4992867d013e48dc8daec5f7c84c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 5 18:48:24 2024 +0000

    2024-12-05 18:48:23 UTC

emerge -qpvO =x11-libs/motif-2.3.8-r6
[ebuild  N    ] x11-libs/motif-2.3.8-r6  USE="unicode -examples -jpeg -png -static-libs -xft" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-12-05 19:41:11 UTC
Created attachment 913401 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-05 19:41:12 UTC
Created attachment 913402 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-12-05 19:41:13 UTC
Created attachment 913403 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-05 19:41:14 UTC
Created attachment 913404 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-05 19:41:15 UTC
Created attachment 913405 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-05 19:41:16 UTC
Created attachment 913406 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-05 19:41:17 UTC
Created attachment 913407 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-05 19:41:18 UTC
Created attachment 913408 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-12-05 19:41:19 UTC
Created attachment 913409 [details]
x11-libs:motif-2.3.8-r6:20241205-191037.log
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-05 19:42:10 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -std=gnu17 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -o wmluiltok wmluiltok.o  -lfl
lto1: internal compiler error: Segmentation fault
0x559e37cc4841 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
	???:0
0x559e37cdc68d internal_error(char const*, ...)
	???:0
0x559e360a2963 bp_unpack_string(data_in*, bitpack_d*)
	???:0
0x559e364ce3a9 cl_optimization_stream_in(data_in*, bitpack_d*, cl_optimization*)
	???:0
0x559e368fbd19 streamer_read_tree_bitfields(lto_input_block*, data_in*, tree_node*)
	???:0
0x559e364263ad lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
	???:0
0x559e3642684c lto_input_scc(lto_input_block*, data_in*, unsigned int*, unsigned int*, bool)
	???:0
0x559e35fe2fd5 read_cgraph_and_symbols(unsigned int, char const**)
	???:0
0x559e35fc0a26 lto_main()
	???:0
Please submit a full bug re

Static library issue with flex.
Comment 11 Larry the Git Cow gentoo-dev 2025-05-06 08:45:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd25aa948453fae21f85d607bde480904da451d6

commit dd25aa948453fae21f85d607bde480904da451d6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-02 00:30:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-06 08:45:08 +0000

    sys-devel/flex: use dot-a.eclass for LTO
    
    This means that USE=static-libs doesn't produce a "broken" library
    when built w/ LTO.
    
    Closes: https://bugs.gentoo.org/592868
    Closes: https://bugs.gentoo.org/616106
    Closes: https://bugs.gentoo.org/876430
    Closes: https://bugs.gentoo.org/924183
    Closes: https://bugs.gentoo.org/936172
    Closes: https://bugs.gentoo.org/938858
    Closes: https://bugs.gentoo.org/940541
    Closes: https://bugs.gentoo.org/944291
    Closes: https://bugs.gentoo.org/945923
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/flex/flex-2.6.4-r6.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)