Cross-compiling with 4.1 ?

Kai Blin kai at
Tue Oct 15 15:41:52 MDT 2013

On 15/10/13 21:12, Jeremy Allison wrote:
> On Tue, Sep 03, 2013 at 09:09:30AM +1200, Andrew Bartlett wrote:
>> Given the autoconf build is still supported in 4.0, you should at least
>> be able to move to that.  Of course, we do need to fix this for you to
>> move to 4.1.
> The lack of cross compiling for 4.1.x is becoming a serious
> impediment for OEMs for Samba 4.1.x.
> I've flagged bug:
> as a critical regression.
> Do we have anyone on the Team who is a waf expert
> and willing to step up and fix this ?

I'm comfortable enough with waf, I guess, but I don't know much about 
cross-compiling. However, if anybody can point me at how to set up a 
cross-compile environment for autoconf in 4.0, I'd be willing to give it 
a shot.

> If not the only alternative will be to restore
> autoconf functionality for building smbd and the
> other file server components in the next release
> of 4.1.x.

And you're saying that we have a team member who could fix 
cross-compilation problems on the autoconf build? Maybe that person 
would be a good candidate to work with me to get cross-compiles into waf.


Kai Blin
Worldforge developer
Wine developer
Samba team member

More information about the samba-technical mailing list