[sudo] configure --host=i386

Jason Hellenthal jhellenthal at dataix.net
Wed Feb 29 04:27:22 UTC 2012


Try i486 instead. There is a setting in the compiler code that was
changed a long while back to where it will only compile to i486 and
above. I would think that this is probably what you are seeing.

This is what I have on 8-STABLE for GCC but for clang I have no clue.

contrib/gcc/config/i386/i386.c

On Tue, Feb 28, 2012 at 11:00:19AM -0800, Sean Bruno wrote:
> I was trying to cross compile sudo for i386 on an amd64 host and was
> befuddled by the following ./configure error output.
> 
> checking for library containing crypt... -lcrypt
> checking for library containing getspnam... no
> checking for library containing getprpwnam... no
> configure: error: "dlopen present but libtool doesn't appear to support
> your platform."
> 
> 
> I've tried this on 7,8,9 and head with the same result.  Thoughts?
> 
> Sean
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"

-- 
;s =;


More information about the freebsd-hackers mailing list