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 <vtjnash@gmail.com>
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
* Addressed review comments.
* Change error handling in wrapper functions
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* Call write_wrapper three times instead of snprintf
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* Apply suggestions from code review
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* Update cli/loader_lib.c
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* 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 <vtjnash@gmail.com>
* Update cli/loader_lib.c
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* Specified path to bundled libstdc++ on the command line.
* Removed whitespace.
* Update cli/Makefile
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* 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 <max@quendi.de>
Co-authored-by: Mosè Giordano <mose@gnu.org>
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
Co-authored-by: Max Horn <max@quendi.de>
Copy file name to clipboardExpand all lines: NEWS.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,8 @@ Deprecated or removed
187
187
188
188
External dependencies
189
189
---------------------
190
-
190
+
* 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`.
191
+
* Removed `RPATH` from the julia binary. On Linux this may break libraries that have failed to set `RUNPATH`.
0 commit comments