1
0
forked from pool/virtualbox
virtualbox/vbox-fpie.diff
OBS User mrdocs 52f05245dc Accepting request 214248 from home:saschpe:branches:Virtualization
- Update to version 4.3.6:
  + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451)
  + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410)
  + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481)
  + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414)
  + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245)
  + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205)
  + GUI: fixed warnings in VM settings / number of guest processors (bug #12480)
  + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424)
  + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017)
  + Main: fixed occasional crashes on guest display resolution change (bug #7063)
  + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498)
  + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability
  + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030)
  + Network: allow to start more than 5 PCNet instances (bug #12426)
  + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection
  + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021)
  + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) 
- For more changes see https://www.virtualbox.org/wiki/Changelog
- Add source services (refresh_patches ATM)
- Rebased patches:
  + vbox-disable-updates.diff (only offset)
  + vbox-fpie.diff (only offset)
  + vbox-deprec-gsoap-service-proxies.diff (manually)
  + vbox-gsoapssl-deps.diff (manually)
  + vbox-no-build-dates.diff (manually)
  + vbox-permissions_warning.diff (manually)
  + vbox-python-detection.diff (manually)
  + vbox-smc-napa.diff (manually)
  + vbox-vboxdrv-init-script.diff (manually)

OBS-URL: https://build.opensuse.org/request/show/214248
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=150
2014-01-19 00:52:50 +00:00

21 lines
1.1 KiB
Diff

Index: VirtualBox-4.3.6/Config.kmk
===================================================================
--- VirtualBox-4.3.6.orig/Config.kmk
+++ VirtualBox-4.3.6/Config.kmk
@@ -3873,10 +3873,13 @@ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.darwi
ifeq ($(KBUILD_TARGET),linux)
# not necessary except USE_LIB_PCAP is defined in SUPR3HardenedMain.cpp
# TEMPLATE_VBOXR3HARDENEDEXE_LIBS += cap
+ TEMPLATE_VBOXR3HARDENEDEXE_CXXFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.linux) -fPIE
+ TEMPLATE_VBOXR3HARDENEDEXE_CFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CFLAGS.linux) -fPIE
+ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(TEMPLATE_VBOXR3EXE_LDFLAGS.linux) -pie
endif
ifn1of ($(KBUILD_TARGET), win os2)
- TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBOXR3EXE_LDFLAGS))
- TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux))
+ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBOXR3EXE_LDFLAGS)) -pie
+ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux)) -pie
endif
#