Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Fix issue #121 (#125)
Browse files Browse the repository at this point in the history
Fix issue #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.
  • Loading branch information
Roger-luo authored and staticfloat committed Oct 10, 2018
1 parent 00f4910 commit cb403e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PlatformNames.jl
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ function detect_libstdcxx_abi()

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

0 comments on commit cb403e6

Please sign in to comment.