From owner-freebsd-arch@freebsd.org Wed May 16 07:47:50 2018 Return-Path: Delivered-To: freebsd-arch@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 92A70EAC1A6 for ; Wed, 16 May 2018 07:47:50 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 31EAA7C627 for ; Wed, 16 May 2018 07:47:50 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yw0-x235.google.com with SMTP id l142-v6so893611ywc.11 for ; Wed, 16 May 2018 00:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PnonHOfUd7J5BegghP9WKivqK5C8xFSqYXKIXjWPbwc=; b=xrI5fP5QB6KR24cOc4v7DeOPwaurjELdrPrQ13z8jHZ/Gyyi9tdI6tkFCxqulnphvw 2lbTO7LAYeJd905wbXVMZufplcqt+NRWevO9KvZso12ZYegH2KxJq0t2EJP4TCNkM83b 5irNnHue4F2bLHlxImL7eWDGikvMAvmYAaWoH13P5PlNYIhMCQZgw/SXreApt5ywWkAw yJvwjrJVbJLUY9TtA3EFUDEkrIxE3qEAsOqxQfGhKwmJDBR6VgbsB+h3LGrXoLf3vvkq 1mI3hSlLd7quH1U+L5W8Vu069mDmchWUyM5xN58NJMXbBr0hpCbxCKmoBLyVgpW6vdhG NVzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PnonHOfUd7J5BegghP9WKivqK5C8xFSqYXKIXjWPbwc=; b=kqYcJK3J+rj8oLYf/cKLnHmaYV+5JoTSAXn7qvMjYjUD9QC9l27f1+qRig7GPxrT4/ VnYUc3wsGUWf+jaY4f28xuidqESpgvMU13YF5lsP5HtibCVOGsn7TyOK9XYjp18P18UH yZPvRw5YPcRRSCs8WKMD1MIZxYekpiEeMOOviz6lHd5ZxJ2CrHbpWEq68a10ZNkzrSg2 e+p+ckK06blvPFTu8I0mMV+0Z7mYgSEeYqZT277NKXt/BBPoSi0HW8XjpsPPs+SsYu63 3hjcIfF0nJ62t3COOD+SqE4fyUnVq6OFWAh5dq2891frhS2ImCf3Tc4vsBc/PpeRjH+x nfHw== X-Gm-Message-State: ALKqPwfjucYfy9NPb/0OQli2zlXKG7BhnYRRP6vySwvS7PQk3yzC79w6 KweB8dO4r2LFvfYOGnzi6euN90Sn7Zh9bpCzR43Qsg== X-Google-Smtp-Source: AB8JxZqSn1Sh4v4nfaNZyWgIQarrHAzbxZ2/3NRCnU4DstwnhjyayBJB6Yr3N/rIJ6CQyG1eWH2cq5x1QNjlOuRK8Vk= X-Received: by 2002:a81:9202:: with SMTP id j2-v6mr8003901ywg.214.1526456869401; Wed, 16 May 2018 00:47:49 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:3894:0:0:0:0:0 with HTTP; Wed, 16 May 2018 00:47:48 -0700 (PDT) In-Reply-To: <1427128516.12874490.1526456240718.JavaMail.zimbra@stormshield.eu> References: <1427128516.12874490.1526456240718.JavaMail.zimbra@stormshield.eu> From: Oliver Pinter Date: Wed, 16 May 2018 09:47:48 +0200 Message-ID: Subject: Re: Can't build kernel anymore: amd64 kernel requires linker ifunc support To: Emeric POUPON Cc: freebsd-arch Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2018 07:47:50 -0000 On Wednesday, May 16, 2018, Emeric POUPON wrote: > Hello, > > Maybe I missed something, but I recently updated /usr/src (HEAD) and I > can't build the kernel anymore, I get this: > > # make -j4 buildkernel > --- buildkernel --- > make[1]: "/usr/src/Makefile.inc1" line 166: SYSTEM_COMPILER: Determined > that CC=cc matches the source tree. Not bootstrapping a cross-compiler. > --- buildkernel --- > > -------------------------------------------------------------- > >>> Kernel build for GENERIC started on Wed May 16 09:35:03 CEST 2018 > -------------------------------------------------------------- > ===> GENERIC > mkdir -p /usr/obj/usr/src/amd64.amd64/sys > -------------------------------------------------------------- > >>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/src/sys/amd64/conf; PATH=/usr/obj/usr/src/amd64. > amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/ > tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/ > legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/ > obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin > config -d /usr/obj/usr/src/amd64.amd64/sys/GENERIC -I > '/usr/src/sys/amd64/conf' '/usr/src/sys/amd64/conf/GENERIC' > Kernel build directory is /usr/obj/usr/src/amd64.amd64/sys/GENERIC > Don't forget to do ``make cleandepend && make depend'' > -------------------------------------------------------------- > >>> stage 2.1: cleaning up the object tree > -------------------------------------------------------------- > cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC; COMPILER_VERSION=60000 > COMPILER_FEATURES=" c++11 retpoline" COMPILER_TYPE=clang > COMPILER_FREEBSD_VERSION=1200014 MACHINE_ARCH=amd64 MACHINE=amd64 > CPUTYPE= CC="cc -target x86_64-unknown-freebsd12.0 > --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" > CXX="c++ -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CPP="cpp -target > x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" AS="as" AR="ar" LD="ld" > LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" > INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/amd64. > amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/ > tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/ > legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/ > obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make > -j 4 - > J 15,16 -m /usr/src/share/mk KERNEL=kernel cleandir > make[2]: "/usr/src/sys/conf/kern.pre.mk" line 125: amd64 kernel requires > linker ifunc support > *** [buildkernel] Error code 1 > > make[1]: stopped in /usr/src > 1 error > > > > How can I proceed? Please consult the ${srctop}/UPDATING file or search back on freebsd current mail list. Hint: buildworld before kernel > > Regards, > _______________________________________________ > freebsd-arch@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >