Comment 7 for bug 234901

Revision history for this message
Steve Langasek (vorlon) wrote :

I'm not sure by what mechanism this has been fixed, but testing with nss_wins + libsmbclient in precise, I can no longer reproduce a crash due to -Wl,-Bsymbolic-functions.

According to the build log at https://launchpad.net/ubuntu/+source/samba/2:3.6.3-1ubuntu1/+build/3228461/+files/buildlog_ubuntu-precise-amd64.samba_2%3A3.6.3-1ubuntu1_BUILDING.txt.gz, the latest samba is built with these options:

      LDFLAGS = -pie -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L./bin
      LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L./bin -lc -Wl,-z,defs

Perhaps the presence of -Bsymbolic here resolves this.