VirtualBox

Changeset 63881 in vbox


Ignore:
Timestamp:
Sep 19, 2016 11:31:27 AM (8 years ago)
Author:
vboxsync
Message:

VBOX_GCC_Wa_cma_nocompress_debug_sections for working around compressed debug sections not handled by bs3kit object converter atm.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r63759 r63881  
    25922592        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_no-pie                ?= $(call VBOX_GCC_CHECK_CC,-no-pie,)'
    25932593        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
     2594        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wa_cma_nocompress_debug_sections ?= $(call VBOX_GCC_CHECK_CC,-Wa$(COMMA)--nocompress-debug-sections,)'
    25942595# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2.
    25952596        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_mtune-generic         ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)'
  • trunk/src/VBox/ValidationKit/bootsectors/Config.kmk

    r63758 r63881  
    276276endif
    277277TOOL_Bs3Gcc64Elf64_COBJSUFF         = .o64
    278 TOOL_Bs3Gcc64Elf64_CFLAGS           = -fno-pie -x c
     278TOOL_Bs3Gcc64Elf64_CFLAGS           = -fno-pie -x c $(VBOX_GCC_Wa_cma_nocompress_debug_sections)
    279279TOOL_Bs3Gcc64Elf64_CFLAGS.debug     = -g
    280280TOOL_Bs3Gcc64Elf64_CFLAGS.profile   = -O2 #-g -pg
     
    312312
    313313TOOL_Bs3Gcc64Elf64_CXXOBJSUFF       ?= .o
    314 TOOL_Bs3Gcc64Elf64_CXXFLAGS         ?= -fno-pie
     314TOOL_Bs3Gcc64Elf64_CXXFLAGS         ?= -fno-pie $(VBOX_GCC_Wa_cma_nocompress_debug_sections)
    315315TOOL_Bs3Gcc64Elf64_CXXFLAGS.debug   ?= -g0 # no debug info, thank you
    316316TOOL_Bs3Gcc64Elf64_CXXFLAGS.profile ?= -O2 #-g -pg
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