Bug 1148184 - LTO: libsodium build failure for ppc64le as bad cpuid opcode
LTO: libsodium build failure for ppc64le as bad cpuid opcode
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Ismail Dönmez
E-mail List
:
Depends on:
Blocks: 1133084
  Show dependency treegraph
 
Reported: 2019-08-26 14:32 UTC by Michel Normand
Modified: 2022-12-14 17:22 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
libsodium_standard_ppc64le_201908141043.log (426.14 KB, text/x-log)
2019-08-26 14:32 UTC, Michel Normand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Normand 2019-08-26 14:32:46 UTC
Created attachment 815736 [details]
libsodium_standard_ppc64le_201908141043.log

LTO: libsodium build failure for ppc64le as bad cpuid opcode

extract of attached libsodium_standard_ppc64le_201908141043.log
===
[  171s] checking for cpuid instruction... yes
...
[  223s] /tmp/ccs8V3vP.s: Assembler messages:
[  223s] /tmp/ccs8V3vP.s:21220: Error: unrecognized opcode: `cpuid'
[  223s] /tmp/ccs8V3vP.s:21245: Error: unrecognized opcode: `cpuid'
...
[  223s] lto-wrapper: fatal error: make returned 2 exit status
[  223s] /usr/lib64/gcc/powerpc64le-suse-linux/9/../../../../powerpc64le-suse-linux/bin/ld: error: lto-wrapper failed
[  223s] collect2: error: ld returned 1 exit status
===
Comment 1 Michel Normand 2019-08-26 14:36:50 UTC
my initial proposal to add autoconf via https://build.opensuse.org/request/show/723945 has been ultimately rejected in https://build.opensuse.org/request/show/724809

So next will be to disable LTO for those arches.
Comment 2 Michel Normand 2019-08-26 15:00:21 UTC
(In reply to Michel Normand from comment #1) 
> So next will be to disable LTO for those arches.
proposed sr:
https://build.opensuse.org/request/show/726204
Comment 7 Swamp Workflow Management 2022-12-14 17:22:48 UTC
SUSE-RU-2022:4491-1: An update that has 5 recommended fixes and contains two features can now be installed.

Category: recommended (important)
Bug References: 1111657,1144506,1148184,1186870,1199282
CVE References: 
JIRA References: PM-3243,SLE-24629
Sources used:
openSUSE Leap Micro 5.2 (src):    libsodium-1.0.18-150000.4.6.1
openSUSE Leap 15.4 (src):    libsodium-1.0.18-150000.4.6.1, python-PyNaCl-1.4.0-150000.3.6.6, python-sphinx_rtd_theme-0.5.1-150000.3.5.1
openSUSE Leap 15.3 (src):    libsodium-1.0.18-150000.4.6.1, python-PyNaCl-1.4.0-150000.3.6.6, python-hypothesis-3.76.0-150000.3.3.1, python-sphinx_rtd_theme-0.5.1-150000.3.5.1
SUSE Linux Enterprise Module for Python2 15-SP3 (src):    python-PyNaCl-1.4.0-150000.3.6.6
SUSE Linux Enterprise Module for Public Cloud 15-SP2 (src):    python-sphinx_rtd_theme-0.5.1-150000.3.5.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP4 (src):    python-sphinx_rtd_theme-0.5.1-150000.3.5.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 (src):    python-sphinx_rtd_theme-0.5.1-150000.3.5.1
SUSE Linux Enterprise Module for Basesystem 15-SP4 (src):    libsodium-1.0.18-150000.4.6.1, python-PyNaCl-1.4.0-150000.3.6.6, python-sphinx_rtd_theme-0.5.1-150000.3.5.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    libsodium-1.0.18-150000.4.6.1, python-PyNaCl-1.4.0-150000.3.6.6, python-sphinx_rtd_theme-0.5.1-150000.3.5.1
SUSE Linux Enterprise Micro 5.3 (src):    libsodium-1.0.18-150000.4.6.1
SUSE Linux Enterprise Micro 5.2 (src):    libsodium-1.0.18-150000.4.6.1
SUSE Linux Enterprise Micro 5.1 (src):    libsodium-1.0.18-150000.4.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.