From owner-freebsd-stable@freebsd.org Wed Jul 25 22:30:57 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 680431055A55 for ; Wed, 25 Jul 2018 22:30:57 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 B3CF170B23; Wed, 25 Jul 2018 22:30:56 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-x22f.google.com with SMTP id q5-v6so8022667ljh.12; Wed, 25 Jul 2018 15:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=OqN0xkvaKNtrV5MmPzRCXsJISwTh+xja9vkriDp5zi4=; b=ib89eMr59qNUxdsfe3beE3pXVqGqADxB7UNNCyv+oTxZ/Sg85K/IDsWvqe8Eu/KZh4 woGLvMJ1TvsHQmFLus2xfjrcndgHw1j/B0IuEIilWjpJRpHvXoKP8oqoFkMD34iKyBZH 8FtfwnuyZrgvB4Wo7/1KthLsGTCSqcc/dMmau6tAA37i391Ga2Paqk0Nd3RNZxXZg5Os syiREQweRX9gThit15dOK9nqK5+nQThoD80+dd+xzTeqEWuxEEA/aJGSjSzVvjSkEk90 JXVWjeRnFlKCGrbZkY+7coFTOZHmvWkw4JL4Hp7aq+Cvv/2vG45OJHB6Y/pE3iiiymXw C2Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=OqN0xkvaKNtrV5MmPzRCXsJISwTh+xja9vkriDp5zi4=; b=uKQik11ouoWXaHgD5cdUSrP5NB7bDOAu1McPrRJAdQPijnuDht7Kp59kbwGrtSuGQg CYevGRzCNe8P8vI1txeehY0U9jWIqBuPC2LUsvRDex2o3JKzReCqqKJVEAFAfAz4VRYF Kry4WQ9ukGWHr33D82T4X8SnkPVI8VmLTiwXJt8uSm3/WpXjwv9Dn+oKpPaCpXPaQz6b pvLrhDtepWaMA2NqJV1HqWPJbUpN5bzdkBi/Gq2I2x0B31XJoWIOtaCLUJX+D8l52k5c zO1jUQ39h6i5iy1s8TBTSMnqEAVaUnqYnc2NORCT1LrvEaUG9izS7+jc7GDOYYLxLb6b j2vw== X-Gm-Message-State: AOUpUlGZUsXtPW0Rgi3ZTepD7je65s0z6dydJ6Ko/L2udFsMwCQgnk6A e9RpZ80mRomBHcwsIuOpBCRdlH3ee7Uk7LAPybg8jQ== X-Google-Smtp-Source: AAOMgpczN3wMedo4iZmHW04+vnayaoNPhn5QfGx2jewEwOf50HeLutsMEt6AFVi2B9JRNg8kVU7xpmiXebLoanU1E/I= X-Received: by 2002:a2e:87da:: with SMTP id v26-v6mr2872173ljj.69.1532557854813; Wed, 25 Jul 2018 15:30:54 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 2002:ab3:7851:0:0:0:0:0 with HTTP; Wed, 25 Jul 2018 15:30:54 -0700 (PDT) In-Reply-To: <1532556535.61594.11.camel@freebsd.org> References: <1532530155.61594.0.camel@freebsd.org> <1532556535.61594.11.camel@freebsd.org> From: Alan Somers Date: Wed, 25 Jul 2018 16:30:54 -0600 X-Google-Sender-Auth: vJsLoH76nWmtfOeQHJE5AvnsFl8 Message-ID: Subject: Re: -STABLE can no longer build -CURRENT kernel, linker missing ifunc To: Ian Lepore Cc: Kyle Evans , FreeBSD , =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2018 22:30:57 -0000 On Wed, Jul 25, 2018 at 4:08 PM, Ian Lepore wrote: > On Wed, 2018-07-25 at 15:55 -0600, Alan Somers wrote: > > On Wed, Jul 25, 2018 at 9:04 AM, Kyle Evans > > wrote: > > > > > > > > On Wed, Jul 25, 2018 at 9:52 AM, Alan Somers > > > wrote: > > > > > > > > On Wed, Jul 25, 2018 at 8:49 AM, Ian Lepore > > > > wrote: > > > > > > > > > > > > > > On Wed, 2018-07-25 at 14:35 +0200, Ulrich Sp=C3=B6rlein wrote: > > > > > > > > > > > > Hey all, as of a couple of weeks ago, neither 11.2-RELEASE > > > > > > nor a > > > > > > recent > > > > > > 11-STABLE can buildkernel from head. > > > > > > > > > > > > This has stopped the Coverity Scan runs dead in its track and > > > > > > I > > > > > > wonder how > > > > > > anyone would boostrap a move from 11.x to 12.0 then. > > > > > > > > > > > > % env __MAKE_CONF=3D/dev/null make buildkernel > > > > > > make[1]: "/data/freebsd.work/Makefile.inc1" line 343: > > > > > > SYSTEM_COMPILER: > > > > > > libclang will be built for bootstrapping a cross-compiler. > > > > > > make[1]: "/data/freebsd.work/Makefile.inc1" line 348: > > > > > > SYSTEM_LINKER: > > > > > > libclang will be built for bootstrapping a cross-linker. > > > > > > > > > > > > ----------------------------------------------------------- > > > > > > --- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Kernel build for GENERIC started on Wed Jul 25 14:34:46 > > > > > > > > > CEST > > > > > > > > > 2018 > > > > > > ----------------------------------------------------------- > > > > > > --- > > > > > > =3D=3D=3D> GENERIC > > > > > > mkdir -p /usr/obj/data/freebsd.work/amd64.amd64/sys > > > > > > > > > > > > ----------------------------------------------------------- > > > > > > --- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > stage 1: configuring the kernel > > > > > > ----------------------------------------------------------- > > > > > > --- > > > > > > cd /data/freebsd.work/sys/amd64/conf; PATH=3D/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/data/fr > > > > > > eebsd.wo > > > > > > rk/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/data/freebsd.work/ > > > > > > amd64.am > > > > > > d64/tmp/legacy/bin:/usr/obj/data/freebsd.work/amd64.amd64/tmp > > > > > > /usr/sbi > > > > > > n:/usr/obj/data/freebsd.work/amd64.amd64/tmp/usr/bin:/sbin:/b > > > > > > in:/usr/ > > > > > > sbin:/usr/bin > > > > > > config -d > > > > > > /usr/obj/data/freebsd.work/amd64.amd64/sys/GENERIC -I > > > > > > '/data/ > > > > > > freebsd.work/sys/amd64/conf' > > > > > > '/data/freebsd.work/sys/amd64/conf/GENERIC' > > > > > > Kernel build directory is > > > > > > /usr/obj/data/freebsd.work/amd64.amd64/sys/GENERIC > > > > > > Don't forget to do ``make cleandepend && make depend'' > > > > > > > > > > > > ----------------------------------------------------------- > > > > > > --- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > stage 2.1: cleaning up the object tree > > > > > > ----------------------------------------------------------- > > > > > > --- > > > > > > cd /usr/obj/data/freebsd.work/amd64.amd64/sys/GENERIC; > > > > > > MACHINE_ARCH=3Damd64 > > > > > > MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -target x86_64-unknown- > > > > > > freebsd12.0 > > > > > > --sysroot=3D/usr/obj/data/freebsd.work/amd64.amd64/tmp > > > > > > -B/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp/usr/bin" CXX=3D"c++ -target > > > > > > x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp -B/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp/usr/bin" CPP=3D"cpp -target > > > > > > x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp -B/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp/usr/bin" AS=3D"as" AR=3D"ar" LD=3D= "ld" > > > > > > LLVM_LINK=3D"" > > > > > > NM=3Dnm OBJCOPY=3D"objcopy" RANLIB=3Dranlib STRINGS=3D SIZE=3D"= size" > > > > > > INSTALL=3D"sh > > > > > > /data/freebsd.work/tools/install.sh" PATH=3D/usr/obj/data/ > > > > > > freebsd.work/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/data/fr > > > > > > eebsd.wo > > > > > > rk/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/data/freebsd.work/ > > > > > > amd64.am > > > > > > d64/tmp/legacy/bin:/usr/obj/data/freebsd.work/amd64.amd64/tmp > > > > > > /usr/sbi > > > > > > n:/usr/obj/data/freebsd.work/amd64.amd64/tmp/usr/bin:/sbin:/b > > > > > > in:/usr/ > > > > > > sbin:/usr/bin > > > > > > make -m /data/freebsd.work/share/mk KERNEL=3Dkernel cleandir > > > > > > make[2]: "/data/freebsd.work/sys/conf/kern.pre.mk" line 125: > > > > > > amd64 > > > > > > kernel > > > > > > requires linker ifunc support > > > > > > *** Error code 1 > > > > > > > > > > > > Stop. > > > > > > make[1]: stopped in /data/freebsd.work > > > > > > *** Error code 1 > > > > > > > > > > > > Stop. > > > > > > make: stopped in /data/freebsd.work > > > > > > _______________________________________________ > > > > > I think you may need to do "make kernel-toolchain" first. > > > > > > > > > > -- Ian > > > > > > > > > Would "make kernel-toolchain" also fix the "config(8) may be too > > > > old" > > > > errors that I get whenever I try "make universe" on > > > universe12a.freebsd.org, > > > > > > > > which is a few months old? > > > > > > > Hi, > > > > > > kernel-toolchain should fix most config(8) problems, but we have a > > > separate problem with universe invoking host config(8) [1] -- I > > > have a > > > tentative patch for that that needs review, but the problem > > > should've > > > gone away when I backed out the config(8) major bump in r336414 on > > > July 17th. > > > > > > Thanks, > > > > > > Kyle Evans > > > > > > [1] https://svnweb.freebsd.org/base/head/Makefile?view=3Dmarkup#l694 > > > > > > I still get that error even with today's head, and even after running > > "make > > kernel-toolchain". All worlds (except riscv) complete and some > > kernels do, > > but the sparc64 kernel fails and aborts the entire build when it > > does. Is > > this a related or a distinct problem? > > > > make[1]: "/home/asomers/freebsd/base/head/Makefile" line 697: > > "Target > > architecture for sparc64/conf/LINT64 unknown. config(8) likely too > > old." > > > > -Alan > > sparc64 kernels have been failing to build ever since the last batch of > checkins to dev/mlx5. I mentioned it on the commit-mail list, but > nobody seems to be looking into it (and I don't have time right now). > > -- Ian > Hm, are you sure that's it? For me the powerpc.LINT64 kernel failed due to mlx5, but the sparc64 failure is something different. It didn't even start compiling. -Alan