aretei Posted October 31, 2016 Share Posted October 31, 2016 That looks like the error which occurs after you complete or partially complete a edk2 build and try to build again. In my previous post above, http://www.insanelymac.com/forum/topic/309087-insanely-fast-virtual-mac-qemu-ovmf-clover-and-native-graphics/?p=2296731 I mention that after you complete the original vanilla build, you need to modify CloverGrowerPro.sh, delete the edk2 folder and re-run it so it will fetch a clean edk2 directory. I didn't really investigate why, but it seems the edk2 build in CloverGrowerPro is destructive; it probably removes makefiles or modifies them, making a second build impossible. hi, I'm on latest Sierra 10.12.1 (16B2555) and I can't build Clover! anyone knows what to do? Using CloverGrowerPro.sh Active Platform = /Users/peter/CloverGrowerPro/edk2/Clover/Clover.dsc Flash Image Definition = /Users/peter/CloverGrowerPro/edk2/Clover/Clover.fdf Processing meta-data ..... done! Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64] Building ... /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64] make: *** No rule to make target `tbuild'. Stop. build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BasePcdLibNull/BasePcdLibNull] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseMemoryLib/BaseMemoryLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BasePrintLib/BasePrintLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseLib/BaseLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint] build.py... : error F002: Failed to build module /Users/peter/CloverGrowerPro/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64, GCC49, RELEASE] - Failed - Build end time: 16:33:35, Oct.30 2016 Build total time: 00:00:10 Cloverx64 ERROR!! Ejecting RAM disk "disk1" unmounted. "disk1" ejected. Link to comment Share on other sites More sharing options...
Peter_sm Posted October 31, 2016 Share Posted October 31, 2016 Hi, these errors are from the very first vanilla run. I want it to build a fresh run first to see if that's working, I have not started yet to modifying. want to build a vanilla version first.....Skickat från min iPhone med Tapatalk Link to comment Share on other sites More sharing options...
macoxp4 Posted October 31, 2016 Share Posted October 31, 2016 Make sure you have downloaded Xcode. Make sure Xcode select is set to the correct path using in the terminal xcode-select -p It should point to the /path/to/xcode/Xcode.app/Contents/Developer if not then set it correct with sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer change the path as needed. also make sure the command line tools are installed. xcode-select --install after you have done all of that delete the clover builder from your system then re download and try again. mkdir ~/clover cd ~/clover git clone git://github.com/JrCs/CloverGrowerPro.git cd CloverGrowerPro ./CloverGrowerPro.sh Hi, these errors are from the very first vanilla run. I want it to build a fresh run first to see if that's working, I have not started yet to modifying. want to build a vanilla version first.....Skickat från min iPhone med Tapatalk Link to comment Share on other sites More sharing options...
Peter_sm Posted October 31, 2016 Share Posted October 31, 2016 Make sure you have downloaded Xcode. Make sure Xcode select is set to the correct path using in the terminal xcode-select -p xcode-select --install Hi, xcode-select -p --> /Applications/Xcode.app/Contents/Developer And the --install command show: xcode-select --install --> xcode-select: note: install requested for command line developer tools And I'm installing it right know over VPN, will look into this later today. //Peter Link to comment Share on other sites More sharing options...
Peter_sm Posted October 31, 2016 Share Posted October 31, 2016 Hi, Getting closer, but still error :-( Peters-mac:CloverGrowerPro peter$ xcode-select -p /Applications/Xcode.app/Contents/Developer Peters-mac:CloverGrowerPro peter$ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates ---------------------------------------------------------------------- Ran 263 tests in 1.845s OK Running edk2 build for CloverX64 using the command: build -D USE_APPLE_HFSPLUS_DRIVER -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t GCC49 -n 9 Build environment: Darwin-16.1.0-x86_64-i386-64bit Build start time: 16:42:53, Oct.31 2016 WORKSPACE = /Users/peter/clover/CloverGrowerPro/edk2 ECP_SOURCE = /Users/peter/clover/CloverGrowerPro/edk2/EdkCompatibilityPkg EDK_SOURCE = /Users/peter/clover/CloverGrowerPro/edk2/EdkCompatibilityPkg EFI_SOURCE = /Users/peter/clover/CloverGrowerPro/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH = /Users/peter/clover/CloverGrowerPro/edk2/BaseTools CONF_PATH = /Users/peter/clover/CloverGrowerPro/edk2/Conf Architecture(s) = X64 Build target = RELEASE Toolchain = GCC49 Active Platform = /Users/peter/clover/CloverGrowerPro/edk2/Clover/Clover.dsc Flash Image Definition = /Users/peter/clover/CloverGrowerPro/edk2/Clover/Clover.fdf Processing meta-data .............. done! Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64] [CC] PcdLib [CC] SetMem Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64] [SLINK] BasePcdLibNull [CC] CheckSum [CC] DebugLib [SLINK] BaseDebugLibNull [CC] ScanMem64Wrapper Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64] [CC] SwitchStack [CC] PrintLibInternal [CC] ScanMem32Wrapper Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64] [CC] IoLibMmioBuffer Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64] [CC] SwapBytes64 [CC] BaseReportStatusCodeLib [SLINK] BaseReportStatusCodeLibNull [CC] ScanMem16Wrapper Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64] [CC] PrintLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64] [SLINK] BasePrintLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64] [CC] SwapBytes32 [CC] ScanMem8Wrapper [CC] IoHighLevel [CC] ZeroMemWrapper [CC] SwapBytes16 [CC] PeCoffExtraActionLib [CC] IoLibGcc [SLINK] PeCoffExtraActionLibNull Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64] [CC] CompareMemWrapper [CC] UefiRuntimeServicesTableLib [CC] LongJump [SLINK] UefiRuntimeServicesTableLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64] [CC] MemoryAllocationLib [CC] UefiBootServicesTableLib [CC] DxeCoreEntryPoint [CC] IoLib [SLINK] UefiBootServicesTableLib [SLINK] DxeCoreEntryPoint Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64] [SLINK] BaseIoLibIntrinsic [CC] SetMem64Wrapper Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64] [CC] SetJump [CC] SetMem32Wrapper [CC] RShiftU64 [CC] X86Cache [CC] DevicePathUtilities [SLINK] BaseCacheMaintenanceLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64] [CC] PerformanceLib [CC] SetMem16Wrapper [CC] RRotU64 [SLINK] BasePerformanceLibNull [CC] BaseUefiDecompressLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64] [SLINK] BaseUefiDecompressLib [CC] DxeCoreMemoryProfileLibNull Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64] [CC] HobLib [CC] SetMemWrapper [SLINK] DxeCoreMemoryAllocationLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64] [SLINK] DxeCoreHobLib [CC] RRotU32 Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64] [CC] CopyMemWrapper [CC] PeCoffGetEntryPoint [CC] MultU64x64 [SLINK] BasePeCoffGetEntryPointLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64] [CC] IsZeroBufferWrapper [CC] UefiLibPrint [CC] MultU64x32 [CC] DebugAgentLibNull [CC] MemLibGeneric [SLINK] DebugAgentLibNull [CC] MultS64x64 Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64] [CC] DxeExtractGuidedSectionLib [CC] MemLibGuid [SLINK] DxeExtractGuidedSectionLib [CC] ModU64x32 Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64] [CC] UefiNotTiano [CC] CopyMem [CC] CpuExceptionHandlerLibNull [CC] LShiftU64 [CC] DxeServicesLib [SLINK] BaseMemoryLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64] [SLINK] CpuExceptionHandlerLibNull [CC] X86TimerLib [SLINK] DxeServicesLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64] [CC] DevicePathToText Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64] [SLINK] DuetTimerLib [CC] LRotU64 Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [X64] [CC] LRotU32 [CC] MemoryAllocationLib [CC] LowBitSet64 [SLINK] UefiMemoryAllocationLib [CC] DriverEntryPoint Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64] [CC] UefiDriverModel [SLINK] UefiDriverEntryPoint Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64] [CC] RuntimeLib [CC] HobLib [CC] LowBitSet32 [SLINK] UefiRuntimeLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [X64] [SLINK] DxeHobLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [X64] [CC] InternalGetSpinLockProperties [CC] VarCheckLib [CC] HighBitSet64 [SLINK] VarCheckLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf [X64] [CC] GccInline [CC] HighBitSet32 [CC] TpmMeasurementLibNull [CC] SynchronizationGcc [CC] DxeServicesTableLib [CC] AuthVariableLibNull [CC] Console [CC] GetPowerOfTwo64 [SLINK] BaseSynchronizationLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64] [SLINK] DxeServicesTableLib [SLINK] AuthVariableLibNull Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64] [SLINK] TpmMeasurementLibNull [CC] BasePeCoff Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64] [CC] GetPowerOfTwo32 [CC] PeCoffLoaderEx [CC] DevicePathFromText [CC] DivU64x64Remainder [CC] VarCheckUefiLibNullClass [SLINK] VBoxPeCoffLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64] [SLINK] VarCheckUefiLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64] [CC] DxeCapsuleLibNull [CC] DivU64x32Remainder [SLINK] DxeCapsuleLibNull [CC] UefiDevicePathLib [CC] UefiHiiServicesLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64] [SLINK] UefiHiiServicesLib [SLINK] UefiDevicePathLib [CC] DxeSecurityManagementLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/GenericBdsLib/GenericBdsLib.inf [X64] [CC] DivU64x32 Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/OsxBdsPlatformLib/PlatformBds.inf [X64] [SLINK] DxeSecurityManagementLib [CC] UefiLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64] [SLINK] UefiLib [CC] DivS64x64Remainder Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64] [CC] DxePcdLib [SLINK] DxePcdLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf [X64] [CC] ARShiftU64 [CC] LzmaDecompress [CC] PciLib [CC] PciCf8Lib [SLINK] BasePciLibCf8 Building ... /Users/peter/clover/CloverGrowerPro/edk2/PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf [X64] [CC] HiiLib [SLINK] BasePciCf8Lib [CC] CustomizedDisplayLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64] [CC] BitField [CC] CpuDeadLoop [CC] IoApicLib [SLINK] BaseIoApicLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64] [CC] DevicePath [CC] HiiString [CC] Cpu [CC] BaseXApicLib [SLINK] BaseXApicLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64] [CC] LinkedList [CC] HiiLanguage [CC] CustomizedDisplayLibInternal [SLINK] UefiHiiLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64] [CC] SafeString [CC] BdsPlatform [CC] MemLogLib [CC] UefiScsiLib [SLINK] MemLogLibDefault Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64] [SLINK] UefiScsiLib [CC] VideoBiosPatchLib [CC] AutoGen Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64] [SLINK] CustomizedDisplayLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64] [CC] String [CC] Hid [CC] FilePaths [CC] PlatformData [CC] Performance [SLINK] DuetBds Building ... /Users/peter/clover/CloverGrowerPro/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64] [CC] UefiSortLib [CC] UsbDxeLib [CC] ApplicationEntryPoint [SLINK] UefiSortLib [SLINK] UefiUsbLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64] [SLINK] UefiApplicationEntryPoint Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/Library/OpensslLib/OpensslLibNull.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64] [CC] UefiFileHandleLib [SLINK] UefiFileHandleLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64] [CC] ScanMem64Wrapper [CC] OpensslLibNull /Users/peter/clover/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/Thunk16.iii:300: warning: absolute address can not be RIP-relative [SLINK] OpensslLib [NASM] Thunk16 [CC] Non-existing [CC] ScanMem32Wrapper [CC] 915resolution [CC] Math64 [NASM] CpuSleep [CC] Unaligned [CC] ScanMem16Wrapper [CC] BdsConnect [CC] DxeNetLib [CC] LzFind [CC] X86WriteIdtr [CC] UefiShellLib [SLINK] UefiShellLib [CC] X86WriteGdtr [CC] ScanMem8Wrapper [CC] edid [NASM] CpuFlushTlb [SLINK] VideoBiosPatchLib [SLINK] BaseCpuLib [CC] X86Thunk [CC] ZeroMemWrapper [CC] X86ReadIdtr [CC] NetBuffer [SLINK] DxeNetLib [CC] X86ReadGdtr [CC] CompareMemWrapper [CC] X86Msr [CC] X86GetInterruptState [CC] SetMem64Wrapper [CC] X86FxSave [CC] BdsMisc [CC] X86FxRestore [CC] SetMem32Wrapper [CC] X86EnablePaging64 [CC] X86EnablePaging32 [CC] LzmaDec [CC] SetMem16Wrapper [CC] X86DisablePaging64 [CC] GuidedSectionExtraction [CC] SetMemWrapper [CC] X86DisablePaging32 [SLINK] LzmaDecompressLib [CC] CopyMemWrapper [CC] GccInline [CC] BdsConsole [CC] IsZeroBufferWrapper [NASM] SwitchStack [CC] MemLibGeneric [NASM] SetJump [CC] MemLibGuid [CC] MemLib [NASM] LongJump [SLINK] UefiMemoryLib [NASM] EnableDisableInterrupts /Users/peter/clover/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/DisablePaging64.iii:41: warning: absolute address can not be RIP-relative /Users/peter/clover/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/DisablePaging64.iii:43: warning: absolute address can not be RIP-relative [NASM] DisablePaging64 [NASM] CpuId [NASM] CpuIdEx [CC] BdsBoot [CC] String [NASM] EnableCache [CC] AutoGen [SLINK] GenericBdsLib [NASM] DisableCache [NASM] RdRand [CC] ChkStkGcc [SLINK] BaseLib Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/OsxDxeIpl/DxeIpl.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/Clover/OsxDxeCore/DxeMain.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf [X64] Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf [X64] [CC] DxeInit [CC] WatchdogTimer [CC] Crc32 [CC] MonotonicCounter [CC] InitVariable [CC] Reclaim [CC] Pcd [CC] AutoGen [SLINK] WatchdogTimer [CC] Runtime [CC] FtwMisc [CC] AutoGen [CC] LegacyTable [CC] CoreSectionExtraction [SLINK] MonotonicCounterRuntimeDxe /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c: In function 'VariableWriteServiceInitialize': /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c:4020:5: error: implicit declaration of function 'ARRAY_SIZE' [-Werror=implicit-function-declaration] for (Index = 0; Index < ARRAY_SIZE (mVariableEntryProperty); Index++) { ^ [CC] AutoGen [DLINK1] WatchdogTimer [OBJCOPY] WatchdogTimer [CC] UpdateWorkingBlock [CC] EmuVariable [CC] HobGeneration [SLINK] RuntimeDxe [CC] Service [DLINK1] MonotonicCounterRuntimeDxe [GENFW] WatchdogTimer Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf [X64] [OBJCOPY] MonotonicCounterRuntimeDxe [GENFW] MonotonicCounterRuntimeDxe Building ... /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf [X64] [CC] AutoGen [SLINK] EmuVariableRuntimeDxe [CC] Debug [CC] AutoGen [CC] Image [SLINK] PcdDxe [CC] FaultTolerantWrite cc1: all warnings being treated as errors make: *** [/Users/peter/clover/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe/OUTPUT/Variable.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/peter/clover/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe] build.py... : error F002: Failed to build module /Users/peter/clover/CloverGrowerPro/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf [X64, GCC49, RELEASE] - Failed - Build end time: 16:43:26, Oct.31 2016 Build total time: 00:00:33 Cloverx64 ERROR!! Ejecting RAM disk "disk1" unmounted. "disk1" ejected. Peters-mac:CloverGrowerPro peter$ Link to comment Share on other sites More sharing options...
dselck Posted November 8, 2016 Share Posted November 8, 2016 I was wondering if anybody had any advice for me... I have been following this topic for a little while, and have had some limited success. I was able to get OSX up and running (El Capitan and Sierra) using the BIOS method, however, I wasn't able to do that using an NVIDIA card as I couldn't figure out how to enable web drivers with that method (probably didn't search long enough). I was able to finally get it working, however, with an HD6450. I really wanted to use Clover though because my naive assumption is that it will be more stable over time. I was finally able to get it working after others on the forum pointed out that the newest builds of OVMF don't work (couldn't ever get GPU passthrough working on the new builds), however, I am now having a different problem that I can't quite crack. I was able to access the app store using the BIOS method but I can't get it working using the clover method. Every time that I try and login I get an error of "this device cannot be verified". Specs: Ubuntu build of OVMF OpenSUSE 42.2 Qemu 2.6 HD6450 or GT 710 (both passthrough just fine after flashing an EFI rom on the HD6450) Passing through a USB 3.0 card that is OSX compliant What I have tried: Build clover from source with the modifications listed in this thread - boots fine, speeds are great, no app store access Testing clover build that was posted in this article that incorporates Sierra support into clover This has been installed to the active partition as well as booting from secondary drives. Config: tried imac 14,2 and mac pro 3,1 did the shake and such to generate a random serial, confirmed that it is not used on the apple support page added 5 characters, used that as the board id uuidgen to fill in the smuuid field deleted the MLB field Ethernet card is confirmed to be en0. Have tried both an e1000-8XXXXem config as well as a USB3.0 ethernet adapter If anybody has any ideas let me know. Thanks! Link to comment Share on other sites More sharing options...
Peter_sm Posted November 8, 2016 Share Posted November 8, 2016 Change your build script! CloverGrower/CloverGrowerPro depreciated ( well mine is Use Mickey1979 script!! When using this an applying the 2 patch I get a chopping sound over HDMI. Maybe I using the patch wrong and the script wrong ( dont know when break and add the patch)?? can someone build clover with this script and see how it works and where to put in the patch. Thanks! Peter Link to comment Share on other sites More sharing options...
aretei Posted November 9, 2016 Share Posted November 9, 2016 Yeah. My sound is choppy with this method too. I use a USB dongle. I just assumed it was because of the hackish nature of the patch. Maybe when the clover devs perform a proper fix, it will go away? When using this an applying the 2 patch I get a chopping sound over HDMI. Maybe I using the patch wrong and the script wrong ( dont know when break and add the patch)?? can someone build clover with this script and see how it works and where to put in the patch. Thanks! Peter Link to comment Share on other sites More sharing options...
macoxp4 Posted November 14, 2016 Share Posted November 14, 2016 My sound is perfect. I'm using PCI-E passthrough of my onboard audio + VoodoHDA. Yeah. My sound is choppy with this method too. I use a USB dongle. I just assumed it was because of the hackish nature of the patch. Maybe when the clover devs perform a proper fix, it will go away? Link to comment Share on other sites More sharing options...
Brabbelbla Posted November 17, 2016 Share Posted November 17, 2016 I am following with great interest what is happening here, and will certainly go try this out sometime soon, though I am struggling a bit to understand the CPU part. I will read up on the info in this thread but I do have a question; I see almost everyone here going for the simplest vCPU model possible (Penryn for Sierra, right?), but what is the rationale behind this? Less emulation -> better performance? Or just that their CPU is an unsupported (socket 2011?) model to start with? I have a desktop Skylake processor, is there any reason not to use host-passthrough as vCPU model? Link to comment Share on other sites More sharing options...
macoxp4 Posted November 17, 2016 Share Posted November 17, 2016 I am following with great interest what is happening here, and will certainly go try this out sometime soon, though I am struggling a bit to understand the CPU part. I will read up on the info in this thread but I do have a question; I see almost everyone here going for the simplest vCPU model possible (Penryn for Sierra, right?), but what is the rationale behind this? Less emulation -> better performance? Or just that their CPU is an unsupported (socket 2011?) model to start with? I have a desktop Skylake processor, is there any reason not to use host-passthrough as vCPU model? Host-Passthrough will cause a boot loop and will never start up. Link to comment Share on other sites More sharing options...
Brabbelbla Posted November 17, 2016 Share Posted November 17, 2016 Host-Passthrough will cause a boot loop and will never start up. Works with Windows, but not with macOS? Link to comment Share on other sites More sharing options...
macoxp4 Posted November 18, 2016 Share Posted November 18, 2016 Works with Windows, but not with macOS? Yes Link to comment Share on other sites More sharing options...
avggeek Posted November 20, 2016 Share Posted November 20, 2016 I have managed to get macOS Sierra up & running in a VM, but it's running very slow due to the QEMU slowdown problem. I'm trying to build a "fixed" version of Clover using the instructions provided by aretei, but the build process keeps failing. Snippet of the build log from just before it fails: Building ... /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Clover/Protocols/AppleUITheme/AppleUITheme.inf [X64] [DLINK1] KeyboardDxe [OBJCOPY] KeyboardDxe [GENFW] KeyboardDxe Building ... /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/HashServiceFix.inf [X64] [CC] AppleImageCodec [CC] AppleUITheme [DLINK1] FSInject [OBJCOPY] FSInject [GENFW] FSInject Building ... /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Clover/Protocols/AppleKeyAggregator/AppleKeyAggregator.inf [X64] In file included from /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/sha1.h:4:0, from /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/HashServiceFix.c:18: /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/toolchain/cross/lib/gcc/x86_64-clover-linux-gnu/4.9.3/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory # include_next <stdint.h> ^ compilation terminated. make: *** [/Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/Clover/Protocols/HashServiceFix/HashServiceFix/OUTPUT/HashServiceFix.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Build/Clover/RELEASE_GCC49/X64/Clover/Protocols/HashServiceFix/HashServiceFix] build.py... : error F002: Failed to build module /Users/avggeek/Downloads/Dev-Related/macOS-VM/CloverGrowerPro/edk2/Clover/Protocols/HashServiceFix/HashServiceFix.inf [X64, GCC49, RELEASE] - Failed - Build end time: 16:43:01, Nov.20 2016 Build total time: 00:01:25 Cloverx64 ERROR!! Searching for this error message on the forums and elsewhere, it appears to be due one of the build script having a hardcoded location for the nasm binary. I have copied the nasm binary to ~/src/opt/local/bin but that doesn't seem to help fix the error. Can someone suggest how I can resolve the error and build Clover successfully? Any advice will be much appreciated! I had some time today to re-create my process and take notes: To do source download and build, follow instructions here: https://github.com/JrCs/CloverGrowerPro I wait for vanilla build to completely finish. The edk2/Clover build portion is redundant, but I just let it finish for simplicity. The line numbers below are accurate as of revision 3793. So that we can manually patch Clover, change the empty line 656 of CloverGrowerPro.sh to: exit I end up with: fi exit # Construct EBUILD_COMMAND EBUILD_COMMAND=("./ebuild.sh" "-${ebuildToolchainFlag}") Delete the edk2 directory and re-run cloverpro. This will re-fetch a clean edk2 and clover source and stop before building. Now we’ll modify clover using dreadkopp’s changes. Make this change to edk2/Clover/rEFIT_UEFI/refit/main.c: Replace lines 1908-1924 with: DBG("Starting QEMU vCPU workaround...\n"); //fake values for correct calculations gCPUStructure.MaxRatio = 40; gCPUStructure.MinRatio = 40; gCPUStructure.Turbo = 40; gCPUStructure.Turbo1 = 40; gCPUStructure.Turbo2 = 40; gCPUStructure.Turbo3 = 40; gCPUStructure.Turbo4 = 40; gCPUStructure.FSBFrequency = gCPUStructure.CPUFrequency / 4; gCPUStructure.Stepping = 3; gCPUStructure.Model = 23; gCPUStructure.Family = 6; gCPUStructure.Type = 0; gCPUStructure.Extmodel = 1; gCPUStructure.ARTFrequency = 0; gCPUStructure.SubDivider = 0; //these seem to be constants. need further testing by differnt host machines gCPUStructure.ExternalClock = 1133825; gCPUStructure.ProcessorInterconnectSpeed = 2147057130; gCPUStructure.Signature = 0x010673; } I ended up with: if (gSettings.QEMU) { // UINT64 Msrflex = 0ULL; DBG("Starting QEMU vCPU workaround...\n"); //fake values for correct calculations gCPUStructure.MaxRatio = 40; gCPUStructure.MinRatio = 40; gCPUStructure.Turbo = 40; gCPUStructure.Turbo1 = 40; gCPUStructure.Turbo2 = 40; gCPUStructure.Turbo3 = 40; gCPUStructure.Turbo4 = 40; gCPUStructure.FSBFrequency = gCPUStructure.CPUFrequency / 4; gCPUStructure.Stepping = 3; gCPUStructure.Model = 23; gCPUStructure.Family = 6; gCPUStructure.Type = 0; gCPUStructure.Extmodel = 1; gCPUStructure.ARTFrequency = 0; gCPUStructure.SubDivider = 0; //these seem to be constants. need further testing by differnt host machines gCPUStructure.ExternalClock = 1133825; gCPUStructure.ProcessorInterconnectSpeed = 2147057130; gCPUStructure.Signature = 0x010673; } Make this change to edk2/Clover/rEFIt_UEFI/Platform/DataHubCpu.c: Insert the following between lines 319 and 320: case CPU_MODEL_PENRYN: //fix for Penryn Qemu vCPU DBG("Using workaroud for Penryn Qemu vCPU in DataHubCpu.c.\n"); FrontSideBus = gCPUStructure.FSBFrequency; break; I ended up with: if (gSettings.QEMU) { FrontSideBus = gCPUStructure.TSCFrequency; switch (gCPUStructure.Model) { case CPU_MODEL_DOTHAN: case CPU_MODEL_YONAH: case CPU_MODEL_MEROM: FrontSideBus = DivU64x32(FrontSideBus, 4); break; case CPU_MODEL_PENRYN: //fix for Penryn Qemu vCPU DBG("Using workaroud for Penryn Qemu vCPU in DataHubCpu.c.\n"); FrontSideBus = gCPUStructure.FSBFrequency; break; default: break; } DBG("Using QEMU FrontSideBus=%d\n", FrontSideBus); } I ignored dreadkopp’s changes to edk2/Clover/rEFIT_UEFI/refit/menu.c. I couldn’t figure out where to put it and it seemed to work anyway. Now that we’ve made the source changes, remove the line “exit”, number 656 that we added to CloverGrowerPro.sh above, then run cloverpro to build Clover and make the installer. Link to comment Share on other sites More sharing options...
email4nickp Posted November 29, 2016 Share Posted November 29, 2016 I built the latest clover with the patches applied if you trust a random on the internet to make things for you https://mega.nz/#!sMVSFCoI!V7YTfBgTQ4WOxePtUAncKOpVvcaycLkvFgtvd-NqGZ8 Link to comment Share on other sites More sharing options...
macoxp4 Posted November 30, 2016 Share Posted November 30, 2016 I built the latest clover with the patches applied if you trust a random on the internet to make things for you https://mega.nz/#!sMVSFCoI!V7YTfBgTQ4WOxePtUAncKOpVvcaycLkvFgtvd-NqGZ8 Then internet is already 99% random people making things for you Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
avggeek Posted December 3, 2016 Share Posted December 3, 2016 Will give it a shot! In the interim, I managed to get an El Capitan install up & running with the non-patched Clover r3923 install. I built the latest clover with the patches applied if you trust a random on the internet to make things for you https://mega.nz/#!sMVSFCoI!V7YTfBgTQ4WOxePtUAncKOpVvcaycLkvFgtvd-NqGZ8 Link to comment Share on other sites More sharing options...
Peter_sm Posted December 3, 2016 Share Posted December 3, 2016 I built the latest clover with the patches applied if you trust a random on the internet to make things for you https://mega.nz/#!sMVSFCoI!V7YTfBgTQ4WOxePtUAncKOpVvcaycLkvFgtvd-NqGZ8 Same issue that I get when trying to build ... choppy sound :-( We need to find a proper way to apply the patches. //Peter Link to comment Share on other sites More sharing options...
macoxp4 Posted December 3, 2016 Share Posted December 3, 2016 Same issue that I get when trying to build ... choppy sound :-( We need to find a proper way to apply the patches. //Peter I'm using the patch with my onboard sound passed through to the vm with pci-e. Works great. Have not tried hdmi. Seeing as your compiled version and his both do the same thing I dont think that it's a issue with applying the patch(expecially if it's running at the correct speed as in the clock system clock does not slowly get out of sync) but that your system might need different timing values patched or that qemu/kvm and your card have some kind of issue. Link to comment Share on other sites More sharing options...
avggeek Posted December 4, 2016 Share Posted December 4, 2016 Success! Sierra up & running smoothly (no clock slowdown, iMessage activation works) with this patched version of Clover. Thanks for the help emailnick4p! Peter_sm: I don't require sound to be working on my VM, so I can't really say whether this particular version helps with that issue. Will give it a shot! In the interim, I managed to get an El Capitan install up & running with the non-patched Clover r3923 install. Link to comment Share on other sites More sharing options...
Peter_sm Posted December 4, 2016 Share Posted December 4, 2016 The previously patched clover in this thread works for me. Don't know whats wrong with the newer patched clover? But there was one more with same issue that I have with choppy sound for newer patched clover. Link to comment Share on other sites More sharing options...
LookingforMac Posted December 8, 2016 Share Posted December 8, 2016 Hi, could someone test something for me? Load up about 5 programs in your macos VM and then "save" the vm... I want to know about how fast it is. Also do the same with resuming. I would greatly appreciate it. I'm trying to find out how fast I can switch from work to gaming and back. Link to comment Share on other sites More sharing options...
macoxp4 Posted December 9, 2016 Share Posted December 9, 2016 Hi, could someone test something for me? Load up about 5 programs in your macos VM and then "save" the vm... I want to know about how fast it is. Also do the same with resuming. I would greatly appreciate it. I'm trying to find out how fast I can switch from work to gaming and back. If you are using GPU PCI-E passthrough you cant save the VM state you will have to shutdown OSX then start windows. I'm assuming you are doing that sense you are talking about gaming... However if you are not doing GPU passthough then. The speed of how fast you can save state a VM will depend on how much ram you allocate to it and how fast your drives are it's copying the ram to. All of witch we wont be able to tell you. Link to comment Share on other sites More sharing options...
LookingforMac Posted December 9, 2016 Share Posted December 9, 2016 If you are using GPU PCI-E passthrough you cant save the VM state you will have to shutdown OSX then start windows. I'm assuming you are doing that sense you are talking about gaming... However if you are not doing GPU passthough then. The speed of how fast you can save state a VM will depend on how much ram you allocate to it and how fast your drives are it's copying the ram to. All of witch we wont be able to tell you. What if I had two GPUs? Link to comment Share on other sites More sharing options...
macoxp4 Posted December 9, 2016 Share Posted December 9, 2016 What if I had two GPUs? Then you could pass 1 to osx and 1 to windows. So you dont need to shutdown either OS you could have them running at the same time. So your original question would be pointless at that point... Link to comment Share on other sites More sharing options...
Recommended Posts