Date: Tue, 10 Aug 2021 07:01:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257727] 12.2/13.0: MK_RETPOLINE always prints NO Message-ID: <bug-257727-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257727-227>