From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 04:27:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7738D106566C for ; Wed, 29 Feb 2012 04:27:22 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD038FC0A for ; Wed, 29 Feb 2012 04:27:21 +0000 (UTC) Received: by iahk25 with SMTP id k25so1565852iah.13 for ; Tue, 28 Feb 2012 20:27:21 -0800 (PST) Received-SPF: pass (google.com: domain of jhellenthal@dataix.net designates 10.50.100.202 as permitted sender) client-ip=10.50.100.202; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jhellenthal@dataix.net designates 10.50.100.202 as permitted sender) smtp.mail=jhellenthal@dataix.net; dkim=pass header.i=jhellenthal@dataix.net Received: from mr.google.com ([10.50.100.202]) by 10.50.100.202 with SMTP id fa10mr25439634igb.10.1330489641743 (num_hops = 1); Tue, 28 Feb 2012 20:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=nAQTeDhX5hEz1b4G+JTko6LbnaHh4Tc5YJuK+0KXRzs=; b=d/22DQBUInn59h50XoB6ZFd+GM521h2ShAnlj1TD9H1B3AeWi6afNOl943gPQP2sGi hJ++xW9+LuN+DxvFCZCBg8xtLpo8rrJGlGBOg2WFGlyDdZSudy1F6gYz6EVnuwja/6V5 Ube56DfhOtzm+k7kdxp8camqLZ8zlQRHk5nc8= Received: by 10.50.100.202 with SMTP id fa10mr20609972igb.10.1330486537545; Tue, 28 Feb 2012 19:35:37 -0800 (PST) Received: from DataIX.net (adsl-99-181-159-39.dsl.klmzmi.sbcglobal.net. [99.181.159.39]) by mx.google.com with ESMTPS id em2sm15521194igc.0.2012.02.28.19.35.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Feb 2012 19:35:36 -0800 (PST) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q1T3ZXOV014876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2012 22:35:33 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Received: (from jhellenthal@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q1T3ZXS1014602; Tue, 28 Feb 2012 22:35:33 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Date: Tue, 28 Feb 2012 22:35:33 -0500 From: Jason Hellenthal To: sbruno@freebsd.org Message-ID: <20120229033533.GA84100@DataIX.net> References: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> X-Gm-Message-State: ALoCoQmeqNO7d6KSNaa5PbfNsDBNND3qj1WgqskRKwKMZ27brbOhjLMw//I0tkcLk4xi0yy0Xb8K Cc: "freebsd-hackers@freebsd.org" Subject: Re: [sudo] configure --host=i386 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 04:27:22 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- ;s =;