From owner-freebsd-current@FreeBSD.ORG Sat Oct 29 16:22:31 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 267AF1065672 for ; Sat, 29 Oct 2011 16:22:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id DE6DE8FC16 for ; Sat, 29 Oct 2011 16:22:30 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:89e1:b26d:b9ae:d0c1] (unknown [IPv6:2001:7b8:3a7:0:89e1:b26d:b9ae:d0c1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1A18D5C37; Sat, 29 Oct 2011 18:22:30 +0200 (CEST) Message-ID: <4EAC284A.4000001@FreeBSD.org> Date: Sat, 29 Oct 2011 18:22:34 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111019 Thunderbird/8.0 MIME-Version: 1.0 To: David Marec References: <4EAC033E.6010201@davenulle.org> In-Reply-To: <4EAC033E.6010201@davenulle.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: [9.0-RC1 FreeBSD] [amd64] buildworld fails on building lib/libss with CLANG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 29 Oct 2011 16:22:31 -0000 On 2011-10-29 15:44, David Marec wrote: > Running FreebSD 9.0 RC-1, the "make buildworld" processing failed on the > following error on its attempt to build 'lib/libssp': > > ===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install) > rm -f .depend > CC='clang' mkdep -f .depend -a -DHAVE_CONFIG_H > -I/usr/src/gnu/lib/libssp/libs > sp_nonshared/.. > -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/g > cclibs/libssp > -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcc > libs/include -DPIC > /usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/ > gcclibs/libssp/ssp-local.c > clang -O2 -pipe -march=native -DHAVE_CONFIG_H > -I/usr/src/gnu/lib/libssp/libssp_n > onshared/.. > -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gccl > ibs/libssp > -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gccli > bs/include -fPIC -DPIC -fvisibility=hidden -std=gnu99 -fstack-protector > -c /usr > /src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-loca > l.c > error: unknown target CPU 'amdfam10' > *** Error code 1 > > Stop in /usr/src/gnu/lib/libssp/libssp_nonshared. > *** Error code 1 I think the problem is caused by using CPUTYPE=native in make.conf. Is that what you are using? If so, please add DEBUG_FLAGS=-v to your make command line, log the whole thing, and upload the log somewhere. (Don't post it to the list, because it will probably be very large.)