Jump to content
ErmaC

Clover General discussion

19,662 posts in this topic

Recommended Posts

Hello, 

 

Yes Clover works good for AMD but not Ryzen 7 AMD , now Ryzen works with chameleon bootloader 2667 Bronya ;)

Well, could someone provide the patches? If yes, then everything will be clear. 

 

 

pas de kernel pour l'instant  :)

 

cordialement Gilles

What did this mean... Sorry I don't understand France.

Share this post


Link to post
Share on other sites
Advertisement

 

நீங்கள் ஹலோ பிரான்ஸ் இருந்து!
 
நான் கர்னல் எனக்கு Ryzen 7 சிபியு இப்போது தெரியவில்லை அர்த்தம்.
 
உண்மையுள்ள கில்லஸ் டெ பிரான்ஸ்
 
:)

 

Got it :P , but to the end no one has nothing to watch to create the support for this kind of cpu... maybe next chameleon will have a closed source (using a module?).. so to force peoples to share their secrets in exchange for other secrets  :yes:. From me, I can only advice Slice to remove any kind of support for AMD in Clover.... as policy, my 2 cents.

Share this post


Link to post
Share on other sites

I can do anything for AMD until a developer tell me what is needed. No user, no tester, only DEVELOPER.

you mean AMD6000Controller?

Share this post


Link to post
Share on other sites

Got black screen after i update to clover 4035 !

it was working gr8 on clover 3974.

Ive tried, Dual link = Nil,0,1 no effect clear.png

If i Inject ROM then display = 4 MB(VRAM)
same for Inject ATI
No changes wen i edit EDID.

There are some major changes in Clover 4K related to ATI.
System is loading(Confirmed by running Voice Over clear.png )

Share this post


Link to post
Share on other sites

Slice sir, wats the new way of ATI connector patch in clover 4K !

<dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>AMD Connectors Patch</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				AgAAAAABAAAZAQEAAAAAABIEAwMAAAAAAAQAAAQDAAAA
				AQIBAAAAABECAQEAAAAAAAQAAAABAAAACQMAAAAAACED
				AgIAAAAAAAQAAAABAAAACQQAAAAAACIFBAQAAAAAAAQA
				AAQDAAAAAQUAAAAAABAABQUAAAAA
				</data>
				<key>Name</key>
				<string>AMD7000Controller</string>
				<key>Replace</key>
				<data>
				AAQAAAQDAAAAAQJRAAAAABIEBAEAAAAAAAQAAAQDAAAA
				AQNhAAAAACIFBQIAAAAAAAgAAAQCAAAAAQFDAAAAABEC
				AQMAAAAABAAAABQCAAAAAQQxAAAAABAABgYAAAAABAAA
				AAQCAAAAAQURAAAAACEDAgUAAAAA
				</data>
			</dict>
		</array>
	</dict>
</dict>
</plist>

Share this post


Link to post
Share on other sites

The "No SIP" option when you press spacebar in the Clover menu doesn't work. If I use this and then try to modify anything in /System I get an error.

 

I have to go through the Options menu and select Unrestricted FS in the SIP section.

Share this post


Link to post
Share on other sites

well escape key also does not function using the spacebar options. but esc works fine in option menu idk if thats related but it's been like that for a long while. probably since GUI sub menus was introduced.

Share this post


Link to post
Share on other sites

I cannot figure out why Clover isn't using the nVidia Driver, yes it's installed, or why it's not using my countdown (timer) preferences on the boot selection screen. If I use the boot option of "nvda_drv=1" at the boot selection screen, then it is enabled and the appropriate kexts load (verified through kextstat).  It has to be simple enough.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>DropOEM_DSM</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP_0001</key>
				<true/>
				<key>AddHDMI_8000000</key>
				<true/>
				<key>AddPNLF_1000000</key>
				<true/>
				<key>DeleteUnused_400000</key>
				<true/>
				<key>FIX_ACST_4000000</key>
				<true/>
				<key>FIX_ADP1_800000</key>
				<true/>
				<key>FIX_RTC_20000</key>
				<true/>
				<key>FIX_S3D_2000000</key>
				<true/>
				<key>FIX_TMR_40000</key>
				<true/>
				<key>FIX_WAK_200000</key>
				<true/>
				<key>FixAirport_4000</key>
				<true/>
				<key>FixDarwin_0002</key>
				<true/>
				<key>FixDisplay_0100</key>
				<true/>
				<key>FixFirewire_0800</key>
				<true/>
				<key>FixHDA_8000</key>
				<true/>
				<key>FixHPET_0010</key>
				<true/>
				<key>FixIPIC_0040</key>
				<true/>
				<key>FixLAN_2000</key>
				<true/>
				<key>FixRegions_10000000</key>
				<true/>
				<key>FixSBUS_0080</key>
				<true/>
				<key>FixShutdown_0004</key>
				<true/>
				<key>FixUSB_1000</key>
				<true/>
				<key>NewWay_80000000</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>ReuseFFFF</key>
			<false/>
		</dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>DMAR</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<true/>
			<key>Generate</key>
			<true/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>darkwake=0 nvda_drv=1 kext-dev-mode=1 rootless=0</string>
		<key>CustomLogo</key>
		<false/>
		<key>Debug</key>
		<false/>
		<key>DefaultLoader</key>
		<string>BOOTX64.efi</string>
		<key>DefaultVolume</key>
		<string>Macintosh SSD</string>
		<key>Legacy</key>
		<string>PBR</string>
		<key>NeverHibernate</key>
		<true/>
		<key>Secure</key>
		<false/>
		<key>Timeout</key>
		<integer>10</integer>
		<key>XMPDetection</key>
		<string>Yes</string>
	</dict>
	<key>CPU</key>
	<dict>
		<key>UseARTFrequency</key>
		<false/>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>
	<key>GUI</key>
	<dict>
		<key>Language</key>
		<string>en:0</string>
		<key>Mouse</key>
		<dict>
			<key>DoubleClick</key>
			<integer>500</integer>
			<key>Enabled</key>
			<false/>
			<key>Mirror</key>
			<false/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<true/>
		<key>ScreenResolution</key>
		<string>1920x1080</string>
		<key>Theme</key>
		<string>universe</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>NvidiaSingle</key>
		<false/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleRTC</key>
		<true/>
		<key>AsusAICPUPM</key>
		<false/>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KernelHaswellE</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<false/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>t1-AppleHDA/Resources/xml>zml</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				eG1sLnps
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				em1sLnps
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-10.9-10.12-AppleHDA/Realtek ALC1150</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				ixnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				AAnsEA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-10.12-AppleHDA/Realtek ALC...</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				ihnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				AAAAAA==
				</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>ROM</key>
		<string>UseMacAddr0</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BiosReleaseDate</key>
		<string>10/12/2012</string>
		<key>BiosVendor</key>
		<string>Apple Inc.</string>
		<key>BiosVersion</key>
		<string>IM131.88Z.010A.B05.1210121459</string>
		<key>Board-ID</key>
		<string>[Removed to Post]</string>
		<key>BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>BoardSerialNumber</key>
		<string>[Removed to Post]</string>
		<key>BoardType</key>
		<integer>10</integer>
		<key>ChassisAssetTag</key>
		<string>iMac-Aluminum</string>
		<key>ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>ChassisType</key>
		<string>13</string>
		<key>Family</key>
		<string>iMac</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
		<key>ProductName</key>
		<string>iMac13,2</string>
		<key>SerialNumber</key>
		<string>[Removed to Post]</string>
		<key>SmUUID</key>
		<string>[Removed to Post]</string>
		<key>Trust</key>
		<false/>
		<key>Version</key>
		<string>1.0</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Yes</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

I apologize if this isn't appropriate, but I cannot start a new topic for my issue.

Share this post


Link to post
Share on other sites

I have updated to 10.12.4 and my 6670 doesn't flicker. But I have to stay at clover 3974. Any version after that will give me a black screen after a verbose boot.

 

So this is related to the graphic card? (reading previous posts now) Thanks.

 

:) Here is my current Clover config https://pastebin.com/Btq9wj2q

 

EDIT

 

OK, just removed all ATI FB patch codes and clover 4035 works now, with GPU recognized as 6xxx again. still no flicker (?). how can I reproduce this problem to help?

Edited by Henry2010

Share this post


Link to post
Share on other sites

I just want to upgrade install macOS 10.12.4 from 10.11.6, but I not found the install entry in Clover GUI.

boot.efi not found in macOS Install Data dir on 10.12.4, It was moved to:

/macOS Install Data/Locked Files/Boot Files/

I added this path to loader.c, and rebuild clover, it works good.

Share this post


Link to post
Share on other sites

This is a problem of compiling a clover on systems with XCODE-8.3. If I use Xcode-8.2.1 then there is no problem.

 

 

iMac-Droplets-2:clover droplets$ ./ebuild.sh -fr -D NO_GRUB_DRIVERS_EMBEDDED -D EXIT_USBKB=1
TOOLCHAIN_DIR: /Users/droplets/src/edk2/clover/../../opt/local
NASM_PREFIX: /Users/droplets/src/edk2/clover/../../opt/local/bin/
NASM_VER: 2.12.02
Initializing workspace
Loading previous configuration from /Users/droplets/src/edk2/Conf/BuildEnv.sh
WORKSPACE: /Users/droplets/src/edk2
EDK_TOOLS_PATH: /Users/droplets/src/edk2/BaseTools
CONF_PATH: /Users/droplets/src/edk2/Conf

Running edk2 build for CloverX64 using the command:
build  -D NO_GRUB_DRIVERS_EMBEDDED -D EXIT_USBKB=1 -D USE_LOW_EBDA -p Clover/Clover.dsc  -a X64 -b RELEASE -t XCODE5 -n 9 

Build environment: Darwin-16.5.0-x86_64-i386-64bit
Build start time: 22:21:16, Mar.28 2017

WORKSPACE        = /Users/droplets/src/edk2
ECP_SOURCE       = /Users/droplets/src/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /Users/droplets/src/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /Users/droplets/src/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/droplets/src/edk2/BaseTools
CONF_PATH        = /Users/droplets/src/edk2/Conf


Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE5

Active Platform          = /Users/droplets/src/edk2/Clover/Clover.dsc
Flash Image Definition   = /Users/droplets/src/edk2/Clover/Clover.fdf

Processing meta-data ......... done!
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
[CC] PcdLib
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
[CC] DebugLib
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
[CC] SetMem
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
[CC] ScanMem64Wrapper
Building ... /Users/droplets/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:713:23: error: cannot compile this va_arg expression yet
              Width = VA_ARG (VaListMarker, UINTN);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:719:27: error: cannot compile this va_arg expression yet
              Precision = VA_ARG (VaListMarker, UINTN);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:812:21: error: cannot compile this va_arg expression yet
            Value = VA_ARG (VaListMarker, int);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:81: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:818:21: error: cannot compile this va_arg expression yet
            Value = VA_ARG (VaListMarker, INT64);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:909:28: error: cannot compile this va_arg expression yet
          ArgumentString = VA_ARG (VaListMarker, CHAR8 *);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:927:23: error: cannot compile this va_arg expression yet
          Character = VA_ARG (VaListMarker, UINTN) & 0xffff;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:937:21: error: cannot compile this va_arg expression yet
          TmpGuid = VA_ARG (VaListMarker, GUID *);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:970:21: error: cannot compile this va_arg expression yet
          TmpTime = VA_ARG (VaListMarker, TIME *);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeo[CC] ScanMem32Wrapper
f (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:994:20: error: cannot compile this va_arg expression yet
          Status = VA_ARG (VaListMarker, RETURN_STATUS);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 errors generated.
make: *** [/Users/droplets/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BasePrintLib/BasePrintLib/OUTPUT/PrintLibInternal.obj] Error 1
Building ... /Users/droplets/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
[CC] CheckSum
[CC] BaseReportStatusCodeLib
[CC] IoLibMmioBuffer
[CC] ScanMem16Wrapper
[CC] SwitchStack
[CC] ScanMem8Wrapper
[CC] DxeCoreEntryPoint
[CC] SwapBytes64
[CC] ZeroMemWrapper
[CC] MemoryAllocationLib
[CC] IoHighLevel
[CC] CompareMemWrapper
[CC] IoLibGcc
[CC] DxeCoreMemoryProfileLibNull
[CC] SetMem64Wrapper
[CC] IoLib
[NASM] IoFifo
[SLINK] BasePcdLibNull
Building ... /Users/droplets/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
[SLINK] BaseDebugLibNull
Building ... /Users/droplets/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
[CC] UefiRuntimeServicesTableLib
[SLINK] UefiRuntimeServicesTableLib
Building ... /Users/droplets/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
[CC] DevicePathUtilities
[CC] UefiBootServicesTableLib
[SLINK] UefiBootServicesTableLib
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]
[CC] PeCoffExtraActionLib
[SLINK] BaseReportStatusCodeLibNull
Building ... /Users/droplets/src/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]
[SLINK] PeCoffExtraActionLibNull
Building ... /Users/droplets/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]
[SLINK] DxeCoreEntryPoint
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]
[CC] HobLib
[SLINK] DxeCoreHobLib
[CC] SwapBytes32
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]
[CC] X86Cache
[SLINK] BaseCacheMaintenanceLib
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]
[CC] UefiLibPrint
[CC] DevicePathToText
[CC] SwapBytes16
[SLINK] DxeCoreMemoryAllocationLib
Building ... /Users/droplets/src/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]
[CC] PerformanceLib
[CC] LongJump
[SLINK] BasePerformanceLibNull
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]
[CC] UefiNotTiano
[CC] SetMem32Wrapper
[CC] SetJump
[CC] SetMem16Wrapper
[CC] RShiftU64
[CC] PeCoffGetEntryPoint
[CC] BaseUefiDecompressLib
[SLINK] BasePeCoffGetEntryPointLib
Building ... /Users/droplets/src/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]
[SLINK] BaseUefiDecompressLib
[CC] SetMemWrapper
Building ... /Users/droplets/src/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]
[CC] RRotU64
[CC] CopyMemWrapper
[CC] RRotU32
[CC] UefiDriverModel
[SLINK] BaseIoLibIntrinsic
Building ... /Users/droplets/src/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]
[CC] IsZeroBufferWrapper
[CC] BasePeCoff
[CC] MultU64x64
[CC] DxeExtractGuidedSectionLib
[CC] PeCoffLoaderEx
/Users/droplets/src/edk2/MdePkg/Library/UefiLib/Console.c:426:20: error: cannot compile this va_arg expression yet
  while ((String = VA_ARG (Args, CHAR16 *)) != NULL) {
                   ^~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Library/UefiLib/Console.c:499:20: error: cannot compile this va_arg expression yet
[SLINK] DxeExtractGuidedSectionLib
  while ((String = VA_ARG (Args, CHAR16 *)) != NULL && NumberOfLines > 0) {
                   ^~~~~~~~~~~~~~~~~~~~~~~
/Users/droplets/src/edk2/MdePkg/Include/Base.h:672:124: note: expanded from macro 'VA_ARG'
#define VA_ARG(Marker, TYPE)         ((sizeof (TYPE) < sizeof (UINTN)) ? (TYPE)(__builtin_va_arg (Marker, UINTN)) : (TYPE)(__builtin_va_arg (Marker, TYPE)))
                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
Building ... /Users/droplets/src/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]
make: *** [/Users/droplets/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/UefiLib/UefiLib/OUTPUT/Console.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/droplets/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/droplets/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BasePrintLib/BasePrintLib]


build.py...
 : error F002: Failed to build module
	/Users/droplets/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64, XCODE5, RELEASE]

- Failed -
Build end time: 22:21:32, Mar.28 2017
Build total time: 00:00:16

iMac-Droplets-2:clover droplets$ 

 

 

Share this post


Link to post
Share on other sites

@Zenith432: nice, but those changes break the compilation with Xcode 8.2.1. Just tested it on OS X 10.11.6, it complaints about unknown warning option (-Wno-address-of-packed-member).

 

 

 

Running edk2 build for CloverX64 using the command:
build  -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_LOW_EBDA -p Clover/Clover.dsc  -a X64 -b RELEASE -t XCODE5 -n 9

Build environment: Darwin-15.6.0-x86_64-i386-64bit
Build start time: 20:30:00, Mar.29 2017

WORKSPACE        = /Users/philip/src/edk2
ECP_SOURCE       = /Users/philip/src/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /Users/philip/src/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /Users/philip/src/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/philip/src/edk2/BaseTools
CONF_PATH        = /Users/philip/src/edk2/Conf


Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE5

Active Platform          = /Users/philip/src/edk2/Clover/Clover.dsc
Flash Image Definition   = /Users/philip/src/edk2/Clover/Clover.fdf

Processing meta-data ........ done!
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
[CC] PcdLib
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
[sLINK] BasePcdLibNull
[CC] DebugLib
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
[sLINK] BaseDebugLibNull
[CC] SetMem
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
[CC] ScanMem64Wrapper
[CC] ScanMem32Wrapper
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
[CC] ScanMem16Wrapper
[CC] CheckSum
[CC] ScanMem8Wrapper
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
[CC] SwitchStack
[CC] BaseReportStatusCodeLib
[sLINK] BaseReportStatusCodeLibNull
[CC] ZeroMemWrapper
Building ... /Users/philip/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
[CC] IoLibMmioBuffer
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
[CC] SwapBytes64
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
[CC] CompareMemWrapper
[CC] SwapBytes32
[CC] SetMem64Wrapper
[CC] DxeCoreEntryPoint
[CC] UefiRuntimeServicesTableLib
[CC] SwapBytes16
[sLINK] DxeCoreEntryPoint
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]
[sLINK] UefiRuntimeServicesTableLib
[CC] UefiBootServicesTableLib
[CC] SetMem32Wrapper
[sLINK] UefiBootServicesTableLib
Building ... /Users/philip/src/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]
[CC] IoHighLevel
[CC] LongJump
[CC] MemoryAllocationLib
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]
[CC] PeCoffExtraActionLib
[CC] SetMem16Wrapper
[CC] SetJump
[sLINK] PeCoffExtraActionLibNull
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]
[CC] IoLibGcc
[CC] DxeCoreMemoryProfileLibNull
[CC] SetMemWrapper
[sLINK] DxeCoreMemoryAllocationLib
[CC] RShiftU64
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]
[CC] IoLib
[CC] HobLib
[CC] CopyMemWrapper
[CC] X86Cache
[CC] RRotU64
[sLINK] DxeCoreHobLib
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]
[sLINK] BaseCacheMaintenanceLib
[CC] DevicePathUtilities
[CC] IsZeroBufferWrapper
Building ... /Users/philip/src/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]
[CC] UefiLibPrint
[CC] RRotU32
[CC] PerformanceLib
[CC] MultU64x64
[sLINK] BasePerformanceLibNull
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]
[CC] MemLibGeneric
[CC] MultU64x32
[CC] UefiNotTiano
[CC] PrintLibInternal
[CC] MultS64x64
[NASM] IoFifo
[CC] MemLibGuid
[sLINK] BaseIoLibIntrinsic
Building ... /Users/philip/src/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]
[CC] PeCoffGetEntryPoint
[sLINK] BasePeCoffGetEntryPointLib
[CC] PrintLib
[CC] ModU64x32
Building ... /Users/philip/src/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]
[sLINK] BasePrintLib
Building ... /Users/philip/src/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]
[CC] LShiftU64
[CC] BaseUefiDecompressLib
[sLINK] BaseUefiDecompressLib
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]
[CC] CopyMem
[sLINK] BaseMemoryLib
[CC] LRotU64
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]
[CC] DxeExtractGuidedSectionLib
[sLINK] DxeExtractGuidedSectionLib
[CC] UefiDriverModel
[CC] DebugAgentLibNull
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
[CC] LRotU32
[sLINK] DebugAgentLibNull
[CC] X86TimerLib
Building ... /Users/philip/src/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]
[sLINK] DuetTimerLib
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
[CC] BasePeCoff
[CC] LowBitSet64
[CC] CpuExceptionHandlerLibNull
[sLINK] CpuExceptionHandlerLibNull
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]
[CC] PeCoffLoaderEx
[sLINK] VBoxPeCoffLib
[CC] LowBitSet32
[CC] DxeServicesLib
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [X64]
[sLINK] DxeServicesLib
[CC] MemoryAllocationLib
[CC] Console
[sLINK] UefiMemoryAllocationLib
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]
[CC] HighBitSet64
[CC] HobLib
[CC] DriverEntryPoint
[sLINK] DxeHobLib
[sLINK] UefiDriverEntryPoint
Building ... /Users/philip/src/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [X64]
[CC] HighBitSet32
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [X64]
[CC] RuntimeLib
[CC] DevicePathToText
[CC] InternalGetSpinLockProperties
[sLINK] UefiRuntimeLib
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf [X64]
[CC] GetPowerOfTwo64
[CC] GccInline
[CC] TpmMeasurementLibNull
[CC] DxeServicesTableLib
[sLINK] DxeServicesTableLib
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64]
[CC] GetPowerOfTwo32
[sLINK] TpmMeasurementLibNull
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64]
[CC] AuthVariableLibNull
[CC] SynchronizationGcc
[sLINK] AuthVariableLibNull
[CC] DivU64x64Remainder
[sLINK] BaseSynchronizationLib
[CC] VarCheckLib
[sLINK] VarCheckLib
Building ... /Users/philip/src/edk2/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]
[CC] DivU64x32Remainder
Building ... /Users/philip/src/edk2/Clover/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
[CC] DxeCapsuleLibNull
[sLINK] DxeCapsuleLibNull
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]
[CC] UefiLib
[CC] DivU64x32
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]
[sLINK] UefiLib
[CC] VarCheckUefiLibNullClass
Building ... /Users/philip/src/edk2/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64]
[sLINK] VarCheckUefiLib
[CC] DivS64x64Remainder
[CC] UefiHiiServicesLib
Building ... /Users/philip/src/edk2/Clover/Library/GenericBdsLib/GenericBdsLib.inf [X64]
[CC] DxeSecurityManagementLib
[sLINK] DxeSecurityManagementLib
[sLINK] UefiHiiServicesLib
Building ... /Users/philip/src/edk2/Clover/Library/OsxBdsPlatformLib/PlatformBds.inf [X64]
[CC] ARShiftU64
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]
[CC] LzmaDecompress
[CC] DxePcdLib
[CC] BitField
[sLINK] DxePcdLib
Building ... /Users/philip/src/edk2/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]
[CC] DevicePath
[CC] CpuDeadLoop
[CC] CustomizedDisplayLib
[CC] Cpu
[CC] PciLib
[sLINK] BasePciLibCf8
Building ... /Users/philip/src/edk2/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]
[CC] PciCf8Lib
[sLINK] BasePciCf8Lib
[CC] LinkedList
Building ... /Users/philip/src/edk2/Clover/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64]
[CC] BdsPlatform
[CC] Performance
[CC] MemLogLib
[sLINK] MemLogLibDefault
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64]
[CC] VideoBiosPatchLib
[CC] PlatformData
[sLINK] DuetBds
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]
[CC] CustomizedDisplayLibInternal
[CC] AutoGen
[CC] LzFind
[sLINK] CustomizedDisplayLib
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]
[CC] BdsConnect
[CC] Hid
[CC] UefiScsiLib
[sLINK] UefiScsiLib
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]
[CC] 915resolution
[CC] HiiLib
[CC] UefiSortLib
[CC] UsbDxeLib
[sLINK] UefiSortLib
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]
[sLINK] UefiUsbLib
Building ... /Users/philip/src/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]
[CC] HiiString
[CC] edid
[sLINK] VideoBiosPatchLib
Building ... /Users/philip/src/edk2/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64]
[CC] ApplicationEntryPoint
[sLINK] UefiApplicationEntryPoint
[CC] UefiFileHandleLib
[sLINK] UefiFileHandleLib
Building ... /Users/philip/src/edk2/Clover/Library/OpensslLib/OpensslLibNull.inf [X64]
[CC] BdsMisc
[CC] HiiLanguage
Building ... /Users/philip/src/edk2/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64]
[CC] DevicePathFromText
[sLINK] UefiHiiLib
Building ... /Users/philip/src/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
[CC] ScanMem64Wrapper
[CC] OpensslLibNull
[CC] SafeString
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/Library/OpensslLib/OpensslLibNull/OUTPUT/OpensslLibNull.obj has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/Library/OpensslLib/OpensslLibNull/OUTPUT/OpensslLib.lib the table of contents is empty (no object file members in the library define global symbols)
[sLINK] OpensslLib
[CC] UefiDevicePathLib
[sLINK] UefiDevicePathLib
[CC] ScanMem32Wrapper
[CC] ScanMem16Wrapper
[CC] LzmaDec
[CC] BdsConsole
[ASM] CpuSleep
[CC] ScanMem8Wrapper
[CC] GuidedSectionExtraction
[sLINK] LzmaDecompressLib
[CC] ZeroMemWrapper
[CC] String
[CC] DxeNetLib
[ASM] CpuFlushTlb
[CC] CompareMemWrapper
[CC] FilePaths
[sLINK] BaseCpuLib
[CC] UefiShellLib
[sLINK] UefiShellLib
[CC] SetMem64Wrapper
[CC] SetMem32Wrapper
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/Thunk16.iii:300: warning: absolute address can not be RIP-relative
[NASM] Thunk16
[CC] SetMem16Wrapper
[CC] Non-existing
[CC] NetBuffer
[sLINK] DxeNetLib
[CC] SetMemWrapper
[CC] Math64
[CC] Unaligned
[CC] CopyMemWrapper
[CC] X86WriteIdtr
[CC] BdsBoot
[CC] X86WriteGdtr
[CC] IsZeroBufferWrapper
[CC] X86Thunk
[CC] String
[CC] X86ReadIdtr
[CC] MemLibGeneric
[CC] AutoGen
[CC] X86ReadGdtr
[sLINK] GenericBdsLib
[CC] X86Msr
[CC] MemLibGuid
[CC] X86GetInterruptState
[CC] MemLib
[sLINK] UefiMemoryLib
[CC] X86FxSave
[CC] X86FxRestore
[CC] X86EnablePaging64
[CC] X86EnablePaging32
[CC] X86DisablePaging64
[CC] X86DisablePaging32
[CC] X86RdRand
[CC] GccInline
[ASM] SwitchStack
[ASM] SetJump
[ASM] LongJump
[ASM] EnableDisableInterrupts
[ASM] DisablePaging64
[ASM] CpuId
[ASM] CpuIdEx
[ASM] EnableCache
[ASM] DisableCache
[ASM] RdRand
[CC] ChkStkGcc
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (LongJump.obj) in output file used for input files: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.obj and: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/LongJump.obj (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (SetJump.obj) in output file used for input files: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SetJump.obj and: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/SetJump.obj (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (SwitchStack.obj) in output file used for input files: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwitchStack.obj and: /Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/SwitchStack.obj (due to use of basename, truncation, blank padding or duplicate input files)
[sLINK] BaseLib
Building ... /Users/philip/src/edk2/Clover/CloverEFI/OsxDxeIpl/DxeIpl.inf [X64]
Building ... /Users/philip/src/edk2/Clover/CloverEFI/OsxDxeCore/DxeMain.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf [X64]
[CC] DxeInit
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf [X64]
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf [X64]
[CC] WatchdogTimer
[CC] MonotonicCounter
[CC] Crc32
[CC] InitVariable
[CC] Pcd
[CC] AutoGen
[sLINK] WatchdogTimer
[CC] CoreSectionExtraction
[CC] AutoGen
[sLINK] MonotonicCounterRuntimeDxe
[CC] Reclaim
[DLINK1] WatchdogTimer
[MTOC] WatchdogTimer
[CC] LegacyTable
[DLINK1] MonotonicCounterRuntimeDxe
[CC] Runtime
[MTOC] MonotonicCounterRuntimeDxe
[GENFW] WatchdogTimer
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf [X64]
[GENFW] MonotonicCounterRuntimeDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf [X64]
[CC] AutoGen
[sLINK] RuntimeDxe
[CC] HobGeneration
[DLINK1] RuntimeDxe
[MTOC] RuntimeDxe
[CC] FtwMisc
[CC] CapsuleService
[CC] NullMemoryTest
[GENFW] RuntimeDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf [X64]
[CC] EmuVariable
[CC] Debug
[CC] AutoGen
[CC] SaveLongModeContext
[sLINK] NullMemoryTestDxe
[CC] Image
[CC] AutoGen
[CC] UpdateWorkingBlock
[sLINK] EmuVariableRuntimeDxe
[DLINK1] NullMemoryTestDxe
[CC] Service
[MTOC] NullMemoryTestDxe
[CC] SecurityStub
[CC] EnterDxeCore
[DLINK1] EmuVariableRuntimeDxe
[MTOC] EmuVariableRuntimeDxe
[CC] AutoGen
[GENFW] NullMemoryTestDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf [X64]
[sLINK] CapsuleRuntimeDxe
[GENFW] EmuVariableRuntimeDxe
[CC] AutoGen
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf [X64]
[sLINK] PcdDxe
[DLINK1] CapsuleRuntimeDxe
[CC] DebugImageInfo
[CC] Defer3rdPartyImageLoad
[MTOC] CapsuleRuntimeDxe
[DLINK1] PcdDxe
[MTOC] PcdDxe
[CC] Paging
[CC] FaultTolerantWrite
[GENFW] CapsuleRuntimeDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf [X64]
[CC] ComponentName
[GENFW] PcdDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf [X64]
[CC] AutoGen
[sLINK] SecurityStubDxe
[CC] AutoGen
[sLINK] DxeIpl
[CC] FaultTolerantWriteDxe
[CC] Stall
[DLINK1] SecurityStubDxe
[MTOC] SecurityStubDxe
[DLINK1] DxeIpl
[MTOC] DxeIpl
[CC] ConSplitterGraphics
[GENFW] SecurityStubDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf [X64]
[CC] HiiDatabaseEntry
[GENFW] DxeIpl
[CC] AutoGen
Building ... /Users/philip/src/edk2/Clover/CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf [X64]
[CC] ConPlatform
[sLINK] FaultTolerantWriteDxe
[CC] SetWatchdogTimer
[DLINK1] FaultTolerantWriteDxe
[CC] ComponentName
[MTOC] FaultTolerantWriteDxe
[CC] AutoGen
[sLINK] ConPlatformDxe
[GENFW] FaultTolerantWriteDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf [X64]
[CC] ComponentName
[DLINK1] ConPlatformDxe
[CC] InstallConfigurationTable
[MTOC] ConPlatformDxe
[GENFW] ConPlatformDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf [X64]
[CC] LaffStd
[CC] DevicePath
[CC] Library
[CC] AutoGen
[CC] Variable
[sLINK] DevicePathDxe
[DLINK1] DevicePathDxe
[MTOC] DevicePathDxe
[CC] Image
[GENFW] DevicePathDxe
Building ... /Users/philip/src/edk2/DuetPkg/SmbiosGenDxe/SmbiosGen.inf [X64]
[CC] VariableDxe
[CC] SmbiosDxe
[CC] GraphicsConsole
[CC] ImageEx
[CC] DriverSupport
[CC] AutoGen
[CC] AutoGen
[CC] Measurement
[sLINK] GraphicsConsoleDxe
[sLINK] SmbiosDxe
[DLINK1] SmbiosDxe
[DLINK1] GraphicsConsoleDxe
[MTOC] SmbiosDxe
[MTOC] GraphicsConsoleDxe
[CC] SmbiosGen
[CC] TcgMorLockDxe
[GENFW] SmbiosDxe
Building ... /Users/philip/src/edk2/Clover/CloverEFI/OsxEfiLdr/EfiLdr.inf [X64]
[CC] Notify
[GENFW] GraphicsConsoleDxe
Building ... /Users/philip/src/edk2/Clover/CloverEFI/OsxBdsDxe/BdsDxe.inf [X64]
[CC] AutoGen
[sLINK] SmbiosGenDxe
[CC] VarCheck
[DLINK1] SmbiosGenDxe
[CC] EfiLoader
[MTOC] SmbiosGenDxe
[CC] Locate
[GENFW] SmbiosGenDxe
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf [X64]
[CC] ConSplitter
[CC] HwErrRecSupport
[CC] VariableExLib
[CC] Debug
[CC] AutoGen
[VFR] BdsDxe
[sLINK] ConSplitterDxe
[CC] AutoGen
[CC] EbcDebuggerHook
[sLINK] VariableRuntimeDxe
[DLINK1] ConSplitterDxe
[MTOC] ConSplitterDxe
[CC] DeviceManagerVfr
[DLINK1] VariableRuntimeDxe
[CC] Setup
[MTOC] VariableRuntimeDxe
[CC] FormDisplay
[GENFW] ConSplitterDxe
Building ... /Users/philip/src/edk2/Clover/CloverEFI/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf [X64]
[CC] PeLoader
[VFR] BdsDxe
[GENFW] VariableRuntimeDxe
Building ... /Users/philip/src/edk2/Clover/CloverEFI/CpuDxe/Cpu.inf [X64]
[CC] Handle
[CC] DriverHealthVfr
[CC] Support
[CC] CpuIo2Dxe
[CC] AutoGen
[sLINK] EfiLoader
[CC] AutoGen
[sLINK] CpuIo2Dxe
[DLINK1] EfiLoader
[MTOC] EfiLoader
[DLINK1] CpuIo2Dxe
[CC] ProcessOptions
[MTOC] CpuIo2Dxe
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/CloverEFI/CpuDxe/Cpu/OUTPUT/X64/CpuInterrupt.iii:30: warning: absolute address can not be RIP-relative
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/CloverEFI/CpuDxe/Cpu/OUTPUT/X64/CpuInterrupt.iii:31: warning: absolute address can not be RIP-relative
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/CloverEFI/CpuDxe/Cpu/OUTPUT/X64/CpuInterrupt.iii:32: warning: absolute address can not be RIP-relative
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/CloverEFI/CpuDxe/Cpu/OUTPUT/X64/CpuInterrupt.iii:36: warning: absolute address can not be RIP-relative
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/CloverEFI/CpuDxe/Cpu/OUTPUT/X64/CpuInterrupt.iii:37: warning: absolute address can not be RIP-relative
/Users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/CloverEFI/CpuDxe/Cpu/OUTPUT/X64/CpuInterrupt.iii:38: warning: absolute address can not be RIP-relative
[GENFW] EfiLoader
Building ... /Users/philip/src/edk2/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf [X64]
[NASM] CpuInterrupt
[GENFW] CpuIo2Dxe
Building ... /Users/philip/src/edk2/Clover/CloverEFI/AcpiReset/Reset.inf [X64]
[CC] EbcExecute
[CC] Gcd
[CC] 8259
[CC] DeviceManager
[CC] Reset
[CC] Cpu
[VFR] BdsDxe
[CC] AutoGen
[CC] IfrParse
[sLINK] Legacy8259
[CC] EbcInt
[CC] AutoGen
[sLINK] AcpiReset
[CC] BootManagerVfr
[CC] AutoGen
[CC] Pool
[DLINK1] Legacy8259
[sLINK] Cpu
[DLINK1] AcpiReset
[MTOC] Legacy8259
[MTOC] AcpiReset
[DLINK1] Cpu
[MTOC] Cpu
[CC] ConfigRouting
[GENFW] Legacy8259
Building ... /Users/philip/src/edk2/MdeModulePkg/Universal/Metronome/Metronome.inf [X64]
[GENFW] AcpiReset
Building ... /Users/philip/src/edk2/Clover/CloverEFI/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf [X64]
[CC] EbcSupport
[GENFW] Cpu
Building ... /Users/philip/src/edk2/PcAtChipsetPkg/8254TimerDxe/8254Timer.inf [X64]
[CC] BootManager
[CC] Metronome
[VFR] BdsDxe
[CC] PcRtcEntry
[CC] Timer
[CC] AutoGen
[CC] FE
[sLINK] Metronome
[CC] InputHandler
[DLINK1] Metronome
[ASM] EbcLowLevel
[MTOC] Metronome
[CC] AutoGen
[sLINK] Timer
[CC] Page
[GENFW] Metronome
Building ... /Users/philip/src/edk2/Clover/CloverEFI/PciRootBridgeDxe/PciRootBridge.inf [X64]
[DLINK1] Timer
[MTOC] Timer
[CC] AutoGen
[CC] AutoGen
[sLINK] DisplayEngine
[sLINK] EbcDxe
[CC] FileExplorer
[CC] PcRtc
[DLINK1] DisplayEngine
[CC] String
[GENFW] Timer
Building ... /Users/philip/src/edk2/Clover/CloverEFI/OsxPciBusNoEnumerationDxe/PciBusNoEnumeration.inf [X64]
[DLINK1] EbcDxe
[MTOC] EbcDxe
[CC] MemData
[MTOC] DisplayEngine
[GENFW] DisplayEngine
Building ... /Users/philip/src/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf [X64]
[GENFW] EbcDxe
[CC] AutoGen
Building ... /Users/philip/src/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf [X64]
[sLINK] PcRtc
[DLINK1] PcRtc
[MTOC] PcRtc
[CC] PciPowerManagement
[GENFW] PcRtc
Building ... /Users/philip/src/edk2/Clover/Protocols/DriverOverride/DriverOverride.inf [X64]
[CC] PcatPciRootBridge
[CC] FwVolBlock
[CC] DataHub
[CC] BootMaint
[CC] PcatPciRootBridgeDevicePath
[CC] DriverOverride
[CC] FwVolWrite
[CC] AutoGen
[sLINK] DataHubDxe
[CC] AutoGen
[CC] PciRomTable
[sLINK] DriverOverride
[CC] NvmExpressBlockIo
[DLINK1] DataHubDxe
[MTOC] DataHubDxe
[DLINK1] DriverOverride
[CC] BBSsupport
[MTOC] DriverOverride
[CC] FwVolRead
[GENFW] DataHubDxe
Building ... /Users/philip/src/edk2/Clover/FileSystems/VBoxFsDxe/VBoxHfs.inf [X64]
[CC] Expression
[CC] ComponentName
[GENFW] DriverOverride
[CC] PciDriverOverride
Building ... /Users/philip/src/edk2/Clover/FileSystems/VBoxFsDxe/VBoxIso9660.inf [X64]
[CC] PcatPciRootBridgeIo
error: unknown warning option '-Wno-address-of-packed-member' [-Werror,-Wunknown-warning-option]
make: *** [/users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/FileSystems/VBoxFsDxe/VBoxHfs/OUTPUT/fsw_hfs.obj] Error 1


build.py...
 : error 7000: Failed to execute command
    make tbuild [/users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/FileSystems/VBoxFsDxe/VBoxHfs]


build.py...
 : error 7000: Failed to execute command
    make tbuild [/users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/FileSystems/VBoxFsDxe/VBoxIso9660]


build.py...
 : error 7000: Failed to execute command
    make tbuild [/users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/FileSystems/VBoxFsDxe/VBoxExt2]


build.py...
 : error F002: Failed to build module
    /Users/philip/src/edk2/Clover/FileSystems/VBoxFsDxe/VBoxHfs.inf [X64, XCODE5, RELEASE]

- Failed -
Build end time: 20:30:20, Mar.29 2017
Build total time: 00:00:19


o_Ops, ./ebuild.sh exited with error(s), aborting..

 

 

Share this post


Link to post
Share on other sites

@Zenith432: nice, but those changes break the compilation with Xcode 8.2.1. Just tested it on OS X 10.11.6, it complaints about unknown warning option (-Wno-address-of-packed-member).

I'll try to find a way to make them coexist. In the meantime, need to remove -Wno-address-of-packed-member from FileSystems/VBoxFsDxe/VBox*.inf to make them compile under Xcode 8.2.1.  :unsure:

 

EDIT: Ok Phillip, thanks to this it is resolved in Rev 4047 in a way that should make even Download-Fritz happy.

Edited by Zenith432

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Slice
      OK, 4988 released.
      Now, @vector sigma, what have we do to update translations?
    • By fusion71au
      Clover r4989 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4989 for VMware.zip". Mount Clover-v2.4k-4989-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By fusion71au
      Run Vanilla OS X El Capitan, Sierra, High Sierra or Mojave in VirtualBox 5.x.x on a Windows Host
      Following on from my previous guide on how to create a VMware virtual machine running Vanilla OS X El Capitan in Windows, I’ve decided to write a similar guide for creating a VirtualBox El Capitan VM. 
       
      The virtual machine should be useful for testing El Capitan and also for creating installers for use on a real machine/hackintosh.
       
      There are other tutorials and videos on the net about running OS X on Windows machines using pre-made VMDK disk images but you can never guarantee what else is in there….
       
      I’ve gathered info for this guide from several threads in the Multibooting and Virtualisation section of this forum and also the wider internet eg
       
      @colt2 HOW TO: Create a bootable El Capitan ISO for VMware
      @dsmccombs comment on faking Ivybridge Processor
      @E:V:A http://forum.xda-developers.com/showpost.php?p=55572430&postcount=6
      @Tech Reviews video tutorial https://www.youtube.com/watch?v=t7X07U63lwg.
      VirtualBox Forum: Status of OSX on OSX
       
      Requirements
         Intel PC with four or more CPU cores running Windows 7 X64 or later OS (2 or more cores needed for OS X)    4GB or more RAM (2GB or more will be needed for OS X)    Hard Disk with at least 40GB free for Virtual Machine    Oracle VM VirtualBox v 5.0.34    Install OS X El Capitan app and Mac or Hack to prepare installation iso <-- Now, no longer necessary to have previous access to a Mac or Hack by building the Installer.app from scratch - see post#75    16GB or larger exFAT formatted USB stick to transfer El Capitan iso from Mac/Hack to Host PC  
      Prepare Installation ISO on your Mac or Hack
      1.  On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.
      2.  Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. The commands in this executable script are shown below for informational purposes.  Note: you will need approx 16GB of free space on your hard disk for the script to complete.
       
       
       
      3.  Open OS X terminal, then run the following commands to execute the script:
      cd downloads chmod +x CECI.tool ./CECI.tool 4.  At the end of the process, you will have an El Capitan iso on your desktop - copy this onto an exFAT formatted USB for use on the PC Host later.
       
       
      Create an El Capitan Virtual Machine in VirtualBox
      1.  Open the VirtualBox program and click the "New" button to create a new VM.
       

       
      2.  Select Mac OS X and Mac OS X 10.11 El Capitan (64 -bit) for Operating System type and version.  I named my Virtual Machine "El_Capitan", then clicked next...
       

       
      3.  Leave the Memory size at the recommended 2048 MB, then click next.
       

       
      4.  Choose to "Create a virtual hard disk now", then click the create button.
       

       
      5.  For the hard disk file type, the default is VDI (VirtualBox Disk Image) but I have selected VMDK for inter-operability with VMWare.  Click next...
       

       
      6.  For Storage on physical hard disk, I have chosen the default Dynamically allocated (grows larger to a set limit as you need more disk space).
       

       
      7.  On the File location and size screen, you can set the location of the new virtual hard disk and its size - I recommend changing disk size to 40GB or larger.  When you click the create button, you will now see your new VM in the VirtualBox main GUI.
       

       
      8.  Click the settings button on the Main Menu to tweak a few settings....
         a.  On the System/Motherboard tab in Boot Order, you can uncheck the Floppy Drive (who has these now?)
       

       
         b.  On the System/Processor tab, you can increase the allocated CPU cores to 2
       

       
         c.  On the Display tab, you can increase the allocated Video Memory to 128MB
       

       
         d.  On the Storage tab, click on the icon of the Optical Drive and select "Choose Virtual Optical Disk File". 
       

       
      Navigate and select the El Capitan ISO we created earlier...
       

       
         e.  Click the OK button to finalise the VM settings.
       
       
      Patch El Capitan vbox configuration file with DMI Settings from a Mac
      1.  From the start menu, type cmd and click run as administrator to open an administrative command prompt. 
       

       
      2.  Choose a Mac Model similar to your host system, then type the following lines, followed by <enter>  after each line.  Make sure you first close all VirtualBox Windows and the VirtualBox program, otherwise any changes you make won't stick...
       
      Eg iMac11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 MacBookPro11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 Macmini6,2
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "Macmini6,2" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F65AE981FFA204ED" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 3.  Optional- For some host systems eg those with Haswell and newer CPUs, you might have to spoof an older CPU to avoid VirtualBox errors.  You can try from one of the following if this happens:

      To spoof Lynnfield i5 750 CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000106e5 06100800 0098e3fd bfebfbff To spoof IvyBridge CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff or
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 00020800 80000201 178bfbff 4.  Close the command prompt window.
       
       
      Installation of El Capitan
      We are now ready to start the El_Capitan Virtual Machine....
       



       
      Installation should be relatively straight forward, just following the prompts of the OS X installer:
      1.  Select language, agree to legal terms
       

       
      2.  Use Disk Utility from the Utilities Menu to erase and format the virtual hard drive as a single partition GUID Mac OS X Extended.  I named my drive "Macintosh HD" but you can enter whatever you like eg El_Capitan.
       

       
      3.  Quit DU and choose Macintosh HD to install El Capitan on.
      4.  After 20-30 min (depending on how fast your system is), the installation will complete.  At this point, unmount the El Capitan ISO by clicking the Devices menu from the VM window, click Optical Drives, then choose Remove disk from virtual drive.  The VM is now ready to reboot into OS X from the virtual hard drive.
      5.  At the welcome screen, choose your country and keyboard layout.  You can skip transfer information, location services and logging in with your Apple ID if you wish…
      6.  Create a User Account and select your Time Zone.  You can skip sending diagnostics and usage data to Apple….
      7.  Finally, you will arrive at the El Capitan Desktop.
       

       
      8.  Network/internet and audio should work OOB but on my system, the sounds were distorted.  Unfortunately, there is no QE/CI and the VM resolution will be fixed without the ability to dynamically resize the VM window (no VirtualBox additions for OS X guests atm). 
       
       
      Customization with VBoxManage
      1.  You can change the default resolution of 1024*768 (after shutting down the VM) with the VBoxManage command from the Windows Administrative Command Prompt:
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" VBoxInternal2/EfiGopMode N (Where N can be one of 0,1,2,3,4,5) referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1920x1200 screen resolution respectively.
       
      Update:  For VirtualBox 5.2.x, the command for changing screen resolution has changed...
       
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution XxY (where X=Horizontal screen resolution, Y=Vertical screen resolution)
      eg
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution 1280x1024 2.  Adding serials and other SMBIOS details for the System Information Screen
      VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "W8#######B6" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardSerial" "W8#########1A" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVendor" "Apple Inc." VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemFamily" "iMac" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion" "IM112.0057.03B" A listing of known issues with Mac OS X guests can be found in the VirtualBox Manual - link https://www.virtualbox.org/manual/ch14.html.
       
      Vanilla Mavericks and Yosemite, Snow Leopard from Retail DVD
      The same VM settings for El Capitan will also boot and run vanilla installations of OS X Mavericks and Yosemite .  Attached to this post are installer scripts to create bootable Mavericks (CMI.tool) and Yosemite (CYI.tool) ISOs for VirtualBox and VMware.
       
      With the respective OS X installer apps in the Applications folder, download and run the installer tools using terminal ie
       
      To create a Mavericks ISO on your desktop
      cd downloads chmod +x CMI.tool ./CMI.tool To create a Yosemite ISO on your desktop
      cd downloads chmod +x CYI.tool ./CYI.tool Here is a screenshot of the VM running Mavericks 10.9.5...
       

       
      Finally, those without a Mac/Hack to prepare the install media can purchase a retail Snow Leopard DVD directly from Apple and install OSX 10.6.3 on their virtual machines (Snow Leopard, Lion and Mountain Lion run quite happily in VirtualBox with 1 CPU, 1-2 GB of RAM and the rest of the settings unchanged from above).  Once you update by combo update to SL 10.6.8, you can directly download El Capitan from the App Store for free .
       

       
      UPDATE macOS Sierra 10.12 to 10.12.6: For macOS Sierra, use CSI.tool in post#51.
      UPDATE macOS High Sierra 17A365:  For macOS High Sierra, use CHSI.tool in post#73.
      UPDATE macOS Mojave 18A391:  For macOS Mojave or High Sierra, use macOS_iso_creator.tool on page 4 of thread.
      UPDATE macOS Catalina Beta DP3_19A501i:  For Catalina, @jpz4085 has made an automated batch file to create a Catalina VM in Windows with iMac 14,2 SMBIOS.  You can still use my macOS_iso_creator.tool on page 5 to make an installer ISO to attach to the VM.
       
       
       
      Good luck and enjoy
      CECI.tool.zip
      CYI.tool.zip
      CMI.tool.zip
    • By JackBauer24
      Hello,
       
      I have installed OSx86 10.11 (El Capitan) on April 2016 on my Asus Z170 Deluxe system.
       
      For installation I used this Thread.
       
      I used it a lot and it worked well. Meanwhile I switched to Linux and I use Win10 time to time. So OSX was forgotten. Also it did not boot correctly anymore.
       
      Now I wanted to start with a fresh installation and use OSX more often again. I want to use OSX 10.13 High Sierra. Is it working on my Asus Z170 Deluxe? I have the same Hardware as of April 2016 only the graphics card was updated to a Nvidia GTX1080.
       
      My Hardware in detail: Asus Z-170-Deluxe (Bios 3801), i7-6700k, EVGA GeForce GTX 1080 SC GAMING ACX 3.0, Samsung 950 Pro/M2 NVME 512MB, HDD 4 TB)
      Can I use some of support files from the old thread for the installation (see attachment)? Can I still use  Clover 2.3k r3292 Special Edition v2 ? Or do I need a newer version?
       
      Has someone installed High Sierra successfully on the Asus Z170 Deluxe ?
       
      About some hints where to start I would be thankful.
       
      regards
      JackBauer24
       
      Z170DeluxeFiles.zip
×