You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Probe if system libstdc++ is newer than ours
If the system libstdc++ is detected to be newer, load it.
Otherwise, load the one that we ship. This improves compatibility
with external shared libraries that the user might have on their
system.
Fixes#34276
Co-authored-by: Jameson Nash <[email protected]>
Co-authored-by: Elliot Saba <[email protected]>
* Addressed review comments.
* Change error handling in wrapper functions
Co-authored-by: Jameson Nash <[email protected]>
* Call write_wrapper three times instead of snprintf
Co-authored-by: Jameson Nash <[email protected]>
* Apply suggestions from code review
Co-authored-by: Jameson Nash <[email protected]>
* Update cli/loader_lib.c
Co-authored-by: Jameson Nash <[email protected]>
* Reordered reading and waiting to avoid a deadlock.
* Fixed obvious issues.
* Only load libstdc++ preemptively on linux.
* Update cli/loader_lib.c
Co-authored-by: Jameson Nash <[email protected]>
* Update cli/loader_lib.c
Co-authored-by: Jameson Nash <[email protected]>
* Specified path to bundled libstdc++ on the command line.
* Removed whitespace.
* Update cli/Makefile
Co-authored-by: Jameson Nash <[email protected]>
* Handled make install stringreplace.
* Correctly quoted stringreplace.
* Added -Wl,--enable-new-dtags to prevent DT_RPATH for transitive dependencies
* Updated news entry.
* Added comment about environment variable.
* patched rpath for libgfortran and libLLVM.
* Added explaination to Make.inc
* Removed trailing space
* Removed patchelf for libgfortran, now that BB has been fixed.
* Fixed typos and comments
Co-authored-by: Max Horn <[email protected]>
Co-authored-by: Mosè Giordano <[email protected]>
Co-authored-by: Jameson Nash <[email protected]>
Co-authored-by: Elliot Saba <[email protected]>
Co-authored-by: Max Horn <[email protected]>
(cherry picked from commit eb708d6)
Copy file name to clipboardexpand all lines: NEWS.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,8 @@ Deprecated or removed
244
244
245
245
External dependencies
246
246
---------------------
247
-
247
+
* On Linux, now autodetects the system libstdc++ version, and automatically loads the system library if it is newer. The old behavior of loading the bundled libstdc++ regardless of the system version obtained by setting the environment variable `JULIA_PROBE_LIBSTDCXX=0`.
248
+
* Removed `RPATH` from the julia binary. On Linux this may break libraries that have failed to set `RUNPATH`.
0 commit comments