fails to define RUBY_FUNC_EXPORTED when compiled with clang
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:
I am not sure why configure decided that the first program, using
__attribute__ ((visibility("default"))), failed. It successfully compiled and is correct.
Updated by nobu (Nobuyoshi Nakada) about 8 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r34840.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- configure.in (debugflags): check if -ggdb is accepted. [ruby-core:42875][Bug #6080]