|
Bugzilla – Full Text Bug Listing |
| Summary: | devel:gcc/binutils: Unable to build simple program without linking several additional libraries | ||
|---|---|---|---|
| Product: | [openSUSE] PUBLIC SUSE Linux Enterprise Desktop 15 SP5 | Reporter: | Jan André Reuter <j.reuter> |
| Component: | Other | Assignee: | Michael Matz <matz> |
| Status: | NEW --- | QA Contact: | Frederic Crozat <fcrozat> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | j.reuter |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Compiler output when trying to build the example code | ||
|
Description
Jan André Reuter
2024-06-03 11:06:18 UTC
To give a more specific case where we run into issues: I've opened a pull request to update Score-P (a performance measurement infrastructure for HPC systems) in the OpenHPC repository from 7.1 to 8.4. In version 8.0, we added the requirement to `binutils-devel` in our package, as we use `addr2line` to get source line information. For the PR, I've added a patch for OpenSUSE only to allow building Score-P with the additional required flags. All other distributions I'm working with do not require this workaround. However, this STILL causes issues, as the required flags change between `binutils-devel` versions. With 2.39 (in Leap 15.5 OSS repositories), we require ``` -lbfd -liberty -ldl -lz ``` With 2.41 (in Leap 15.6 OSS / SUSE Linux Enterprise 15 repositories), we require ``` -lbfd -liberty -ldl -lz -lsframe ``` This is horrible when trying to build an RPM package. More information can be found at the bottom of the PR: https://github.com/openhpc/ohpc/pull/1985 |