From nobody Tue Aug 10 07:01:24 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1EFDB11FC640 for ; Tue, 10 Aug 2021 07:01:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GkP4h0Fpfz3NWJ for ; Tue, 10 Aug 2021 07:01:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E549916DD9 for ; Tue, 10 Aug 2021 07:01:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17A71NCi027720 for ; Tue, 10 Aug 2021 07:01:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17A71NpF027719 for bugs@FreeBSD.org; Tue, 10 Aug 2021 07:01:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257727] 12.2/13.0: MK_RETPOLINE always prints NO Date: Tue, 10 Aug 2021 07:01:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: i.dani@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257727 Bug ID: 257727 Summary: 12.2/13.0: MK_RETPOLINE always prints NO Product: Base System Version: Unspecified Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: i.dani@outlook.com Steps to reproduce: - Set in /etc/src.conf: WITH_KERNEL_RETPOLINE=3D WITH_RETPOLINE=3D - Run "make buildworld" or make "buildkernel" - Printed output(MK_RETPOLINE=3Dno): -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- cd /usr/src; INSTALL=3D"sh /usr/src/tools/install.sh"=20 TOOLS_PREFIX=3D/usr/obj/usr/src/amd64.amd64/tmp=20 PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/am= d64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/u= sr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr= /bin WORLDTMP=3D/usr/obj/usr/src/amd64.amd64/tmp MAKEFLAGS=3D"-m /usr/src/tools/build/mk -j 8 -J 15,16 -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR=3D OBJTOP=3D'/usr/obj/usr/src/amd64.amd64/tmp/obj-t= ools'=20 OBJROOT=3D'${OBJTOP}/' MAKEOBJDIRPREFIX=3D BOOTSTRAPPING=3D1300514=20 BWPHASE=3Dbootstrap-tools SSP_CFLAGS=3D MK_HTML=3Dno NO_LINT=3Dyes MK_MAN= =3Dno MK_MAN_UTILS=3Dyes -DNO_PIC MK_PROFILE=3Dno -DNO_SHARED -DNO_CPU_CFLAGS MK_WERROR=3Dno MK_CTF=3Dno MK_CLANG_EXTRAS=3Dno MK_CLANG_FORMAT=3Dno MK_CL= ANG_FULL=3Dno=20 MK_LLDB=3Dno MK_RETPOLINE=3Dno MK_TESTS=3Dno MK_INCLUDES=3Dyes MK_LLVM_TAR= GET_ALL=3Dno bootstrap-tool - The build commands still look fine (-mretpoline is set): cc -target x86_64-unknown-freebsd12.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasin= g=20 -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu= de opt_global.h -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poin= ter -MD -MF.depend.cam_iosched.o -MTcam_iosched.o -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -mcmodel=3Dkernel -mn= o-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestand= ing -fwrapv -fstack-protector -mretpoline -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-e--- cam_periph.o --- What we tested (thanks to the freebsd irc channel): - WITH_RETPOLINE=3D, WITH_RETPOLINE=3Dyes and WITH_RETPOLINE=3DYES in src.c= onf - FSBD 12.2 RELEASE, FBSD 13.0 STABLE / RELEASE --=20 You are receiving this mail because: You are the assignee for the bug.=