Re: warning about spectre with last kernel update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 17/02/2018 à 22:28, Ed Greshko a écrit :
> On 02/18/18 05:12, François Patte wrote:
>> Le 17/02/2018 à 20:31, Ed Greshko a écrit :
>>> On 02/18/18 02:10, François Patte wrote:
>>>> returns that virtualbox drivers (vboxdrv, vboxnetflt, vboxnetadp,
>>>> vboxpci) and nvidia driver were not compiled with a retpoline compiler....
>>>>
>>>> As these modules are compiled on board with gcc using akmod, I suppose
>>>> that gcc is not a retpoline compiler.
>>>>
>>>> What can I do?
>>>
>>> Where do you get your Vbox and nVidia drivers from?
>> rpmfusion, as akmods....
>>
>> but
>>
>> grep DRETPOLINE  /var/log/vbox-install.log
> 
> What is the gcc line in that file?

As there are 2694 occurences of  gcc -Wp,-MD, in this file (and no date
is given in the file...), I suppose that the last occurence, is the last
build of vbox modules...):

  gcc -Wp,-MD,/tmp/vbox.0/.vboxpci.mod.o.d  -nostdinc -isystem
/usr/lib/gcc/x86_64-redhat-linux/7/include -I./arch/x86/include
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi
-I./arch/x86/include/generated/uapi -I./include/uapi
-I./include/generated/uapi -include ./include/linux/kconfig.h
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -fshort-wchar
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89
-fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic
-mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
-DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1
-DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1
-DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-int-in-bool-context -O2 --param=allow-store-data-races=0
-DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong
-Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-omit-frame-pointer -fno-optimize-sibling-calls
-fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fno-stack-check -fconserve-stack -Werror=implicit-int
-Werror=strict-prototypes -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init -include
/tmp/vbox.0/include/VBox/SUPDrvMangling.h
-I/lib/modules/4.14.13-300.fc27.x86_64/build/include -I/tmp/vbox.0/
-I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxpci/
-I/tmp/vbox.0/vboxpci/include -I/tmp/vbox.0/vboxpci/r0drv/linux
-D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0
-DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DRT_ARCH_AMD64
-DVBOX_WITH_64_BITS_GUESTS -fno-pie  -DKBUILD_BASENAME='"vboxpci.mod"'
-DKBUILD_MODNAME='"vboxpci"' -DMODULE  -c -o /tmp/vbox.0/vboxpci.mod.o
/tmp/vbox.0/vboxpci.mod.c


> 
>>
>> and
>>
>> grep DRETPOLINE
>> /var/cache/akmods/nvidia-340xx/340.106-1-for-4.15.3-300.fc27.x86_64.log
>>
>> return nothing...
> 
> And what do you get for ....
> 
> strings /usr/lib/modules/4.15.3-300.fc27.x86_64/extra/nvidia/nvidia.ko | grep gcc

$ strings
/usr/lib/modules/4.15.3-300.fc27.x86_64/extra/nvidia-340xx/nvidia.ko |
grep gcc

gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux