From owner-freebsd-testing@freebsd.org Mon Aug 29 18:53:16 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 E5634BC36FA for ; Mon, 29 Aug 2016 18:53:16 +0000 (UTC) (envelope-from julio@meroh.net) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 8C35E6E8 for ; Mon, 29 Aug 2016 18:53:16 +0000 (UTC) (envelope-from julio@meroh.net) Received: by mail-qk0-x232.google.com with SMTP id z190so147567230qkc.0 for ; Mon, 29 Aug 2016 11:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meroh.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=09C3GgVia+k2uyfGo1jQr0iaTtM+vryFHAnrG0mY4jI=; b=tBHMLUMZGWq1BDu2j9Lpjkw+kPgnJpE/KD8ovH9stTP8YLGHIQGUKrzagn5ZDNaWTT Sl4frOmXQoMjjHTfDV/PHCfrHQEfk0hZ7zsnPV6/03tSc//R4zsFUwgbQNqnx+7O1x25 Zl/uVi7Q2azoqtPlwaPMPbYx9mOoM0PtBUb7SAzO2DsKxiYlczMMzYBieFjwwYvItRRp uEm9HITB1sQX+D+i/TUYNbcqF+tVrxsx+uyxJspDSMiuvMaYawMZfM8cxXUIgvd4JSpi ZrZ/7/odhzqItOPKSg+LaOE7SyjKG87eZkyNZgAVTzqUku5TFwZYFxOoPU5sxvjx3mR3 bVAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=09C3GgVia+k2uyfGo1jQr0iaTtM+vryFHAnrG0mY4jI=; b=MNq3XpLLLOD67x40aV0i9dtN6SRUHpMRN8kM8Si4utaYS3F5COiXnc7yEtcaRtAO2f 0A34Mzs0bPjXatVWnME1OkYyF4hfxNBToAcqvpWoY+dFBU/FHi+p9GxzQCx/5U0XNxZC rxbyEq5CqFEAq7/7xGPhQ4Xd6hI+OpI0UE1TauyYq/3cLbs+HzQKmFAax+WbOOVwhPw6 xLAzXnI7GsX4n5sLjiQnJDQ/bVCBOVP9BkdT9ETNalTbNon7m1fKl1ElrLl2ITrtKmEo y38YE2QkzF51MTkK+z+uGRvRYWNXqcLGyiOQt3pJudy2ksYMEHueiYVHICLnuMsUD3qk MAGg== X-Gm-Message-State: AE9vXwOKW+aSrj5HTW+P21wRhbdRC1pYBkxw1XfwchNCyRnZVvNaVWJoxaLUWzKoopclTgqYSae0qOvPK69OLg== X-Received: by 10.55.141.199 with SMTP id p190mr19763766qkd.185.1472496795790; Mon, 29 Aug 2016 11:53:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.55.202 with HTTP; Mon, 29 Aug 2016 11:52:54 -0700 (PDT) X-Originating-IP: [2620:0:1003:415:bd00:554d:a06c:542b] In-Reply-To: References: <1491374121.44.1472440150670.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> <3B60A57F-778C-4E7C-B081-098C0F6E92D2@gmail.com> <5485945b-6539-5ed0-c089-5537d6bd70a9@FreeBSD.org> From: Julio Merino Date: Mon, 29 Aug 2016 14:52:54 -0400 Message-ID: Subject: Re: Jenkins build is still unstable: FreeBSD_HEAD #564 To: Bryan Drewery Cc: "Ngie Cooper (yaneurabeya)" , "freebsd-testing@freebsd.org" , Dimitry Andric , "jenkins-admin@freebsd.org" , Li-Wen Hsu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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:53:17 -0000 On Mon, Aug 29, 2016 at 2:45 PM, Bryan Drewery wrote= : > On 8/29/2016 11:38 AM, Julio Merino wrote: > > On Mon, Aug 29, 2016 at 2:28 PM, Ngie Cooper (yaneurabeya) > > > wrote: > > > > > > > On Aug 29, 2016, at 11:20, Bryan Drewery > wrote: > > > > > > > Trust me, you're wasting your time, this is not the problem. If > it were > > > then _nothing_ would compile from the /usr/bin/cc compiler. It's > only a > > > problem with running the ATF tests which means it is likely > storing the > > > flags it is built with somewhere and reusing them. > > > > Then it=E2=80=99s potentially this variable (from lib/atf/libatf-c/= Makefile > ): > > > > CFLAGS+=3D -DATF_BUILD_CFLAGS=3D'"${_CFLAGS}=E2=80=9D=E2=80= =99 > > > > I=E2=80=99ll look through the Jenkins logs to confirm the CFLAGS th= at get > > passed in to lib/atf. > > > > > > Yes. If we ought to not use any of those flags at run-time (and we > > should not, as Bryan pointed out), then yes, the problem is in the > > setting of ATF_BUILD_CFLAGS et. al. > > Are there specific kinds of flags this is wanting to pickup and use > later? Such as -m or -f or -W? If we can limit to what is wanted and > safe it might be better. We can exclude > --sysroot/-isystem/-B/-L/-target as well but it isn't as trivial as it > seems since -isystem has a space after it. > This should mostly only pick -I, -L, and -Wl,-R flags to ensure the build action can find any needed dependencies, and it would be nice if it picked user-provided flags also. For atf in the base system, I *think* we could go with an empty set of flags (unless we have to do something special for private libraries). cc and c++ should just do the right thing without any flags to compile the simple things that the failing tests build. --=20 Julio Merino -- http://julio.meroh.net/