VirtualBox

Changeset 70702 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jan 23, 2018 11:04:36 AM (7 years ago)
Author:
vboxsync
Message:

Add more error checking when doing debug (test) builds of Linux kernel modules.
bugref:4567: Linux kernel driver maintenance
Remove one warning check due to a gcc 4 bug.
Back-port candidate to 5.2 if the build boxes agree.

File:
1 edited

Legend:

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

    r70682 r70702  
    3838KFLAGS   := -D__KERNEL__ -DMODULE $(MOD_DEFS)
    3939ifeq ($(BUILD_TYPE),debug)
    40  KFLAGS  += -DDEBUG -DDEBUG_$(subst $(subst _, ,_),_,$(USERNAME)) -DDEBUG_USERNAME=$(subst $(subst _, ,_),_,$(USERNAME)) -Werror -Wall
     40# The -Wno-array-bounds is because of a bug in gcc 4.something, see
     41# https://sourceware.org/bugzilla/show_bug.cgi?id=10001
     42 KFLAGS  += -DDEBUG -DDEBUG_$(subst $(subst _, ,_),_,$(USERNAME)) -DDEBUG_USERNAME=$(subst $(subst _, ,_),_,$(USERNAME)) -Werror -Wall -Wno-array-bounds
    4143endif
    4244
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