Skip to content

etsf-io: make object relocatable#45646

Merged
alalazo merged 1 commit intospack:developfrom
hmenke:etsf-io
Aug 12, 2024
Merged

etsf-io: make object relocatable#45646
alalazo merged 1 commit intospack:developfrom
hmenke:etsf-io

Conversation

@hmenke
Copy link
Copy Markdown
Member

@hmenke hmenke commented Aug 9, 2024

Fixes errors like this:

/spack/opt/spack/linux-debian11-sandybridge/gcc-12.3.0/binutils-2.40-4fbnejarvo7chmfhnyfa55fk7n5nrouh/bin/ld: /spack/opt/spack/linux-debian11-sandybridge/gcc-12.3.0/etsf-io-1.0.4-d33ifmk5oidh6nqltk2hmda2wusrquhd/lib/libetsf_io.a(etsf_io.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

The upstream package doesn't support building shared libraries and has been abandoned about 9 years ago, so it doesn't see likely that support will ever be added.

For comparison, Debian also simply adds -fPIC to make it possible to link etsf-io into a shared library: https://salsa.debian.org/science-team/etsf-io/-/blob/master/debian/rules?ref_type=heads#L9

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Aug 9, 2024

Hi @hmenke! I noticed that the following package(s) don't yet have maintainers:

  • etsf-io

Are you interested in adopting any of these package(s)? If so, simply add the following to the package class:

    maintainers("hmenke")

If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with spack blame:

$ spack blame etsf-io

Thank you for your help! Please don't add maintainers without their consent.

You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer.

@alalazo alalazo self-assigned this Aug 12, 2024
@alalazo alalazo enabled auto-merge (squash) August 12, 2024 13:26
@alalazo alalazo merged commit 6f61e38 into spack:develop Aug 12, 2024
@hmenke hmenke deleted the etsf-io branch August 13, 2024 07:44
hmenke added a commit to hmenke/spack that referenced this pull request Aug 13, 2024
hmenke added a commit to hmenke/spack that referenced this pull request Aug 13, 2024
hmenke added a commit to hmenke/spack that referenced this pull request Aug 13, 2024
diehlpk pushed a commit to diehlpk/spack that referenced this pull request Aug 14, 2024
Chrismarsh pushed a commit to Chrismarsh/spack that referenced this pull request Aug 16, 2024
tldahlgren pushed a commit to AcriusWinter/spack that referenced this pull request Aug 20, 2024
FrederickDeny pushed a commit to FrederickDeny/spack that referenced this pull request Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants