From owner-freebsd-stable@freebsd.org Thu Nov 7 18:14:05 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B20F1BBD7A for ; Thu, 7 Nov 2019 18:14:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 478BP83PPdz44RF for ; Thu, 7 Nov 2019 18:14:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x829.google.com with SMTP id o49so3375957qta.7 for ; Thu, 07 Nov 2019 10:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FOk+PBpV84tj/OeaUyk5QQ4hS1G85ti27LGVwIm+6Og=; b=KUKQ38mFyeQAkSu7pcCig9gG5n6voQV4G+F1Xuw/uiWlK9gBopyFJitqky8KqfjpGY 7OpiXG/cK1sZYPAuBEQJu14WSsA/FZNYHmoHccmV7NeaW1FXkUYFF1NmWOM5zGo33+n6 2ICjPIP8WZfbIs7BoagvlDrWTTNnKD6WY3PbvFsY72viTCgVUUjHKsmjcwvPWm6DT4cw kWTh2vIvfxRtcfKPeuGjr5jGh01B+U3ulZikEDG3fwU4K+4PpVpL8NIPA2w2ZICf5QKz wWR7RaB7WHdcLcR4SUKf6b2mORbwsiAWpfxyUgmDeYLhJvKYU5aiEhEKVWyPJchMx1OP WfjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FOk+PBpV84tj/OeaUyk5QQ4hS1G85ti27LGVwIm+6Og=; b=AOJR/X7IAy21z28o09ye0fOESCwz53ttwyPJcht8OXrc0WHxY72iQ+5++jEqh40by/ gxmXU+ayu0etdgP+fP1l8IWTSHoxzXbl+DzcCFSvFikdlhn0P2UCxoo+KCd4IN6MFS94 5rc443J6nAeBj1pKtmsxZAbE49F0UXfuIE8M4Dnd9RgloK0z+rRV6N7ekHG3LfK0N7e3 zY19L7KVVDu8UDmOYTR2gkZn3/WSAPkLq/oXyIDax1XpmdOa1d/ukrU9WkD5oZ0/SHKL 2tmHnjCtUii41MmHN9My2llFoWNlrNkVYjGtK/UFYz1lLNtdCdfadwZsXMEp92IWKhY1 te7Q== X-Gm-Message-State: APjAAAXNOsw74M14mdkmVylmTXtTibMPYnovBQ7j8Da44zucRXlyzJH9 gIq83J9XMIQ75L4BoPQKR3+G062izfLeFTCHOO2oLQ== X-Google-Smtp-Source: APXvYqzpi+2TFNfVej1X48miw7eLTvDHEKLngvc381VJSxPdcVucfVSp+8oh9D+3YF+56KCWKK/bFRn66kbyn4u9i+E= X-Received: by 2002:aed:3be9:: with SMTP id s38mr5220169qte.175.1573150443234; Thu, 07 Nov 2019 10:14:03 -0800 (PST) MIME-Version: 1.0 References: <3c73c1a2-a70c-c7e3-27c6-81bba13ff75e@sentex.net> In-Reply-To: <3c73c1a2-a70c-c7e3-27c6-81bba13ff75e@sentex.net> From: Warner Losh Date: Thu, 7 Nov 2019 11:13:52 -0700 Message-ID: Subject: Re: upgrading RELENG_11 to RELENG_12 now fails with kernel requires linker ifunc support To: mike tancsa Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 478BP83PPdz44RF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=KUKQ38mF; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::829) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.75 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.75)[ip: (-9.33), ipnet: 2607:f8b0::/32(-2.35), asn: 15169(-2.01), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 18:14:05 -0000 On Thu, Nov 7, 2019 at 10:07 AM mike tancsa wrote: > Hi All, > > In the past, I could do something like > > Mount via nfs a RELENG12 kernel and world, do the appropriate > #mount_nfs 192.168.143.5:/crossbuilds /crossbuilds/ > # setenv MAKEOBJDIRPREFIX /crossbuilds/obj/12/ > > and then do an installkernel and world and upgrade to releng12. Now, I > get the following error below. What is the best way to work around this = ? > > > # make KERNCONF=3DGENERIC installkernel > -------------------------------------------------------------- > >>> Install check kernel > -------------------------------------------------------------- > -------------------------------------------------------------- > >>> Installing kernel GENERIC on Thu Nov 7 12:03:02 EST 2019 > -------------------------------------------------------------- > cd /crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/sys/GENERIC; > MACHINE_ARCH=3Damd64 MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -target > x86_64-unknown-freebsd12.1 > --sysroot=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > CXX=3D"c++ -target x86_64-unknown-freebsd12.1 > --sysroot=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/bin" > CPP=3D"cpp -target x86_64-unknown-freebsd12.1 > --sysroot=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp > -B/crossbuilds/obj/12/crossbuilds/src/12/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" > > PATH=3D/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/legacy/usr/= sbin:/crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/legacy/usr/bin:= /crossbuilds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/legacy/bin:/crossbui= lds/obj/12/crossbuilds/src/12/amd64.amd64/tmp/usr/sbin:/crossbuilds/obj/12/= crossbuilds/src/12/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin > make KERNEL=3Dkernel install > make[2]: "/crossbuilds/src/12/sys/conf/kern.pre.mk" line 131: > amd64/arm64/i386 kernel requires linker ifunc support > This likely should only be active if the target isn't install... It's a build-time thing, not an install time thing. To confirm, just remove line 131 and see if (a) it installs and (b) boots. Warner > *** Error code 1 > > Stop. > make[1]: stopped in /crossbuilds/src/12 > *** Error code 1 > > Stop. > make: stopped in /crossbuilds/src/12 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >