Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 638210 Details for
Bug 710940
app-emulation/virtualbox-6.1.4-r1 fails to build with GCC-10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc 10 patch
fixes_for_gcc10.patch (text/plain), 1.93 KB, created by
Andrea Postiglione
on 2020-05-11 17:02:45 UTC
(
hide
)
Description:
gcc 10 patch
Filename:
MIME Type:
Creator:
Andrea Postiglione
Created:
2020-05-11 17:02:45 UTC
Size:
1.93 KB
patch
obsolete
>Index: VirtualBox-6.1.4/Config.kmk >=================================================================== >--- VirtualBox-6.1.4.orig/Config.kmk >+++ VirtualBox-6.1.4/Config.kmk >@@ -2684,8 +2684,16 @@ else > # The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)). > # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`. > # gcc-5 of openSUSE42.1 only returns the major version on `gcc -dumpversion`! >- VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion) | \ >- $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' ) >+ # >+ # Check to make sure that the compiler has either -dumpfullversion or -dumpversion. gcc-10 has neither >+ RC = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion 2>/dev/null) ; echo $$?) >+ ifneq ($(RC),0) >+ # dump version commands not available - hardcode 10.0.1 for the moment >+ VBOX_GCC_VERSION = 100001 >+ else >+ VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion 2>/dev/null) | \ >+ $(SED_EXT) 's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 0))|' ) >+ endif > endif > > # YASM macros >Index: VirtualBox-6.1.4/src/VBox/Debugger/DBGCDumpImage.cpp >=================================================================== >--- VirtualBox-6.1.4.orig/src/VBox/Debugger/DBGCDumpImage.cpp >+++ VirtualBox-6.1.4/src/VBox/Debugger/DBGCDumpImage.cpp >@@ -468,7 +468,7 @@ static const char *dbgcMachoCpuType(uint > { > switch (uType) > { >- case CPU_TYPE_ANY: return "CPU_TYPE_ANY"; >+ default: return "CPU_TYPE_ANY"; > case CPU_TYPE_VAX: return "VAX"; > case CPU_TYPE_MC680x0: return "MC680x0"; > case CPU_TYPE_X86: return "X86";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 710940
:
616398
| 638210