-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
FreeBSD: propose a simpler way to deal with libgcc_s #22656
Conversation
@@ -40,14 +40,10 @@ CMAKE_COMMON += -DCMAKE_RC_COMPILER="$$(which $(CROSS_COMPILE)windres)" | |||
endif | |||
endif | |||
|
|||
# NOTE: Do not make RPATH changes in CMAKE_COMMON on platforms other than FreeBSD, since | |||
# it will make its way into the LLVM build flags, and LLVM is picky about RPATH (though |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see this comment, shouldn't revert this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I will revoke the first commit, then remove this code block only.
Tweak the order of libgcc_s in DT_NEEDED. Make FreeBSD do not require `BUILD_CUSTOM_LIBCXX`. See also: JuliaLang#21788, JuliaLang#22352
deps/tools/common.mk
Outdated
@@ -43,11 +43,6 @@ endif | |||
# NOTE: Do not make RPATH changes in CMAKE_COMMON on platforms other than FreeBSD, since | |||
# it will make its way into the LLVM build flags, and LLVM is picky about RPATH (though | |||
# apparently not on FreeBSD). Ref PR #22352 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to re-arrange this comment block elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
near the remaining rpath settings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no any line related to CMAKE_INSTALL_RPATH
in this file...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd just put the comment block near the top of the file so that anyone who goes into the file wanting to make RPATH changes will find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 @ df74190
Build of travis-ci got timeout.... |
Very nice, a much more elegant solution than what I had initially put in place. I did a full nuke and rebuild locally on FreeBSD and this seems to be working great. Do we still need |
good to go? |
Tweak the order of libgcc_s in DT_NEEDED on FreeBSD so that building on FreeBSD does not require `BUILD_CUSTOM_LIBCXX`. See also: JuliaLang#21788, JuliaLang#22352
Tweak the order of libgcc_s in DT_NEEDED.
Making FreeBSD do not require
BUILD_CUSTOM_LIBCXX
.