Jump to content
30960 posts in this topic

Recommended Posts

ok.... 4212 works compiled by me with XCODE8.3.3 and XCODE9-GM

So 4212 with build_clovercommand should work? 4210 worked fine but no boot with 4211, reverted to 4210 until confirm 4212 is ok.

 

Might look into building clover with ebuild.

 

Sent from my SM-G930F using Tapatalk

Haha, me as well.

 

@Badruzeus r4211 is fine with XCode5, but for compatible, use old remap SMBIOS method now.

 

syscl

Thanks, now it works as expected on my legacy mach.. r4212 compiled with Build_Clover v4.5.3 & XCode 8.3.  :wink_anim:

Build_Clover_v4.5.3_XCode8.3_r4212.txt.zip

preboot.log_Build_Clover_4.5.3_XCode_8.3_r4212.zip

  • Like 1

So 4212 with build_clovercommand should work? 4210 worked fine but no boot with 4211, reverted to 4210 until confirm 4212 is ok.

 

Might look into building clover with ebuild.

 

Sent from my SM-G930F using Tapatalk

r4212 works on my laptop with build_clovercommand. thank you syscl

Hello to everyone.

I have the following issue:

All versions after clover efi 4049 boot in black screen. I have tried many different configurations but none of them solve the problem.

My specs are:

The specs are:

HP 6460b Notebook

Intel Core i5-2540M Processor

Intel HD Graphics 3000

DDR3 PC3-10600 SDRAM (1333 MHz)

14.0-inch diagonal LED-backlit HD (1600 x 900 resolution)Archive.zipconfig.7z

 

clover 4213 does not build

 

it seems the new Patches are missing a matching declaration GetBestLanguage in UefiLib.h 

so add line below fixes things. and of course then it can be built with Xcode9 without warnings. 

 

$ svn diff /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h

Index: /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h

===================================================================

--- /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h (revision 25373)

+++ /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h (working copy)

@@ -819,6 +819,7 @@

GetBestLanguage (

   IN CONST CHAR8  *SupportedLanguages,

   IN BOOLEAN      Iso639Language,

+  IN CONST CHAR8  *Lang,

   ...

   );

  • Like 1
He always knew how to adapt a new EDK2 to each update of Xcode

I will not see why this would not be the case here

even more with a new version of OS X

For my part compile clover in xcode 9 I prefer to wait until everything is really in order

Edit**

I compile Clover with Xcode 8.3.3 in Sierra 10.12.6 and I never have a boot failled or any other issue   :) 

  • Like 1

Building Clover r4213 works fine for me under XCODE9.

Build environment: Darwin-16.7.0-x86_64-i386-64bit
Build start time: 00:45:09, Sep.21 2017

WORKSPACE        = /Users/rico/src2/edk2
ECP_SOURCE       = /Users/rico/src2/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /Users/rico/src2/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /Users/rico/src2/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/rico/src2/edk2/BaseTools
CONF_PATH        = /Users/rico/src2/edk2/Conf
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/GenericBdsLib/GenericBdsLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/OsxBdsPlatformLib/PlatformBds.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]
Building ... /Users/rico/src2/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Library/OpensslLib/OpensslLibNull.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64]
Building ... /Users/rico/src2/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/OsxDxeIpl/DxeIpl.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/OsxDxeCore/DxeMain.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf [X64]
Building ... /Users/rico/src2/edk2/DuetPkg/SmbiosGenDxe/SmbiosGen.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/OsxEfiLdr/EfiLdr.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/OsxBdsDxe/BdsDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/CpuDxe/Cpu.inf [X64]
Building ... /Users/rico/src2/edk2/PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/AcpiReset/Reset.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Metronome/Metronome.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/PcAtChipsetPkg/8254TimerDxe/8254Timer.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/PciRootBridgeDxe/PciRootBridge.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/OsxPciBusNoEnumerationDxe/PciBusNoEnumeration.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf [X64]
Building ... /Users/rico/src2/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/DriverOverride/DriverOverride.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FileSystems/VBoxFsDxe/VBoxHfs.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FileSystems/VBoxFsDxe/VBoxIso9660.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FileSystems/VBoxFsDxe/VBoxExt2.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FileSystems/VBoxFsDxe/VBoxExt4.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FileSystems/VBoxFsDxe/VBoxReiserFS.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FileSystems/FatPkg/EnhancedFatDxe/Fat.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/BiosVideo/BiosVideo.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/LegacyBios/VideoDxe/VideoDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/LegacyBios/VideoDxe/VideoDxe2.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/SataControllerDxe/SataControllerDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/AtaAtapi/AtaAtapiPassThru.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/AtaBus/AtaBusDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/DVDBus/ScsiBusDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/DVDDisk/ScsiDiskDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/OhciDxe/OhciDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/XhciDxe/XhciDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/UsbBusDxe/UsbBusDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/UsbKbDxe/UsbKbDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf [X64]
Building ... /Users/rico/src2/edk2/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf [X64]
Building ... /Users/rico/src2/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf [X64]
Building ... /Users/rico/src2/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf [X64]
Building ... /Users/rico/src2/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/Ps2MouseDxe/Ps2MouseDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf [X64]
Building ... /Users/rico/src2/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Drivers/PartitionDxe/PartitionDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/CloverEFI/BiosKeyboard/KeyboardDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/LegacyBios/Region2Dxe/LegacyRegion2Dxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/FSInject/FSInject.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/MsgLog/MsgLog.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/SMCHelper/SMCHelper.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/FirmwareVolume/FirmwareVolume.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/AppleImageCodec/AppleImageCodec.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/AppleUITheme/AppleUITheme.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/HashServiceFix/HashServiceFix.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/AppleKeyAggregator/AppleKeyAggregator.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/DumpUefiCalls/DumpUefiCalls.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/Protocols/EmuVariableUefi/EmuVariableRuntimeDxe.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/bdmesg_efi/bdmesg.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/rEFIt_UEFI/refit.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/OsxAptioFixDrv/OsxAptioFixDrv.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/OsxAptioFixDrv/OsxAptioFix2Drv.inf [X64]
Building ... /Users/rico/src2/edk2/Clover/OsxLowMemFixDrv/OsxLowMemFixDrv.inf [X64]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/rico/src2/edk2/Build/Clover/RELEASE_XCODE9/X64/Clover/rEFIt_UEFI/refit/OUTPUT/entry_scan/secureboot.obj has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/rico/src2/edk2/Build/Clover/RELEASE_XCODE9/X64/Clover/rEFIt_UEFI/refit/OUTPUT/entry_scan/securehash.obj has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/rico/src2/edk2/Build/Clover/RELEASE_XCODE9/X64/Clover/rEFIt_UEFI/refit/OUTPUT/entry_scan/securemenu.obj has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/rico/src2/edk2/Build/Clover/RELEASE_XCODE9/X64/Clover/rEFIt_UEFI/refit/OUTPUT/entry_scan/securevars.obj has no symbols

- Done -
Build end time: 00:45:22, Sep.21 2017
Build total time: 00:00:13

879+0 records in
879+0 records out
450048 bytes transferred in 0.003772 secs (119312188 bytes/sec)
1+0 records in
1+0 records out
1 bytes transferred in 0.000032 secs (31301 bytes/sec)
Edit: updated EDK2 to 25376 and build indeed fails. EDK2 24933 builds fine.

I compile Clover with Xcode 8.3.3 in Sierra 10.12.6 and I never have a boot failled or any other issue   :) 

Uhmmb, also got build failed on 10.11.6 with XCode 8.2 using Build_Clover.command v4.5.4 & EDK2 r25373. I posted here.

  • Like 1

Uhmmb, also got build failed on 10.11.6 with XCode 8.2 using Build_Clover.command v4.5.4 & EDK2 r25373. I posted here.

Try EDK2 24933

 

Even lower EDK2 might be your solution
I do not remember which version worked well in El capitan with Xcode 8.2

Let my know

  • Like 1

Try EDK2 24933

 

Even lower EDK2 might be your solution
I do not remember which version worked well in El capitan with Xcode 8.2

Let my know

@chris1111, btw it solved following @fusion71au & @tluck suggestion here, thanks anyway..  :rolleyes:

  • Like 1

Even with updated tools_def and UefiLib.h i still cant build with xcode 9 with updated script 4.5.4.

Running from: macOS 10.13
Xcode 9.0
Build version 9A235
                             <--------------------------------------------------
================================================================================
Compiler settings
                             <--------------------------------------------------
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin17.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
                             <--------------------------------------------------
================================================================================
BUILDTOOL is XCODE9
                             <--------------------------------------------------
 
================================================================================
nasm check:
                             <--------------------------------------------------
NASM version 2.13.01 compiled on May  1 2017
================================================================================
gettext check:
                             <--------------------------------------------------
found gettext at /Users/shane/src/opt/local/bin
================================================================================
boot6
                             <--------------------------------------------------
TOOLCHAIN_DIR: /Users/shane/src/opt/local
NASM_PREFIX: /Users/shane/src/opt/local/bin/
NASM_VER: 2.13.01
Initializing workspace
Loading previous configuration from /Users/shane/src/edk2/Conf/BuildEnv.sh
WORKSPACE: /Users/shane/src/edk2
EDK_TOOLS_PATH: /Users/shane/src/edk2/BaseTools
CONF_PATH: /Users/shane/src/edk2/Conf
 
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 XCODE9 -n 5 
 
Build environment: Darwin-17.0.0-x86_64-i386-64bit
Build start time: 10:34:46, Sep.21 2017
 
WORKSPACE        = /Users/shane/src/edk2
ECP_SOURCE       = /Users/shane/src/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /Users/shane/src/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /Users/shane/src/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/shane/src/edk2/BaseTools
CONF_PATH        = /Users/shane/src/edk2/Conf
 
 
Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE9
 
Active Platform          = /Users/shane/src/edk2/Clover/Clover.dsc
Flash Image Definition   = /Users/shane/src/edk2/Clover/Clover.fdf
 
Processing meta-data .... done!
Building ... /Users/shane/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/Clover/CloverEFI/OsxDxeIpl/DxeIpl.inf [X64]
Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
Building ... /Users/shane/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
Building ... /Users/shane/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]
Building ... /Users/shane/src/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]
[CC] DxeInit
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/shane/src/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]
make: Nothing to be done for `tbuild'.
/Users/shane/src/edk2/MdePkg/Library/UefiLib/UefiLib.c:1515:1: error: conflicting types for 'GetBestLanguage'
Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]
GetBestLanguage (
^
/Users/shane/src/edk2/MdePkg/Include/Library/UefiLib.h:819:1: note: previous declaration is here
GetBestLanguage (
^
1 error generated.
make: *** [/Users/shane/src/edk2/Build/Clover/RELEASE_XCODE9/X64/MdePkg/Library/UefiLib/UefiLib/OUTPUT/UefiLib.obj] Error 1
 
 
build.py...
 : error 7000: Failed to execute command
make tbuild [/Users/shane/src/edk2/Build/Clover/RELEASE_XCODE9/X64/MdePkg/Library/UefiLib/UefiLib]
 
 
build.py...
 : error F002: Failed to build module
/Users/shane/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64, XCODE9, RELEASE]
 
- Failed -
Build end time: 10:34:54, Sep.21 2017
Build total time: 00:00:08

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

Am i doing something wrong? Missing something?

it seems the new Patches are missing a matching declaration GetBestLanguage in UefiLib.h 

so add line below fixes things. and of course then it can be built with Xcode9 without warnings. 

 

$ svn diff /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h

Index: /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h

===================================================================

--- /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h (revision 25373)

+++ /Extra/Clover_Install/CloverGrowerPro/edk2/MdePkg/Include/Library/UefiLib.h (working copy)

@@ -819,6 +819,7 @@

GetBestLanguage (

   IN CONST CHAR8  *SupportedLanguages,

   IN BOOLEAN      Iso639Language,

+  IN CONST CHAR8  *Lang,

   ...

   );

Thanks, I forgot to commit this file. 

Check rev 4214.

 

EDK2 developers just don't care about clang code requirement. See stackoverflow

So I need again correct them.

  • Like 4

Haha, me as well.

 

@Badruzeus r4211 is fine with XCode5, but for compatible, use old remap SMBIOS method now.

 

syscl

where new link download Clover 4211.

 

Thank

 

 

Edited by ccphuc2016
×
×
  • Create New...