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

fix(main/binutils-libs): Downgrade a new llvm error so we can keep building. #18813

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

tstein
Copy link
Contributor

@tstein tstein commented Dec 24, 2023

Saw this in #18758. llvm appears to have upgraded a warning to an error
(https://reviews.llvm.org/D135402), and while they're not wrong to do
so, this package and others
(rust-lang/rust#105967) depended on it. This
is the simple fix, per the llvm reviews link.

Fixes #18750.

…ilding.

Saw this in termux#18758. llvm appears to have upgraded a warning to an error
(https://reviews.llvm.org/D135402), and while they're not wrong to do
so, this package and others
(rust-lang/rust#105967) depended on it. This
is the simple fix, per the llvm reviews link.

Fixes termux#18750.
@tstein tstein marked this pull request as ready for review December 24, 2023 19:20
@twaik
Copy link
Member

twaik commented Dec 24, 2023

#18761 (comment)

Copy link
Member

@licy183 licy183 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I'd like to merge this PR with [skip ci]. ctf_label_set and ctf_label_get is declared in bminor/binutils-gdb@6dbf2b7. The author said Notably absent from here (though declared in the API header) is any way to define new labels: this will probably be introduced soon, as part of the linker deduplication work., but these methods to define new labels, namely ctf_label_set and ctf_label_get, have not been introduced yet, and it is not clear whether they will be introduced later. Therefore, I think appending -Wl,--undefined-version to LDFLAGS seems appropriate for this issue.

Tracked by: #18810

@licy183 licy183 merged commit 54b157e into termux:master Dec 25, 2023
bigbio2002 pushed a commit to bigbio2002/termux-packages that referenced this pull request Feb 27, 2024
…ermux#18813)

Saw this in termux#18758. llvm appears to have upgraded a warning to an error
(https://reviews.llvm.org/D135402), and while they're not wrong to do
so, this package and others
(rust-lang/rust#105967) depended on it. This
is the simple fix, per the llvm reviews link.

Fixes termux#18750

[skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Failed to build package 'apt' for arch 'aarch64'
3 participants