Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binutils: Include libiberty in the build #168521

Closed
1 task done
SimonKagstrom opened this issue Apr 10, 2024 · 2 comments
Closed
1 task done

binutils: Include libiberty in the build #168521

SimonKagstrom opened this issue Apr 10, 2024 · 2 comments
Labels
features outdated PR was locked due to age

Comments

@SimonKagstrom
Copy link

SimonKagstrom commented Apr 10, 2024

Verification

Provide a detailed description of the proposed feature

I'm developing an application that links to libbfd. However, while it compiles, I get a lot of linker errors since libiberty isn't included in the MacOS build:

[...]
 "_sframe_decoder_get_abi_arch", referenced from:
      __bfd_elf_merge_section_sframe in libbfd.a[119](elf-sframe.o)
      __bfd_elf_merge_section_sframe in libbfd.a[119](elf-sframe.o)

libiberty looks to be includable by the --enable-install-libiberty argument to the build commands.

What is the motivation for the feature?

To be able to create applications that link with libiberty.

How will the feature be relevant to at least 90% of Homebrew users?

It will allow more applications to be available through homebrew :-)

What alternatives to the feature have been considered?

Self-building binutils. I've been through that hell before, and crashed and burned, and I now swore to never use self-builds of it again. I'll from now on use the ones from the distribution, but would prefer not to be tied to Linux-only.

@MikeMcQuaid MikeMcQuaid transferred this issue from Homebrew/brew Apr 10, 2024
@SMillerDev
Copy link
Member

I believe all the options that work on macOS are enabled, but you can make a pull request to adjust the formula and we'll happily review it.

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
@SMillerDev
Copy link
Member

Closing this since feature requests should be in the form of a pull request

@github-actions github-actions bot added the outdated PR was locked due to age label May 11, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
features outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants