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(aarch64): Fix build failure on ARM architecture chips #2013

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

acelyc111
Copy link
Member

Fix build failures like:

/bin/ld: /.../thirdparty/output/lib/libcurl.a(libcurl_la-content_encoding.o): in function `brotli_close_writer':
content_encoding.c:(.text+0x2c): undefined reference to `BrotliDecoderDestroyInstance'
/bin/ld: /.../thirdparty/output/lib/libcurl.a(libcurl_la-easy.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `malloc' which may bind externally can not be used when making a shared object; recompile with -fPIC
/bin/ld: /.../thirdparty/output/lib/libcurl.a(libcurl_la-easy.o)(.text+0x30): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `malloc'
/bin/ld: idn.c:(.text+0x34): undefined reference to `idn2_lookup_ul'

@acelyc111 acelyc111 marked this pull request as ready for review May 22, 2024 07:02
@acelyc111 acelyc111 changed the title fix: Fix build failure on ARM architecture chips fix(aarch): Fix build failure on ARM architecture chips May 22, 2024
@acelyc111 acelyc111 changed the title fix(aarch): Fix build failure on ARM architecture chips fix(aarch64): Fix build failure on ARM architecture chips May 22, 2024
@acelyc111 acelyc111 merged commit d00b251 into master May 22, 2024
57 of 60 checks passed
@acelyc111 acelyc111 deleted the fix_arm branch May 23, 2024 14:21
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.

3 participants