Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943723 - sys-apps/flashrom-1.4.0 fails tests with LTO (1 cmocka test flashrom FAIL 0.01s killed by signal 11 SIGSEGV)
Summary: sys-apps/flashrom-1.4.0 fails tests with LTO (1 cmocka test flashrom FAIL 0.0...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard: May be because of -Wl,--wrap use, so ...
Keywords: TESTFAILURE
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-18 07:57 UTC by Agostino Sarubbo
Modified: 2024-12-25 09:20 UTC (History)
0 users

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


Attachments
build.log (build.log,591.20 KB, text/plain)
2024-11-18 07:57 UTC, Agostino Sarubbo
Details
1-testlog.txt (1-testlog.txt,2.56 KB, text/plain)
2024-11-18 07:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-18 07:57:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/flashrom-1.4.0 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-18 07:57:22 UTC
Created attachment 908937 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-18 07:57:22 UTC
Created attachment 908938 [details]
1-testlog.txt

1-testlog.txt
Comment 3 Agostino Sarubbo gentoo-dev 2024-11-18 07:57:23 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


1/1 cmocka test flashrom        FAIL            0.01s   killed by signal 11 SIGSEGV
1/1 cmocka test flashrom FAIL            0.01s   killed by signal 11 SIGSEGV
Program sphinx-build found: NO
Run-time dependency libjaylink found: NO (tried pkgconfig and cmake)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-18 08:00:08 UTC
Let me check if it's a gcc-15 thing first.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-18 08:11:03 UTC
It fails with 12/13/14/15 at least (not tried others). Filtering LTO works around it. Needs more investigation.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-25 01:44:24 UTC
(In reply to Sam James from comment #5)
> It fails with 12/13/14/15 at least (not tried others). Filtering LTO works
> around it. Needs more investigation.

wait, if it's cmocka (=> -Wl,--wrap use), then it's not fixable (see bug 877741). The question is whether that's the problem or not or if it's another test that's failing that isn't relying on wrapping.
Comment 7 Fabian Groffen gentoo-dev 2024-12-25 09:20:52 UTC
it probably does, but does this also happen with 1.5.0?