Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

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.

Link to comment
Share on other sites

you mean AMD6000Controller?

 

 

hello

 

man u came from where Mars?

 

look at earlier post

 

if u don't understand what is write .. use google translator to get some idea

 

good hack

  • Like 3
Link to comment
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
Link to comment
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.

Link to comment
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$ 

 

 

  • Like 2
Link to comment
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..

 

 

  • Like 1
Link to comment
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
  • Like 5
Link to comment
Share on other sites

Hi, is anyone intrested in try this version of FileNVRAM.kext in Clover EFI?

 

Requirement:

1) backup your existent nvram.plist (to be restored later)

2) boot from usb (for safety)

3) report (e.g. if if you can load web drivers using only the Nvidia manager or anything else)

 

This kext is done for Clover and do not write anything on your hd, but that should be done by your rc script.

FileNVRAM.kext.zip

  • Like 4
Link to comment
Share on other sites

Ok, but I still got this error with r4047...

boot6
                             <--------------------------------------------------
TOOLCHAIN_DIR: /Users/vanilla/src/opt/local
NASM_PREFIX: /Users/vanilla/src/opt/local/bin/
NASM_VER: 2.12.02
Initializing workspace
Loading previous configuration from /Users/vanilla/src/edk2/Conf/BuildEnv.sh
WORKSPACE: /Users/vanilla/src/edk2
EDK_TOOLS_PATH: /Users/vanilla/src/edk2/BaseTools
CONF_PATH: /Users/vanilla/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 XCODE5 -n 5 

Build environment: Darwin-16.6.0-x86_64-i386-64bit
Build start time: 04:32:55, Mar.30 2017

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


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

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

Processing meta-data .......... done!
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
Building ... /Users/vanilla/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]
make: Nothing to be done for `tbuild'.
Building ... /Users/vanilla/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]
Building ... /Users/vanilla/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]
Building ... /Users/vanilla/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
/Users/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:713:23: error: cannot compile this va_arg expression yet
              Width = VA_ARG (VaListMarker, UINTN);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:719:27: error: cannot compile this va_arg expression yet
              Precision = VA_ARG (VaListMarker, UINTN);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:812:21: error: cannot compile this va_arg expression yet
            Value = VA_ARG (VaListMarker, int);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:818:21: error: cannot compile this va_arg expression yet
            Value = VA_ARG (VaListMarker, INT64);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:909:28: error: cannot compile this va_arg expression yet
          ArgumentString = VA_ARG (VaListMarker, CHAR8 *);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:927:23: error: cannot compile this va_arg expression yet
          Character = VA_ARG (VaListMarker, UINTN) & 0xffff;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:937:21: error: cannot compile this va_arg expression yet
          TmpGuid = VA_ARG (VaListMarker, GUID *);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:970:21: error: cannot compile this va_arg expression yet
          TmpTime = VA_ARG (VaListMarker, TIME *);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c:994:20: error: cannot compile this va_arg expression yet
          Status = VA_ARG (VaListMarker, RETURN_STATUS);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vanilla/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/vanilla/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BasePrintLib/BasePrintLib/OUTPUT/PrintLibInternal.obj] Error 1


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


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

- Failed -
Build end time: 04:33:09, Mar.30 2017
Build total time: 00:00:14

[EDIT]

Well, still this error in r4046, everything seems the same as the previous r4045 here...

Note: Both r4047 and r4046 were compiled with Xcode 8.3 (but failed)

 

[EDIT 2]

Oops. Forgot to apply the patches of EDK2! Now everything works, thanks @Zenith432!

Edited by PMheart
Link to comment
Share on other sites

Hi, is anyone intrested in try this version of FileNVRAM.kext in Clover EFI?

 

Requirement:

1) backup your existent nvram.plist (to be restored later)

2) boot from usb (for safety)

3) report (e.g. if if you can load web drivers using only the Nvidia manager or anything else)

 

This kext is done for Clover and do not write anything on your hd, but that should be done by your rc script.

 

hello micky
first, thank you for great kext. 
i want to accurately know it how i can use it.
 
should remove all rc script? and only use your kext? i can test brightness value in my laptop
  • Like 1
Link to comment
Share on other sites

Hi, is anyone intrested in try this version of FileNVRAM.kext in Clover EFI?

 

Requirement:

1) backup your existent nvram.plist (to be restored later)

2) boot from usb (for safety)

3) report (e.g. if if you can load web drivers using only the Nvidia manager or anything else)

 

This kext is done for Clover and do not write anything on your hd, but that should be done by your rc script.

@Micky1979 - what does this kext do specifically? what do I look for ?

 

happy to test. should I presume this kext is just for a machine where one needs EmuVariable?

Link to comment
Share on other sites

Hi Sherlocks. The kext does not write anything, so you still need the rc scripts. Yes, brightness setting here show up..

Okay.

Q. When normal boot, read nvram.plist in ESP, now rc script make nvram.plist when reboot or shutdown. Like you mention 1, backup nvram, what means it? Remove?

 

Q. If remove nvram.plist in ESP until reboot or shutdown, when reboot or shutdown rc script automately make nvram.plist. no choice nvram clear. Need to disable rc script. No relate?

 

Q. Can i check debug result? Just check nvram -p in terminal? What is NVRAM.kext's goal?

 

Thanks in advance

 

나의 LG-F410S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

It's my fork of meklor's FileNVRAM. I'm writing from my smartphone so I cannot link the source, but just search my repo and you will see it.

Yes this should be used with legacy bioses, but you can use that as well in UEFI if you want emulated nvram Lol.

The fact is that you can have more vanilla vars in nvram, like preferred networks, power management, audio volume etc. Also you can use the nvram command line as you wish. The kext is usually read write and you can make it read-only with -FileNVRAMro flag (automatically set in code for this test). So you still need the rc script working. It's a test for now.

  • Like 1
Link to comment
Share on other sites

Okay.

Q. When normal boot, read nvram.plist in ESP, now rc script make nvram.plist when reboot or shutdown. Like you mention 1, backup nvram, what means it? Remove?

 

no, just save for later.

 

Q. If remove nvram.plist in ESP until reboot or shutdown, when reboot or shutdown rc script automately make nvram.plist. no choice nvram clear. Need to disable rc script. No relate?

Yes, it's the same, so that you should do nothing *as always. 

Booting with this kext, to clean the nvram you have to use in Terminal:

nvram -c

... but this way everythings in nvram will be lost (why I suggested you to backup your nvram.plist to do this test: later you can restore your original configuration).

*Off course, you have to use the rc script since the kext has the File I/O disabled for this test.

Q. Can i check debug result? Just check nvram -p in terminal? What is NVRAM.kext's goal?

 

yes. like in a real mac

@Micky1979 - what does this kext do specifically? what do I look for ?

 

happy to test. should I presume this kext is just for a machine where one needs EmuVariable?

Really depend if you are happy with your nvram vars (but with this kext you can have additional vanilla ones), and this is anyway an emulation that does not require the emuvariable. Nothing will be written to your real nvram.

 

I need only someone helping making this working in Clover. Actually the kext apparently remove already present variables, but this is just the part 1, and I need to know if you can set what you want. part 2 will be keep bootloader settings.

 

Also this is a evaluation test.

 

P.S. only now I take the time to answer your questions.

Link to comment
Share on other sites

×
×
  • Create New...