From owner-freebsd-ports@FreeBSD.ORG Sun May 2 19:58:32 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0AAD106566C for ; Sun, 2 May 2010 19:58:32 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9934B8FC0C for ; Sun, 2 May 2010 19:58:32 +0000 (UTC) Received: from [192.168.1.4] (adsl-154-198-33.ard.bellsouth.net [72.154.198.33]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o42JwUd3051447 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 2 May 2010 15:58:30 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Garrett Cooper In-Reply-To: <28390E7D-8ED1-42F0-9476-537A9128D3E5@gmail.com> References: <20100502090442.GA2548@Abricot.malikania.fr> <20100502092610.GA50721@Abricot.malikania.fr> <1272803451.2452.17.camel@balrog.2hip.net> <28390E7D-8ED1-42F0-9476-537A9128D3E5@gmail.com> Content-Type: text/plain Organization: FreeBSD Date: Sun, 02 May 2010 14:58:24 -0500 Message-Id: <1272830304.2613.17.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.4 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Demelier David , "freebsd-ports@freebsd.org" Subject: Re: graphics/dri fails to build. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 19:58:32 -0000 On Sun, 2010-05-02 at 11:46 -0700, Garrett Cooper wrote: > On May 2, 2010, at 5:30 AM, Robert Noland wrote: > > > On Sun, 2010-05-02 at 11:26 +0200, Demelier David wrote: > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=143723 > >> > >> It seems adding CFLAGS+=-march-=native solved the problem but I > >> don't want to > >> keep this flag everytime in my make.conf > >> > >> How this flag could solve the problem ? I can't understand. > > > > This actually stems from libdrm. Intel requires certain atomics that > > are not available on pure i386. They are present in code built for > > i486 > > +. The default cpu was changed to i486 some time . > > Should the port be marked broken with -march=i386 then? Well, I'm not sure quite how we would do that... but if your kernel/world is not really old, it should just work unless you force gcc to produce code that will run on i386. robert. > -Garrett -- Robert Noland FreeBSD