Slice Posted February 8, 2021 Share Posted February 8, 2021 1 hour ago, Jief_Machak said: I also use Mojave. Do "clang -v" I have "Apple clang version 11.0.0 (clang-1100.0.33.12)" Same as me 1 Link to comment Share on other sites More sharing options...
Jief_Machak Posted February 8, 2021 Share Posted February 8, 2021 Maybe install Xcode Version 11.2 (11B52) first. And upgrade to 11.3.1 if it works. 1 Link to comment Share on other sites More sharing options...
Slice Posted February 8, 2021 Share Posted February 8, 2021 Huh! I confirm. The Clover-XCODE8 is not working. Will study.... Link to comment Share on other sites More sharing options...
matxpa Posted February 8, 2021 Share Posted February 8, 2021 Hi Slice. On a Laptop with an Ivy Bridge (i5-3340M) or on a Desktop with Kaby Lake (i5-7600K), both with : Big Sur 11.2 (20D64) Xcode 12.4 (12D4e) and clang 12.0.0 The last r_5129 XCODE8 RELEASE i could build is « master, commit e24ceaa47 ». From a170710 to d66a144a commit XCODE8 build abort but never with GCC. GCC53 (default) builds all commits from a170710 to the last d66a144a. So i’m not sure it’s an Xcode and/or clang releases problem. 1 Link to comment Share on other sites More sharing options...
Slice Posted February 8, 2021 Share Posted February 8, 2021 3 hours ago, Jief_Machak said: Sorry, but I'm lost. You said that your xcode compilation doesn't work. iCanaro xcode compiled efi and mine works. Looks like an xcode bug, isn't it ? So now, replace main.cpp by this one main.cpp, compile with xcode and try. What's on the screen ? Underscore in the lef-top corner and then switch to next boot entry in UEFI BIOS. It will happen if execution encounter return;. 1 Link to comment Share on other sites More sharing options...
Slice Posted February 8, 2021 Share Posted February 8, 2021 2 hours ago, ameenjuz said: I need latest commit changes clover i don,t have much internet This version compiled by GCC is working. CLOVERX64.efi.zip 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted February 8, 2021 Share Posted February 8, 2021 @Jief_Machak @iCanaro @Slice I remove and reinstall XCODE 11.3.1 + command line tools: I can build Clover latest commit but same issue ---> On screen at start with Bootloader Chooser: Press any text * Hit any key to continue * Remember : I can boot Clover (GCC Build) 1 Link to comment Share on other sites More sharing options...
Slice Posted February 8, 2021 Share Posted February 8, 2021 DEBUG_ERALY_CRASH does nothing on screen. No messages. QEMU crashes Size of Clover greater then allowed? 1 Link to comment Share on other sites More sharing options...
ameenjuz Posted February 8, 2021 Share Posted February 8, 2021 @Slice worked fine Link to comment Share on other sites More sharing options...
SavageAUS Posted February 9, 2021 Share Posted February 9, 2021 So newest clover includes datahubdxe?On my Intel i7-9750h do I need useARTfrequency?What if datahubdexe already exists in EFI will clover remove it?Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
LockDown Posted February 9, 2021 Share Posted February 9, 2021 8 minutes ago, SavageAUS said: What if datahubdexe already exists in EFI will clover remove it? remove if it didnt Link to comment Share on other sites More sharing options...
Slice Posted February 9, 2021 Share Posted February 9, 2021 55 minutes ago, SavageAUS said: So newest clover includes datahubdxe? On my Intel i7-9750h do I need useARTfrequency? What if datahubdexe already exists in EFI will clover remove it? Sent from my iPhone using Tapatalk Double installed is not a problem. Last will work and no matter if they are the same. Yes, for i7-9750h you need ARTfrequency. May be obligatory. I can tell exactly if look into Clover's preboot.log. Link to comment Share on other sites More sharing options...
Jief_Machak Posted February 9, 2021 Share Posted February 9, 2021 (edited) 12 hours ago, Slice said: DEBUG_ERALY_CRASH does nothing on screen. No messages. QEMU crashes Size of Clover greater then allowed? Cannot reproduce that... Could send me your QEMU disk image ? Also : Do you use the qemu I put in qemu folder ? If not, could you try, so we have the same exact Qemu version ? To do so : - be in your Clover folder in terminal - ./Qemu/launch ./Build/Clover/DEBUG_XCODE8/X64/CLOVERX64.efi Edited February 9, 2021 by Jief_Machak Link to comment Share on other sites More sharing options...
maclinuxG4 Posted February 9, 2021 Share Posted February 9, 2021 Strange Apple clang version 11.0.0 (clang-1100.0.33.8).... 1 Link to comment Share on other sites More sharing options...
Jief_Machak Posted February 9, 2021 Share Posted February 9, 2021 2 hours ago, Jief_Machak said: Cannot reproduce that... And I'd like to add that I'd really like to reproduce this crash. Maybe it's a settings in QEMU or a QEMU version, and I prefer to have straight crash instead of something working because settings that allow to ignore crash. Link to comment Share on other sites More sharing options...
Jief_Machak Posted February 9, 2021 Share Posted February 9, 2021 I worked a bit on the build cc and cxx flags, to make the xcode config and gcc more similar. Took the occasion to clean some of them (for example, there was -fsigned-char and -funsigned-char on the same line !) Probably won't fix @Matgen84 xcode compilation problem, but who knows... 1 Link to comment Share on other sites More sharing options...
Jief_Machak Posted February 9, 2021 Share Posted February 9, 2021 And I disable -Werror for debug compilation. So DEBUG compilation can now succeed with warnings. Nice when you want to try something quickly. Also handy because you can see all warnings to one compilation instead of having to recompile each you fixed one. At least I think it is... 1 Link to comment Share on other sites More sharing options...
iCanaro Posted February 9, 2021 Share Posted February 9, 2021 (edited) no good Spoiler buildme, Clover r5129 (SHA: b346d25c3) TOOLCHAIN: GCC53 (override example: './buildme XCODE8') 1) build Clover 2) build Clover with HFSPlus 3) make pkg 4) make app 5) make app (with Clover) 6) make iso 7) build all 8) test build (no autogen, no boot files) 9) status 10) update Clover 11) show diff 12) open CloverV2/EFI/CLOVER directory 13) update Clover (reset changes) 14) clean BaseTools 15) quit Please enter your choice: 10 [UPDATE CLOVER] Fetching origin Fetching submodule OpenCorePkg Fetching submodule OpenCorePkg From https://github.com/CloverHackyColor/CloverBootloader * branch master -> FETCH_HEAD Fetching submodule OpenCorePkg Already up-to-date. ------------------------------------------------------------------------ buildme, Clover r5129 (SHA: b346d25c3) TOOLCHAIN: GCC53 (override example: './buildme XCODE8') 1) build Clover 2) build Clover with HFSPlus 3) make pkg 4) make app 5) make app (with Clover) 6) make iso 7) build all 8) test build (no autogen, no boot files) 9) status 10) update Clover 11) show diff 12) open CloverV2/EFI/CLOVER directory 13) update Clover (reset changes) 14) clean BaseTools 15) quit Please enter your choice: 7 [CHECK XCODE] WORKSPACE: /Users/utente/CloverBootloader EDK_TOOLS_PATH: /Users/utente/CloverBootloader/BaseTools CONF_PATH: /Users/utente/CloverBootloader/Conf Copying $EDK_TOOLS_PATH/Conf/build_rule.template to /Users/utente/CloverBootloader/Conf/build_rule.txt Copying $EDK_TOOLS_PATH/Conf/tools_def.template to /Users/utente/CloverBootloader/Conf/tools_def.txt Copying $EDK_TOOLS_PATH/Conf/target.template to /Users/utente/CloverBootloader/Conf/target.txt [BUILD CLOVER] TOOLCHAIN_DIR: /Users/utente/CloverBootloader/toolchain NASM_PREFIX: /Users/utente/CloverBootloader/toolchain/bin/ NASM_VER: 2.15.05 Initializing workspace recreate Conf folder WORKSPACE: /Users/utente/CloverBootloader EDK_TOOLS_PATH: /Users/utente/CloverBootloader/BaseTools CONF_PATH: /Users/utente/CloverBootloader/Conf Copying $EDK_TOOLS_PATH/Conf/build_rule.template to /Users/utente/CloverBootloader/Conf/build_rule.txt Copying $EDK_TOOLS_PATH/Conf/tools_def.template to /Users/utente/CloverBootloader/Conf/tools_def.txt Copying $EDK_TOOLS_PATH/Conf/target.template to /Users/utente/CloverBootloader/Conf/target.txt Running edk2 build for CloverX64 using the command: build -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/utente/CloverBootloader/Conf -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover.dsc -a X64 -b RELEASE -t GCC53 -n 13 Build environment: Darwin-19.6.0-x86_64-i386-64bit Build start time: 13:13:17, Feb.09 2021 WORKSPACE = /Users/utente/CloverBootloader EDK_TOOLS_PATH = /Users/utente/CloverBootloader/BaseTools CONF_PATH = /Users/utente/CloverBootloader/Conf Processing meta-data .Architecture(s) = X64 Build target = RELEASE Toolchain = GCC53 Active Platform = /Users/utente/CloverBootloader/Clover.dsc ...build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/platform/posix/strings.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/platform/posix/strings.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/config-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/config-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/include/dsdtfixlist.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/include/dsdtfixlist.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/xml_lite-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /users/utente/cloverbootloader/refit_uefi/cpp_unit_test/xml_lite-test.h not found in /Users/utente/CloverBootloader/rEFIt_UEFI/refit.inf done! Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64] Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/utente/CloverBootloader/Library/HdaDevicesLib/HdaDevicesLib.inf [X64] make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/utente/CloverBootloader/Library/DuetTimerLib/DuetTimerLib.inf [X64] [CC] X86TimerLib Building ... /Users/utente/CloverBootloader/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/utente/CloverBootloader/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/utente/CloverBootloader/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64] make: Nothing to be done for `tbuild'. In file included from /Users/utente/CloverBootloader/Library/DuetTimerLib/X86TimerLib.c:24: /Users/utente/CloverBootloader/Library/DuetTimerLib/X86TimerLib.c: In function 'InternalGetApciDescrptionTable': Building ... /Users/utente/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64] /Users/utente/CloverBootloader/MdePkg/Include/Library/HobLib.h:545:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 545 | (VOID *)(*(UINT8 **)&(HobStart) + sizeof (EFI_HOB_GUID_TYPE)) | ^~~~~~~~~~~~~~~~~~~~~ /Users/utente/CloverBootloader/Library/DuetTimerLib/X86TimerLib.c:49:17: note: in expansion of macro 'GET_GUID_HOB_DATA' 49 | gAcpiDesc = GET_GUID_HOB_DATA (GuidHob.Guid); | ^~~~~~~~~~~~~~~~~ /Users/utente/CloverBootloader/Library/DuetTimerLib/X86TimerLib.c: At top level: cc1: note: unrecognized command-line option '-Wno-incompatible-ms-struct' may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors make: *** [/Users/utente/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/Library/DuetTimerLib/DuetTimerLib/OUTPUT/X86TimerLib.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/utente/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/Library/DuetTimerLib/DuetTimerLib] build.py... : error F002: Failed to build module /Users/utente/CloverBootloader/Library/DuetTimerLib/DuetTimerLib.inf [X64, GCC53, RELEASE] - Failed - Build end time: 13:13:21, Feb.09 2021 Build total time: 00:00:05 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Processo completato] Edited February 9, 2021 by iCanaro Link to comment Share on other sites More sharing options...
Matgen84 Posted February 9, 2021 Share Posted February 9, 2021 @Jief_Machak @iCanaro No good with Xcode8 too, but different error message Spoiler [CC] CapsuleCache [CC] UhciDebug [MTOC] VBoxHfs /Users/mathieu/src/Cloverbootloader/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c:50:1: error: missing field 'BlockIo2' initializer [-Werror,-Wmissing-field-initializers] }; ^ [CC] grub_file [CC] CapsuleReset 1 error generated. make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe/OUTPUT/DiskIo.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe] build.py... : error F002: Failed to build module /Users/mathieu/src/Cloverbootloader/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf [X64, XCODE8, RELEASE] 1 Link to comment Share on other sites More sharing options...
iCanaro Posted February 9, 2021 Share Posted February 9, 2021 https://github.com/CloverHackyColor/CloverBootloader/commit/d4e748b87c3b579c2818b91300169e64a7cca247 now on the Z370, catalina, xcode 12.4 compilation ends successfully 2 Link to comment Share on other sites More sharing options...
Jief_Machak Posted February 9, 2021 Share Posted February 9, 2021 I think I didn't erase the Build folder, so not all were recompiled. That's why I didn't see these. Or something else I don't know... Anyway... Link to comment Share on other sites More sharing options...
Matgen84 Posted February 9, 2021 Share Posted February 9, 2021 @Jief_Machak @iCanaro Xcode compilation ends successfully (d4e748b87). Thanks. I try to boot 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted February 9, 2021 Share Posted February 9, 2021 (edited) @Jief_Machak @iCanaro No Clover GUI: only Underscore in the top left corner with black screen (IvyBridge, Mojave, Xcode Build). Test with Bootloader Chooser Edited February 9, 2021 by Matgen84 Link to comment Share on other sites More sharing options...
iCanaro Posted February 9, 2021 Share Posted February 9, 2021 (edited) 21 minutes ago, Matgen84 said: @Jief_Machak @iCanaro No Clover GUI: only Underscore in the top left corner with black screen (IvyBridge, Mojave, Xcode Build). Test with Bootloader Chooser I'm using this newly compiled Clover, to update on the Z170 catalina with the sec up combo 2021-001 no GUI problem at boot But it's not like you're using a problematic theme??? try to re-heat it updated or change it Edited February 9, 2021 by iCanaro Link to comment Share on other sites More sharing options...
Matgen84 Posted February 9, 2021 Share Posted February 9, 2021 (edited) 41 minutes ago, iCanaro said: I'm using this newly compiled Clover, to update on the Z170 catalina with the sec up combo 2021-001 no GUI problem at boot But it's not like you're using a problematic theme??? try to re-heat it updated or change it I don't have a problem of theme with Clover build with GCC. I can try anyway changing it for Xcode Build. Remember: I build with Xcode 11.3.1 (Mojave) clang-1100.0.33.17 Very strange issue EDIT: I change the theme, same issue ----> commit d4e748b87 (Bootloader Chooser) Ivybridge: underscore at the top left of the screen Z390,: stuck at * Hit any key...* Edited February 9, 2021 by Matgen84 Link to comment Share on other sites More sharing options...
Recommended Posts