Built-in driver list is empty when compiled with LTO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sigrok |
Unknown
|
Unknown
|
|||
libsigrok (Debian) |
Fix Released
|
Unknown
|
|||
libsigrok (Fedora) |
Fix Released
|
Medium
|
|||
libsigrok (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
This bug only shows up when libsigrok is compiled with LTO and was reported (https:/
I have opened a MR on https:/
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: libsigrok4 0.5.2-4
ProcVersionSign
Uname: Linux 6.2.0-23-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Jun 28 12:30:13 2023
InstallationDate: Installed on 2023-06-27 (1 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
ProcEnviron:
LANG=nl_NL.UTF-8
PATH=(custom, no user)
SHELL=/bin/zsh
TERM=xterm-
XDG_RUNTIME_
SourcePackage: libsigrok
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libsigrok (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
affects: | debian → libsigrok (Debian) |
description: | updated |
Changed in libsigrok (Debian): | |
status: | Unknown → Confirmed |
no longer affects: | sigroktest |
tags: | added: lto |
Changed in libsigrok (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in libsigrok (Debian): | |
status: | Confirmed → Fix Released |
Description of problem:
After upgrade to latest build list of supported hardware becomes empty.
All dependent programs refuses to work.
Version-Release number of selected component (if applicable): 0.5.2-3. fc33.x86_ 64
libsigrok-
How reproducible:
Always
Steps to Reproduce:
1. Update to new libsigrok, install sigrok-cli
2. sigrok-cli -L
Actual results:
Supported hardware drivers:
Supported input formats:
binary Raw binary logic data
Expected results: 0.5.2-2. fc32.x86_ 64:
After downgrade to libsigrok-
sigrok-cli -L
Supported hardware drivers: labs-re- load-pro Arachnid Labs Re:load Pro
agilent-dmm Agilent U12xx series DMMs
appa-55ii APPA 55II
arachnid-
.... long long list
Additional info:
Manual rebuild does not help.