From owner-freebsd-testing@freebsd.org Mon Aug 29 18:10:24 2016 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B29DBC7E85 for ; Mon, 29 Aug 2016 18:10:24 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 506AA2AE; Mon, 29 Aug 2016 18:10:24 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x231.google.com with SMTP id p64so54471012pfb.1; Mon, 29 Aug 2016 11:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=Nisy+P2frns2G782K5r4mbyg4Nxj7Gj4Fol0TO2GSc4=; b=LYH6UkQidzaUQ7v7Q+VzikzFcNA29MwmbziD9/IRJ5PXRphuaA6oM4yMvurWfTbcMg KktgGOrUNjEPPfQSrbGaZjtLQRCkX5XjAvpo4jWumzSuLu0g2fxyokX17zGAJbxVy9yJ CgmHU+gD6fSop7d/3WqBAu92egYLPIDg86ADgNy4PNtFaM2vYkefG5AdKkrCaGTdTZxU Gg6nRkxdYN7uH80uZG5gw1KgzxBAGfh6mtTBy9Vmy00pJ4HrM28+TQoGpF3BYlcdlNa2 Uye3kjEpbBUtWaRh11eWiaxYMyRkFcz4B1fj/9MkCOT5ed+pQmSTz9fDhbpPw7xtDi5c txEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=Nisy+P2frns2G782K5r4mbyg4Nxj7Gj4Fol0TO2GSc4=; b=d9jD5eqrlglgYOUrB3XMM7tVuKrWspnQns3iaq62ZK+Nx98tptxIkfU4A2wckty6LX V1JTGYLGNi0SfcJ0j7bSzh7HiTvPf96MEe0DmjPkaR30NCbxN40IRqoMbY/WIBcASUFv XaIt2w5gpihxNqd48ENS2qxJYZOmWJus2gRdZ7aD9rHUGMHMqM58EPDnsEhWcmpAGAqs 23dPT4bjzQ0uC6+NdXIPKNgu7HkkW9wht4ZoI3tsd+x3zCVnDK9L2cSg0lMrvNwQivnf 9In6tUQz0P722u4ONN/jMBqjIolwfUXrbHsQ7z00ycCRSsKfT/IqAIAn08t0SeO1gpPH ksRw== X-Gm-Message-State: AE9vXwMFRuKYQMXfNB4xrWrUUHrI3X1z6TsiIlXNAWr1TVuAklJhN1NFVnB9yx69Fica/A== X-Received: by 10.98.88.131 with SMTP id m125mr34634508pfb.63.1472494218716; Mon, 29 Aug 2016 11:10:18 -0700 (PDT) Received: from [192.168.20.17] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id dz13sm50934883pac.44.2016.08.29.11.10.16 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 11:10:16 -0700 (PDT) Subject: Re: Jenkins build is still unstable: FreeBSD_HEAD #564 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_29A52004-7276-4550-8B34-84659516B07E"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Mon, 29 Aug 2016 11:10:15 -0700 Cc: Li-Wen Hsu , "jenkins-admin@freebsd.org" , "freebsd-testing@freebsd.org" , Dimitry Andric Message-Id: <3B60A57F-778C-4E7C-B081-098C0F6E92D2@gmail.com> References: <1491374121.44.1472440150670.JavaMail.jenkins@jenkins-9.freebsd.org> <166099893.51.1472451061454.JavaMail.jenkins@jenkins-9.freebsd.org> <6E443BB8-0269-4812-A2F4-40AA303E69C6@FreeBSD.org> <8058052E-A09A-403E-828A-74B51ED4BBF4@FreeBSD.org> <20160829163911.GA51650@FreeBSD.cs.nctu.edu.tw> <4b8980f0-1a90-40d7-45b3-9569b321d1c6@FreeBSD.org> <20160829175247.GA10263@FreeBSD.cs.nctu.edu.tw> <31f11ba3-ca29-0f85-f1c1-6a3cd467bb57@FreeBSD.org> <67E84707-3267-49F3-8DB6-13CBD05B1690@gmail.com> To: Bryan Drewery X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 18:10:24 -0000 --Apple-Mail=_29A52004-7276-4550-8B34-84659516B07E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 29, 2016, at 11:04, Ngie Cooper (yaneurabeya) = wrote: >=20 >>=20 >> On Aug 29, 2016, at 11:02, Ngie Cooper (yaneurabeya) = wrote: >>=20 >>>=20 >>> On Aug 29, 2016, at 11:00, Bryan Drewery = wrote: >>>=20 >>> On 8/29/2016 10:58 AM, Ngie Cooper (yaneurabeya) wrote: >>>> (-bdrewery) >>>>=20 >>>>> On Aug 29, 2016, at 10:52, Li-Wen Hsu wrote: >>>>>=20 >>>>> I guess the quickest way is boot that VM, cd to >>>>> /usr/tests/lib/atf/libatf-c++ and run `kyua test atf_c++_test` >>>>> However I am not sure this provides enough information because = stuff >>>>> under /usr/tests/lib/atf/libatf-c++ are all binary files. >>>>>=20 >>>>> FWIW, I would like to know, should these -target, --sysroot and -B = flages be >>>>> given when compiling a normal program in a normal time? In this = test >>>>> case, kyua just wanted to compile test.cpp which includes sstream, = it's >>>>> not during buildworld/buildkernel time, so files under /usr/obj >>>>> should not be used. >>>>=20 >>>> I=E2=80=99m actively working on this right now. If I can=E2=80=99t = resolve it soon, I=E2=80=99ll file a bug, mark it as an expected = failure, and we can work on fixing the issue with a bit more leisure. >>>>=20 >>>> It=E2=80=99s not a cross-compiler problem =E2=80=94 something = changed recently (likely in clang/libc++) that=E2=80=99s causing this = problem, and it might just be an existing bug that was triggered by that = change.. >>>>=20 >>>=20 >>> What changed recently is that buildworld now always uses --sysroot = for >>> Clang, and --sysroot,-isystem,-B,-L for GCC. >>=20 >> Ok. I=E2=80=99m not fully convinced that that=E2=80=99s the problem = yet. Will drill down into the issue in the next half hour and will post = a bug with my findings. >=20 > Oh wait. Damn=E2=80=A6 I see the --sysroot line in the compilation = output from the test. Crap=E2=80=A6 that=E2=80=99s not going to work. Ok, found a likely culprit: = lib/clang/include/clang/Config/config.h. DEFAULT_SYSROOT=E2=80=99s = probably being stored in the compiler, somehow=E2=80=A6 Cheers, -Ngie 24 /* Default to all compiler invocations for --sysroot=3D. = */ 25 /* #undef DEFAULT_SYSROOT */ $ grep -r DEFAULT_SYSROOT lib/clang/ lib/clang/include/clang/Config/config.h:/* #undef DEFAULT_SYSROOT */ lib/clang/clang.build.mk: = -DDEFAULT_SYSROOT=3D\"${TOOLS_PREFIX}\=E2=80=9D $ cc -print-search-dirs programs: =3D/usr/bin libraries: =3D/usr/bin/../lib/clang/3.8.0:/usr/lib --Apple-Mail=_29A52004-7276-4550-8B34-84659516B07E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJXxHqHAAoJEPWDqSZpMIYVAHUQALFaizMdN+1j0/tw6n6wbCNY ESJBuT/kGOUltB8nlTrMHGXlmlK8cMkgkJSd7Tfg2NjOC4INFbOlMheo6fN2HXAb gn7oeUSHscrkEyn010JaxWIDxpjge63pWpXRZqFXu0j8XauTzQjpi6OpZYnSIhTJ svrs1ZYu/+X0kAtiMZsBEId0PZDA+n/+gbPuYZ8Ew0zY7aCZRx26XBtSCWO3T1Tf Eo1fGhu78kgcptGAUgazule6SHrcaVU2vKuMeQZ8G86LPDKExpLW6rMRZRXns1gw AVceN568OAtgt06nPFIqKg8J8DnRfrwt03u6sb9ayBujWuc1ENeho/8DfiWIjn0f x2WIeSSrNt1t7L8hUJSAk+jpSDremvFdBQkOqLfY7+21/BafYknccARcmFfxFdLV R7UT6xaH+9EjK6czpM+dCgIhGLF3QgJsHfWFN6tzfJpkhB78GzFAobAQ6gqqwhth YoXVeBcudUi3CbHPoCt4cBy3sWpVtSFAqSFhWnSMnC0psPZ8QDMYYFXu48PwC9Cs zXhPHLdzQCs1bxIu0ZPUfW9VWnLJduE9OVofjvEV5AwbegjF+p61fIIpIk6eJPP7 HhcLCVemveHelvQGBeWAzEsdgVZ7m8JyT1cbwcyKJX8lieDttV95Nu/qkd1Z6BT/ af5j4XOpv4cflnyz2fcF =cgVn -----END PGP SIGNATURE----- --Apple-Mail=_29A52004-7276-4550-8B34-84659516B07E--