Cross-compilation still broken on 5.0.3
Hi all;
I still can't cross-compile autofs in the latest build 5.0.3; I'm having the same problems as described in this thread, back in Nov 2006.
http://linux.kernel.org/pipermail/autofs/2006-November/003432.html
Is there any interest in getting this working properly and supporting it? It would be really helpful if it could be done.
Cheers!
Quoted 9 lines · Paul Smith
Hi all;
I still can't cross-compile autofs in the latest build 5.0.3; I'm having the same problems as described in this thread, back in Nov 2006.
http://linux.kernel.org/pipermail/autofs/2006-November/003432.html
Is there any interest in getting this working properly and supporting it? It would be really helpful if it could be done.
If you're going to get rid of the run-time check, then we need to add it as a "with" option or equivalent. PIE is Position Independent Execution, and it is recommended that long running processes be built with said flag. If you're cross compiling, hopefully you know whether the platform supports it.
Cheers,
Jeff
Ian Kent
maintainerQuoted 9 lines · Paul Smith
Hi all;
I still can't cross-compile autofs in the latest build 5.0.3; I'm having the same problems as described in this thread, back in Nov 2006.
http://linux.kernel.org/pipermail/autofs/2006-November/003432.html
Is there any interest in getting this working properly and supporting it? It would be really helpful if it could be done.
At the time of the post I think I was swamped so it didn't get much attention.
But is this patch to configure.in really all that's needed?
Ian
Quoted 1 line · Ian Kent
But is this patch to configure.in really all that's needed?
What that patch does is assume that PIE is disabled in all cross-compiled environments.
Jeff feels we should do something different: have a --with-pie flag rather than assuming no PIE for a cross-compiled environment. That's certainly more flexible. I can try to put something together that does that if that's the way you'd prefer to go.