Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942914 - sys-apps/checkpolicy-3.7-r1 - [libtool] [gcc-15] ../.../module_to_cil.c: internal compiler error: in expand_ASAN_POISON, at internal-fn.cc:833
Summary: sys-apps/checkpolicy-3.7-r1 - [libtool] [gcc-15] ../.../module_to_cil.c: inte...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-11-05 13:43 UTC by Toralf Förster
Modified: 2024-11-06 17:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,23.93 KB, text/plain)
2024-11-05 13:43 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,130.64 KB, application/x-xz)
2024-11-05 13:43 UTC, Toralf Förster
Details
environment (environment,67.32 KB, text/plain)
2024-11-05 13:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-11-05 13:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.51 KB, application/x-xz)
2024-11-05 13:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,130.73 KB, application/x-xz)
2024-11-05 13:43 UTC, Toralf Förster
Details
sys-apps:checkpolicy-3.7-r1:20241105-131258.log (sys-apps:checkpolicy-3.7-r1:20241105-131258.log,6.44 KB, text/plain)
2024-11-05 13:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.26 KB, application/x-xz)
2024-11-05 13:43 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-11-05 13:43:45 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o lex.yy.o -c lex.yy.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o policy_define.o -c policy_define.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--d
during RTL pass: expand
In function name_list_to_string,
    inlined from constraint_expr_to_string at ../../../../sys-libs/libsepol-3.7/work/libsepol-3.7-abi_x86_64.amd64/src/module_to_cil.c:1827:11:
../../../../sys-libs/libsepol-3.7/work/libsepol-3.7-abi_x86_64.amd64/src/module_to_cil.c:1135:7: internal compiler error: in expand_ASAN_POISON, at internal-fn.cc:833
0x5603fc04b113 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_no_multilib_hardened-20241023-002002

  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-10
 [2] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 10d787e908c39ba07294c3d8397f84cfaa4c3c41
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 5 11:03:54 2024 +0000

    2024-11-05 11:03:53 UTC

emerge -qpvO =sys-apps/checkpolicy-3.7-r1
[ebuild  N    ] sys-apps/checkpolicy-3.7-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-11-05 13:43:46 UTC
Created attachment 907955 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-05 13:43:48 UTC
Created attachment 907956 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-05 13:43:49 UTC
Created attachment 907957 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-05 13:43:50 UTC
Created attachment 907958 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-05 13:43:51 UTC
Created attachment 907959 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-05 13:43:52 UTC
Created attachment 907960 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-05 13:43:53 UTC
Created attachment 907961 [details]
sys-apps:checkpolicy-3.7-r1:20241105-131258.log
Comment 8 Toralf Förster gentoo-dev 2024-11-05 13:43:54 UTC
Created attachment 907962 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-06 17:34:12 UTC
I can't reproduce this. I suspect you didn't rebuild all static libs after upgrading GCC.