From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 13:33:52 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8C744BDB; Fri, 22 Feb 2013 13:33:52 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 59BC2F99; Fri, 22 Feb 2013 13:33:51 +0000 (UTC) Received: from mr129166.localdomain (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id E2A52AD2B; Fri, 22 Feb 2013 14:26:23 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by mr129166.localdomain (Postfix) with ESMTP id 7FA6060B7; Fri, 22 Feb 2013 14:26:23 +0100 (CET) Date: Fri, 22 Feb 2013 14:26:23 +0100 From: Patrick Lamaiziere To: freebsd-current@freebsd.org Subject: Re: r245741 (clang as cc) can not build binaries for GEODE processor Message-ID: <20130222142623.389445fe@mr129166> In-Reply-To: <1812992178.20130222164558@serebryakov.spb.ru> References: <108875110.20130222104603@serebryakov.spb.ru> <1812992178.20130222164558@serebryakov.spb.ru> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: lev@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 13:33:52 -0000 Le Fri, 22 Feb 2013 16:45:58 +0400, Lev Serebryakov a écrit : Hello, > Hello, Daniel. > You wrote 22 февраля 2013 г., 16:04:11: > > DN> I'm not familiar with NanoBSD, but does it do the package builds > DN> for you - or do you do those by hand? > DN> If it's the latter, I don't quite understand how the compiler is > DN> supposed to know the target CPUTYPE? > It is latter, but IMHO, _without_ any CPUTYPE set, system compiler > should generate generic enough binaries to run on all supported CPUs > of target platform (i386 in this case). Clang should work now if march=geode (see: http://llvm.org/bugs/show_bug.cgi?id=11212 ) But I agree that by default on i386, the code should work on i386... Looks like this is not true anymore (>= i686 ?). Regards.