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

Try to fix libunwind source build #55624

Closed
wants to merge 1 commit into from
Closed

Conversation

Zentrik
Copy link
Member

@Zentrik Zentrik commented Aug 29, 2024

Maybe fixes #55617, haven't tested this yet.

@Zentrik Zentrik added building Build system, or building Julia or its dependencies external dependencies Involves LLVM, OpenBLAS, or other linked libraries labels Aug 29, 2024
@NickCao
Copy link

NickCao commented Aug 29, 2024

The patch doesn't apply cleanly on 1.10, applied a modified version, but LDFLAGS appears to be empty:

It was created by libunwind configure 1.5.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /build/julia-1.10.5/deps/srccache/libunwind-1.5.0//configure --prefix=/build/julia-1.10.5/usr --build=x86_64-unknown-linu
x-gnu --libdir=/build/julia-1.10.5/usr/lib --bindir=/build/julia-1.10.5/usr/tools LDFLAGS= -Wl,-rpath,'$$ORIGIN' -Wl,-z,origi
n -Wl,-rpath-link,/build/julia-1.10.5/usr/lib -Wl,--enable-new-dtags  F77=gfortran -m64 CC=gcc -m64  CXX=g++ -m64  LD=ld CPPF
LAGS=  CFLAGS= -U_FORTIFY_SOURCE -fPIC  LDFLAGS= --enable-shared --disable-minidebuginfo --disable-tests --enable-zlibdebugin
fo --disable-conservative-checks

@Zentrik Zentrik closed this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies external dependencies Involves LLVM, OpenBLAS, or other linked libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libunwind build system not picking up LDFLAGS causing build failure on systems without zlib
2 participants