Samba 4.2.0rc1 cross compile test results

Gustavo Zacarias gustavo at
Wed Oct 1 06:55:33 MDT 2014

Hi all.
I've run a couple of cross compiles for samba 4.2.0rc1 and the results
are pretty good.
There are just two minor outstanding nits.

1) Is nsswitch a mandatory dep for 4.2.x?
With 4.1.x this wasn't the case.
rc1 gives me the #error "No nsswitch support detected" salute when built
against a uClibc-based toolchain.
This might also affect musl targets as well, haven't tested that yet.
It's not really serious, i'm just looking for a confirmation or
denial/fix - NAS-class targets usually take a lot of space in the form
of samba itself and benefit from generous resources (RAM), so the space
savings and/or targets supported exclusively by the smaller libcs is
usually off limits.

2) libbsd support has the following unfortunate result:
Currently i just completely disable libbsd support with a patch, maybe a
--disable-libbsd option would be desirable.

Otherwise, everything seems pretty smooth and congrats on the release.

More information about the samba-technical mailing list