Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2012 11:09:48 -0500
From:      James <james@hicag.org>
To:        Dennis Glatting <freebsd@pki2.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: clang buildworld broken
Message-ID:  <CAD4099n9=hge3Sv1pSrCwfp7pPpDz172RRNau9KGRVLTSL7raw@mail.gmail.com>
In-Reply-To: <1332602260.13137.4.camel@btw.pki2.com>
References:  <1332602260.13137.4.camel@btw.pki2.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 24, 2012 at 10:17 AM, Dennis Glatting <freebsd@pki2.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD4099n9=hge3Sv1pSrCwfp7pPpDz172RRNau9KGRVLTSL7raw>