Bugzilla – Bug 1214460
s390x crosscompiler does not seem functional, missing -lgcc, impeding upstream QEMU work (tcg tests)
Last modified: 2024-01-08 20:30:24 UTC
Hello, I am trying to run the QEMU gcc tests for s390x, and these tests require a fully functional s390x crosscompiler in order to build the test code. Unfortunately, after installing the packages: zypper install cross-s390x-gcc13 cross-s390x-binutils cross-s390x-linux-glibc-devel still the libgcc seems missing: /usr/lib64/gcc/s390x-suse-linux/13/ld: cannot find -lgcc: No such file or directory This blocks the current QEMU work to fix QEMU emulation errors on S390x.
Created attachment 868934 [details] QEMU configure script log showcasing the errors
The s390x crosses are old-style, just providing freestanding compilation. I've turned s390x, ppc64le and x86_64 targets to the full glibc variant in devel:gcc, let's see if that works without further changes. You can try installing from devel:gcc after the build finished. Can you report back whether the built packages work for you?
(In reply to Richard Biener from comment #2) > The s390x crosses are old-style, just providing freestanding compilation. > I've turned s390x, ppc64le and x86_64 targets to the full glibc variant in > devel:gcc, let's see if that works without further changes. > > You can try installing from devel:gcc after the build finished. Can you > report back whether the built packages work for you? I realized it also needs glibc to build the cross, I'm doing a SR to Base:System as well but that means packages only get built when both end up in Factory unless you branch them to a local repository (or build them locally which is what I'm doing right now to verify things).
It's now staged together in https://build.opensuse.org/project/show/openSUSE:Factory:Staging:N - you can possibly pull the packages from there once built (but the stagings are not distributed so you have to go via the API)
This is an autogenerated message for OBS integration: This bug (1214460) was mentioned in https://build.opensuse.org/request/show/1105268 Factory / glibc https://build.opensuse.org/request/show/1105273 Factory / gcc13
This is an autogenerated message for OBS integration: This bug (1214460) was mentioned in https://build.opensuse.org/request/show/1105412 Factory / gcc13
This is an autogenerated message for OBS integration: This bug (1214460) was mentioned in https://build.opensuse.org/request/show/1107917 Factory / gcc13
Checked into factory, thus fixed.
(In reply to Richard Biener from comment #8) > Checked into factory, thus fixed. Thanks, will test as soon as possible, Claudio
Looks like this causes bug 1215812
SUSE-SU-2023:4162-1: An update that solves one vulnerability, contains five features and has seven security fixes can now be installed. Category: security (important) Bug References: 1206480, 1206684, 1210557, 1211427, 1212101, 1213915, 1214052, 1214460 CVE References: CVE-2023-4039 Jira References: PED-153, PED-2005, PED-252, PED-253, PED-6584 Sources used: openSUSE Leap Micro 5.3 (src): gcc13-13.2.1+git7813-150000.1.3.3 openSUSE Leap Micro 5.4 (src): gcc13-13.2.1+git7813-150000.1.3.3 openSUSE Leap 15.4 (src): gcc13-13.2.1+git7813-150000.1.3.3, cross-nvptx-gcc13-13.2.1+git7813-150000.1.3.2 openSUSE Leap 15.5 (src): gcc13-13.2.1+git7813-150000.1.3.3, cross-nvptx-gcc13-13.2.1+git7813-150000.1.3.2 SUSE Linux Enterprise Server 15 SP2 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Server 15 SP3 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise High Performance Computing 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Server 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Manager Server 4.3 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Desktop 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Manager Retail Branch Server 4.3 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Manager Proxy 4.3 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise High Performance Computing 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Server 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Server for SAP Applications 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Desktop 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro for Rancher 5.3 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro 5.3 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro for Rancher 5.4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro 5.4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro 5.5 (src): gcc13-13.2.1+git7813-150000.1.3.3 Basesystem Module 15-SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3 Basesystem Module 15-SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3 Development Tools Module 15-SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3, cross-nvptx-gcc13-13.2.1+git7813-150000.1.3.2 Development Tools Module 15-SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3, cross-nvptx-gcc13-13.2.1+git7813-150000.1.3.2 SUSE Package Hub 15 15-SP4 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Package Hub 15 15-SP5 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Manager Proxy 4.2 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Manager Retail Branch Server 4.2 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Manager Server 4.2 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro 5.1 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro 5.2 (src): gcc13-13.2.1+git7813-150000.1.3.3 SUSE Linux Enterprise Micro for Rancher 5.2 (src): gcc13-13.2.1+git7813-150000.1.3.3 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.
SUSE-SU-2023:4287-1: An update that solves one vulnerability, contains five features and has seven security fixes can now be installed. Category: security (important) Bug References: 1206480, 1206684, 1210557, 1211427, 1212101, 1213915, 1214052, 1214460 CVE References: CVE-2023-4039 Jira References: PED-153, PED-2005, PED-252, PED-253, PED-6584 Sources used: Toolchain Module 12 (src): gcc13-13.2.1+git7813-1.6.1, cross-nvptx-gcc13-13.2.1+git7813-1.6.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): gcc13-13.2.1+git7813-1.6.1 SUSE Linux Enterprise Server 12 SP5 (src): gcc13-13.2.1+git7813-1.6.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): gcc13-13.2.1+git7813-1.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.
SUSE-SU-2023:4287-2: An update that solves one vulnerability, contains five features and has seven security fixes can now be installed. Category: security (important) Bug References: 1206480, 1206684, 1210557, 1211427, 1212101, 1213915, 1214052, 1214460 CVE References: CVE-2023-4039 Jira References: PED-153, PED-2005, PED-252, PED-253, PED-6584 Sources used: Toolchain Module 12 (src): cross-nvptx-gcc13-13.2.1+git7813-1.6.1, gcc13-13.2.1+git7813-1.6.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): gcc13-13.2.1+git7813-1.6.1 SUSE Linux Enterprise Server 12 SP5 (src): gcc13-13.2.1+git7813-1.6.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): gcc13-13.2.1+git7813-1.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.
SUSE-SU-2023:4458-1: An update that solves one vulnerability, contains five features and has nine security fixes can now be installed. Category: security (important) Bug References: 1206480, 1206684, 1210557, 1211427, 1212101, 1213915, 1214052, 1214460, 1215427, 1216664 CVE References: CVE-2023-4039 Jira References: PED-153, PED-2005, PED-252, PED-253, PED-6584 Sources used: openSUSE Leap Micro 5.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 openSUSE Leap Micro 5.4 (src): gcc13-13.2.1+git7813-150000.1.6.1 openSUSE Leap 15.4 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 openSUSE Leap 15.5 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP1 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP2 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise High Performance Computing 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Manager Server 4.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Desktop 15 SP4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Manager Retail Branch Server 4.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Manager Proxy 4.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise High Performance Computing 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server for SAP Applications 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Desktop 15 SP5 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.5 (src): gcc13-13.2.1+git7813-150000.1.6.1 Basesystem Module 15-SP4 (src): gcc13-13.2.1+git7813-150000.1.6.1 Basesystem Module 15-SP5 (src): gcc13-13.2.1+git7813-150000.1.6.1 Development Tools Module 15-SP4 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 Development Tools Module 15-SP5 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Package Hub 15 15-SP4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Package Hub 15 15-SP5 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Enterprise Storage 7.1 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE CaaS Platform 4.0 (src): cross-nvptx-gcc13-13.2.1+git7813-150000.1.6.1, gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.1 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.2 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro for Rancher 5.2 (src): gcc13-13.2.1+git7813-150000.1.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.
SUSE-SU-2023:4480-1: An update that solves one vulnerability, contains five features and has nine security fixes can now be installed. Category: security (important) Bug References: 1206480, 1206684, 1210557, 1211427, 1212101, 1213915, 1214052, 1214460, 1215427, 1216664 CVE References: CVE-2023-4039 Jira References: PED-153, PED-2005, PED-252, PED-253, PED-6584 Sources used: Toolchain Module 12 (src): gcc13-13.2.1+git7813-1.10.1, cross-nvptx-gcc13-13.2.1+git7813-1.10.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): gcc13-13.2.1+git7813-1.10.1 SUSE Linux Enterprise Server 12 SP5 (src): gcc13-13.2.1+git7813-1.10.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): gcc13-13.2.1+git7813-1.10.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.
SUSE-SU-2024:0045-1: An update that solves one vulnerability, contains five features and has nine security fixes can now be installed. Category: security (important) Bug References: 1206480, 1206684, 1210557, 1211427, 1212101, 1213915, 1214052, 1214460, 1215427, 1216664 CVE References: CVE-2023-4039 Jira References: PED-153, PED-2005, PED-252, PED-253, PED-6584 Sources used: SUSE Linux Enterprise Micro for Rancher 5.4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.4 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.5 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): gcc13-13.2.1+git7813-150000.1.6.1 SUSE Linux Enterprise Micro 5.3 (src): gcc13-13.2.1+git7813-150000.1.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.