Skip to content

Commit cb403e6

Browse files
Rogerluostaticfloat
Rogerluo
authored andcommitted
Fix issue JuliaPackaging#121 Change `detect_libcxx_abi()` to return `:gcc_any` and just throw a warning instead of an error when it can't find symbols properly.
1 parent 00f4910 commit cb403e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PlatformNames.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ function detect_libstdcxx_abi()
619619

620620
# Full list available here: https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
621621
if max_version < v"3.4.18"
622-
error("libstdc++ ABI version '$max_version' too small; please build Julia with GCC >= 4.8.5")
622+
@warn "Cannot make sense of autodetected libstdc++ ABI version ('$max_version')"
623+
return :gcc_any
623624
elseif max_version < v"3.4.23"
624625
# If we aren't up to 7.1.0, then we fall all the way back to 4.8.5
625626
return :gcc4

0 commit comments

Comments
 (0)