Executables linked with Samba libraries needing libaesni-intel-samba4.so cannot start: journalctl -u nmb -b: Dec 03 11:08:35 roxie.blkdiamonds.lan systemd[1]: Starting Samba NMB Daemon... Dec 03 11:08:40 roxie.blkdiamonds.lan nmbd[1591]: /usr/sbin/nmbd: error while loading shared libraries: libaesni-intel-samba4.so: cannot enable executable Dec 03 11:08:46 roxie.blkdiamonds.lan systemd[1]: nmb.service: Main process exited, code=exited, status=127/n/a Dec 03 11:08:46 roxie.blkdiamonds.lan systemd[1]: Failed to start Samba NMB Daemon. Dec 03 11:08:46 roxie.blkdiamonds.lan systemd[1]: nmb.service: Unit entered failed state. Dec 03 11:08:46 roxie.blkdiamonds.lan systemd[1]: nmb.service: Failed with result 'exit-code'.
Created attachment 13837 [details] patch for master
Created attachment 13838 [details] patch for master
Comment on attachment 13838 [details] patch for master This patch breaks the build when using the ADDITIONAL_LDFLAGS option. If I specify for example ADDITIONAL_LDFLAGS="-z textoff", gcc is called with a 'textoff' argument, without the '-z'. This produces the following error: [3457/4105] Linking default/third_party/aesni-intel/libaesni-intel-samba4.so gcc: error: textoff: No such file or directory Björn
Created attachment 13839 [details] patch v2 for master
Comment on attachment 13839 [details] patch v2 for master Ok.
Created attachment 13850 [details] patch for 4.7
Karolin, please add the patch to 4.7. Thanks!
(In reply to Andreas Schneider from comment #7) Pushed to autobuild-v4-7-test.
(In reply to Karolin Seeger from comment #8) Pushed to v4-7-test. Closing out bug report. Thanks!