On torsdagen den 6 juni 2013, Magnus Holmgren wrote:
On torsdagen den 6 juni 2013, Magnus Holmgren wrote:
Oh, now I know! The problem is of course that the modules aren't being linked dynamically at all. That's probably the reason behind issue #3, too. I guess there's been some code rot because nobody ever links the modules statically. You might want to look into why static modules don't work - but probably not...
Excerpt from config.log:
configure:75019: checking if dynamic loading works /home/holmgren/pike7.8-7.8.700/bin/smartlink gcc -c -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O3 -pipe - ggdb3 -fPIC conftest.c -o conftest.o /home/holmgren/pike7.8-7.8.700/bin/smartlink gcc -Wl,-Bshareable -Wl,-z,relro -Wl,--as-needed
What "GNU" system did you have in mind here?
GNU*) LDSHARED="$REALCC -Wl,-Bshareable";;
(src/configure.in line 7893). With the usual -shared, building dynamic modules works.