without -flto or without -O2 produce good (expected) result:
configure:5332: checking for dlsym
configure:5369: clang -o conftest -O2 -pipe -march=ivybridge -O2 -pipe
conftest.c >&5
/tmp/conftest-597c62.o:conftest.c:function main: error: undefined
reference to 'd
On 01/16/2017 10:32 AM, Xuefer wrote:
> without -flto or without -O2 produce good (expected) result:
>
> configure:5332: checking for dlsym
> ...
It isn't the linker that is the problem here. It is the compiler. But
it isn't a compiler bug. An