- Old VirtualBox OSE 5.2.44 preserved as "-legacy" versions of the ports (repocopied) - Add back extra patch removed in r528258, actually required to build DEBUG kmod - Correctly define WITH_DEBUG when enabling the DEBUG option, so binaries are not stripped Please note that this new version supports only amd64 CPUs. If you need to use older hardware please install the legacy ports. Note that moving VM snapshots across major updates is unsupported, it's strongly suggested to properly shutdown VMs before upgrading, please check UPDATING for further details. This update is the result of work from many people, and thanks to all who gave feedback and tested things. Patch based on work from: Mario Lobo <lobo@bsd.com.br> and jkim. PR: 234878 Submitted by: kunda <chitty_cloud@me.com> Approved by: vbox (implicit) Reviewed by: decke Tested by: jwb, martin ilavsky <ilavsky.martin@gmail.com>, Mario Lobo <lobo@bsd.com.br> Relnotes: https://www.virtualbox.org/wiki/Changelog-6.1 Differential Revision: https://reviews.freebsd.org/D28871
12 lines
802 B
Text
12 lines
802 B
Text
--- src/recompiler/Makefile.kmk.orig 2019-01-25 18:33:40 UTC
|
|
+++ src/recompiler/Makefile.kmk
|
|
@@ -63,6 +63,9 @@ else
|
|
# Missing fpclassify. Is there a better define or flag for this?
|
|
VBoxRemPrimary_DEFS.solaris += __C99FEATURES__
|
|
endif # win
|
|
+# XXX Work around a linker issue with GCC 8.x & LLD:
|
|
+# ld: error: translate.c:(.debug_loc+0xA40FD): has non-ABS relocation R_386_GOTOFF against symbol 'cpu_regs'
|
|
+VBoxRemPrimary_CFLAGS.freebsd.x86 += -g0
|
|
VBoxRemPrimary_DEFS += IN_REM_R3 REM_INCLUDE_CPU_H NEED_CPU_H
|
|
#VBoxRemPrimary_DEFS += REM_PHYS_ADDR_IN_TLB
|
|
#VBoxRemPrimary_DEFS += DEBUG_ALL_LOGGING DEBUG_DISAS DEBUG_PCALL CONFIG_DEBUG_EXEC DEBUG_FLUSH DEBUG_IOPORT DEBUG_SIGNAL DEBUG_TLB_CHECK DEBUG_TB_INVALIDATE DEBUG_TLB # Enables huge amounts of debug logging.
|