From owner-freebsd-questions@FreeBSD.ORG Sat Mar 24 16:09:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A610106564A for ; Sat, 24 Mar 2012 16:09:50 +0000 (UTC) (envelope-from jamebus@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C9F968FC18 for ; Sat, 24 Mar 2012 16:09:49 +0000 (UTC) Received: by lboi15 with SMTP id i15so4136388lbo.13 for ; Sat, 24 Mar 2012 09:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=fC3er+5WG3rIQ2mjf8cpBit/4lIz7AM7Zw/SdR4y9VY=; b=v9KsKdLEQWQPwdbQX7016WkGn3WLnwYz3iFwO3CM7OT6MlzWjQk3nvVMqaKy6PuFR/ KwYCWUrN3k66BBiht2Fvau0n8isIY2ifupFUe4CD6KjBnf9Vz+LfvQmHaSwc8nS5R4HW zSli8bRXg1QzZn1kIgI6BT885a2OMREf8hWRbvQ5j1s5+VKvMgW265ZXhGJFuWtGC9Te 3lDDm7slWknVc35sTNYJ1xBoTHe2tKM5y9CcEss8LrB4lhmdvap1e1LC8vuFhlbYIb0y HAIbNMb4z+buIPAhEx+SBZV0hN/T3NfnqlXRjoX72EcnTBeS0GdLbgKcw/IWwfJDL4YN WzWw== MIME-Version: 1.0 Received: by 10.152.106.9 with SMTP id gq9mr1655643lab.14.1332605388586; Sat, 24 Mar 2012 09:09:48 -0700 (PDT) Sender: jamebus@gmail.com Received: by 10.112.115.136 with HTTP; Sat, 24 Mar 2012 09:09:48 -0700 (PDT) In-Reply-To: <1332602260.13137.4.camel@btw.pki2.com> References: <1332602260.13137.4.camel@btw.pki2.com> Date: Sat, 24 Mar 2012 11:09:48 -0500 X-Google-Sender-Auth: a5PK_Tmrpa0ZKXH66wImIImluLM Message-ID: From: James To: Dennis Glatting Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: clang buildworld broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2012 16:09:50 -0000 On Sat, Mar 24, 2012 at 10:17 AM, Dennis Glatting wrote: > I csup RELENG_9 last night and compiled /usr/src and clang is > erroring out: Hi Dennis. I get the same error and am testing a correction right now. The problem is related to improvements to boot2 in r233374 (MFC of r232570 and r232754). It has the side-effect of making the binary just a wee too large for the BTX link to succeed. r232754 contains a change not MFCd to stable/9: Index: bsd.sys.mk =================================================================== --- bsd.sys.mk (revision 232753) +++ bsd.sys.mk (revision 232754) @@ -100,8 +100,10 @@ .if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang" CLANG_NO_IAS = -no-integrated-as -CLANG_OPT_SMALL = -mllvm -stack-alignment=8 -mllvm -inline-threshold=3 \ - -mllvm -enable-load-pre=false +CLANG_OPT_SMALL = -mllvm -stack-alignment=8 \ + -mllvm -inline-threshold=3 \ + -mllvm -enable-load-pre=false \ + -mllvm -simplifycfg-dup-ret .endif .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \ It's likely this with get it shrunk down enough. -- James.