This project is closed and read-only.
Actions
Backport #6080
closedfails to define RUBY_FUNC_EXPORTED when compiled with clang
Backport #6080:
fails to define RUBY_FUNC_EXPORTED when compiled with clang
Status:
Closed
Assignee:
Description
When compiling with clang, configure fails the checking for exported function attribute step and therefore does not generate a define for RUBY_FUNC_EXPORTED. This causes 3rd party gems such as ruby-debug-base to fail due to missing symbols.
Here is the relevant configure.log output:
https://gist.github.com/1904618
I am not sure why configure decided that the first program, using __attribute__ ((visibility("default"))), failed. It successfully compiled and is correct.
Actions