Bug 1210687 - [META] binutils-gold is unmaintained and will be dropped
Summary: [META] binutils-gold is unmaintained and will be dropped
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Martin Liška
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 1170826 1200962 1210688
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-20 10:41 UTC by Martin Liška
Modified: 2024-01-10 12:30 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2023-04-20 10:41:38 UTC
This meta bug records all packages that currently depend on binutils-gold and have some troubles with BFD linker. The gold linker is unmaintained and we would like to drop it in *near* future.
Comment 1 Martin Liška 2023-04-20 10:43:18 UTC
We speak about openSUSE:Factory and SUSE:ALP projects.
Comment 2 Martin Liška 2023-04-20 11:45:05 UTC
If I see corrently there's an upstream Aarch64 issue that hasn't been resolved yed:
https://github.com/golang/go/issues/22040

That likely affects nodejs-electron, docker_auth, and similar Go packages.
Comment 5 Maintenance Automation 2023-08-24 08:54:49 UTC
SUSE-FU-2023:3413-1: An update that solves two vulnerabilities, contains three features and has four feature fixes can now be installed.

Category: feature (important)
Bug References: 1198666, 1200085, 1204040, 1209242, 1210687, 1211746
CVE References: CVE-2023-0950, CVE-2023-2255
Jira References: PED-3549, PED-3550, PED-3561
Sources used:
openSUSE Leap 15.4 (src): xmlsec1-1.2.37-150400.14.3.4, libreoffice-7.5.4.1-150400.17.12.4
openSUSE Leap Micro 5.3 (src): xmlsec1-1.2.37-150400.14.3.4
openSUSE Leap Micro 5.4 (src): xmlsec1-1.2.37-150400.14.3.4
openSUSE Leap 15.5 (src): xmlsec1-1.2.37-150400.14.3.4, libreoffice-7.5.4.1-150400.17.12.4
SUSE Linux Enterprise Micro for Rancher 5.3 (src): xmlsec1-1.2.37-150400.14.3.4
SUSE Linux Enterprise Micro 5.3 (src): xmlsec1-1.2.37-150400.14.3.4
SUSE Linux Enterprise Micro for Rancher 5.4 (src): xmlsec1-1.2.37-150400.14.3.4
SUSE Linux Enterprise Micro 5.4 (src): xmlsec1-1.2.37-150400.14.3.4
Basesystem Module 15-SP4 (src): xmlsec1-1.2.37-150400.14.3.4
Basesystem Module 15-SP5 (src): xmlsec1-1.2.37-150400.14.3.4
SUSE Package Hub 15 15-SP4 (src): xmlsec1-1.2.37-150400.14.3.4, libreoffice-7.5.4.1-150400.17.12.4
SUSE Package Hub 15 15-SP5 (src): xmlsec1-1.2.37-150400.14.3.4, libreoffice-7.5.4.1-150400.17.12.4
SUSE Linux Enterprise Workstation Extension 15 SP4 (src): xmlsec1-1.2.37-150400.14.3.4, libreoffice-7.5.4.1-150400.17.12.4
SUSE Linux Enterprise Workstation Extension 15 SP5 (src): libreoffice-7.5.4.1-150400.17.12.4

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.
Comment 7 Maintenance Automation 2023-09-20 12:30:59 UTC
SUSE-FU-2023:3696-1: An update that solves two vulnerabilities, contains three features and has four fixes can now be installed.

Category: feature (important)
Bug References: 1198666, 1200085, 1204040, 1209242, 1210687, 1211746
CVE References: CVE-2023-0950, CVE-2023-2255
Jira References: PED-1785, PED-3550, PED-3561
Sources used:
SUSE OpenStack Cloud 9 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE OpenStack Cloud Crowbar 9 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Server for SAP Applications 12 SP4 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): xmlsec1-1.2.37-8.6.21, libreoffice-7.5.4.1-48.44.2, atk-2.28.1-6.5.23, libmwaw-0.3.21-7.24.14
SUSE Linux Enterprise Server 12 SP2 BCL 12-SP2 (src): atk-2.28.1-6.5.23
SUSE Linux Enterprise Server 12 SP4 ESPOS 12-SP4 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Server 12 SP4 LTSS 12-SP4 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Server 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Workstation Extension 12 12-SP5 (src): libreoffice-7.5.4.1-48.44.2, fixmath-2022.07.20-8.3.48, libmwaw-0.3.21-7.24.14, dragonbox-1.1.3-8.3.48

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.
Comment 8 Bruno Pitrus 2023-10-19 14:45:57 UTC
Does anyone know the reason for this build error (it blocks this bug)?

obj/third_party/electron_node/deps/uv/uv/threadpool.o: in function `init_once':
/home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/deps/uv/src/threadpool.c:254:(.text+0x2bc): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_atfork' defined in .text section in /usr/lib64/libc_nonshared.a(pthread_atfork.oS)

It happens when i try to build elecron on aarch64 Tumbleweed — probably because the binary is bigger than 128MB.

It builds fine on aarch64 Fedora 39 with bfd linker — and a user reports that it runs too.
Comment 9 Michael Matz 2023-10-19 15:07:49 UTC
Hmm, the linker is supposed to insert stubs for function calls that try to reach
target functions that are too far away.  This should only fail when an individual
function or input section is larger than 128MB.  It may be that (in which case it
might be right at around that number, so that it so happens to work in Fedora) or
a genuine bug in the BFD linker.  Which project/repo is that?  I'll try to take a look when I find a local aarch64 worker.
Comment 10 Bruno Pitrus 2023-10-19 19:27:59 UTC
https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron

It is rebuilding rn as i just pushed an upgrade to Electron 27.

I'm assuming it's not the size as the Fedora binary is bigger (217M vs 190M).

Enabling LTO would probably help but I could not get it to work due to OOM — an LTO link seems to require ~25G on x86_64, and probably more on aarch64 (judging by the larger binaries)
Comment 11 Michael Matz 2023-10-20 14:05:26 UTC
(In reply to dziobian from comment #10)
> https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-
> electron
> 
> It is rebuilding rn as i just pushed an upgrade to Electron 27.

I guess this needs changes to build with the BFD linker so I can see the problem?
Which ones exactly?  Or alternatively, how to call osc build to reproduce?
Comment 12 Michael Matz 2023-10-20 16:39:46 UTC
(In reply to Michael Matz from comment #11)
> 
> I guess this needs changes to build with the BFD linker so I can see the
> problem?
> Which ones exactly?  Or alternatively, how to call osc build to reproduce?

No matter, I can reproduce.  Will have to wait until next week for analysis.
Comment 13 Bruno Pitrus 2023-10-20 19:00:51 UTC
(In reply to Michael Matz from comment #11)
> I guess this needs changes to build with the BFD linker so I can see the
> problem?
> Which ones exactly?  Or alternatively, how to call osc build to reproduce?

osc build --without gold
Comment 14 Maintenance Automation 2024-01-10 12:30:06 UTC
SUSE-SU-2024:0075-1: An update that solves two vulnerabilities, contains three features and has four security fixes can now be installed.

Category: security (important)
Bug References: 1198666, 1200085, 1204040, 1209242, 1210687, 1211746
CVE References: CVE-2023-0950, CVE-2023-2255
Jira References: PED-1785, PED-3550, PED-3561
Sources used:
SUSE OpenStack Cloud 9 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE OpenStack Cloud Crowbar 9 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23, libmwaw-0.3.21-7.24.14, libreoffice-7.5.4.1-48.44.2
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Server 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): xmlsec1-1.2.37-8.6.21, atk-2.28.1-6.5.23
SUSE Linux Enterprise Workstation Extension 12 12-SP5 (src): fixmath-2022.07.20-8.3.48, dragonbox-1.1.3-8.3.48, libmwaw-0.3.21-7.24.14, libreoffice-7.5.4.1-48.44.2

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.