On Mon, May 26, 2014 at 11:47 PM, Antti Kantee <[email protected]> wrote: > On 26/05/14 22:42, Justin Cormack wrote: >> There are some interactions between -32 and other flags, eg you cant do >> ./buildrump.sh -32 -F CFLAGS='-march=i586' you need to use -m32 in >> flags too - not sure this is worth fixing, I think the behaviour is >> not unexpected. I think it fixes all my cross build and mips issues >> too. > > Why not? Doesn't -32 just put -m32 into the correct flags plus do some > extra sanity checking? > > Apart from that, nice.
Its adding the -m32 too late, it is trying to call the compiler first with just the -march=i586 which is not valid for amd64. eg it calls cppdefines __LP64__ to see if it is native 64 bit but it needs to do that with passed flags, as they could change __LP64__ eg if on mips you pass -mabi=n32. It might be possible to fix but its non obvious... Justin ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
