VirtualBox

Ignore:
Timestamp:
Jun 29, 2022 1:17:33 AM (2 years ago)
Author:
vboxsync
Message:

linux/Makefile-footer.gmk: Better comments regarding LLVM/clang. bugref:10247

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile-footer.gmk

    r95411 r95417  
    3939 ifeq ($(shell expr $(KERN_VER) : '[23]\.'),0)
    4040  VBOXMOD_0_KFLAGS  += -Werror -Wall -Wno-array-bounds
    41   # Disable this for DEBUG clang builds. There are parts of kernel which will use __builtin_frame_address with argument > 0.
    42   ifneq ($(LLVM),)
     41# clang objects to calls to __builtin_frame_address with a non-zero argument
     42# on general principles in -Wall mode. The x86 linux kernel has two such calls
     43# in the thread_info.h / arch_within_stack_frames(), though probably safe.
     44  ifndef ($(LLVM),) # (This is how the Linux root Makefile (since 5.7) does the test.)
    4345   VBOXMOD_0_KFLAGS += -Wno-frame-address
    4446  endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette