Sherlocks Posted September 25, 2019 Share Posted September 25, 2019 @vector sigma hi i always get this error when using GCC make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/CloverBootloader/CloverEFI/OsxEfiLdr/EfiLdr.inf [X64] [SLINK] OsxAptioFix3Drv [CC] EfiLoader [SLINK] EfiLoader sed-but-set-variable: In function 'StartupSoundPlay': sed-but-set-variable:175:9: internal compiler error: Segmentation fault: 11 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make: *** [/Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/sherlocks/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE] - Failed - Build end time: 20:20:41, Sep.25 2019 Build total time: 00:00:18 why build change default GCC from XCODE8. i just wonder. thanks in advance for your hard work 1 Link to comment Share on other sites More sharing options...
Slice Posted September 25, 2019 Share Posted September 25, 2019 @Sherlocks Can you provide a log of building gcc? It should be somewhere in opt folder. We propose Xcode11 can't compile gcc correctly. Link to comment Share on other sites More sharing options...
Sherlocks Posted September 25, 2019 Share Posted September 25, 2019 (edited) 2 minutes ago, Slice said: @Sherlocks Can you provide a log of building gcc? It should be somewhere in opt folder. We propose Xcode11 can't compile gcc correctly. here is full log of sf sourceforge Last login: Wed Sep 25 20:19:21 on ttys000 sherlocks@SherloccBookPro ~ % cloversvn cloversvn v1 ------------------------------------------------------------------------ buildme, Clover v2.5k r5091 TOOLCHAIN: GCC53 (override example: './buildme GCC53') 1) build Clover 2) make pkg 3) make iso 4) build all 5) test build (no autogen, no boot files) 6) update Clover 7) update Clover (reset changes) 8) update edk2 9) status 10) check remote changes 11) show diff 12) open drivers directory 13) clean BaseTools 14) quit Please enter your choice: 1 [BUILD CLOVER] Loading previous configuration from /Users/sherlocks/src/edk2/Conf/BuildEnv.sh WORKSPACE: /Users/sherlocks/src/edk2 EDK_TOOLS_PATH: /Users/sherlocks/src/edk2/BaseTools CONF_PATH: /Users/sherlocks/src/edk2/Conf TOOLCHAIN_DIR: /Users/sherlocks/src/opt/local NASM_PREFIX: /Users/sherlocks/src/opt/local/bin/ NASM_VER: 2.14.02 Building from: /Users/sherlocks/src/edk2 Running edk2 build for CloverX64 using the command: build --conf=/Users/sherlocks/src/edk2/Conf -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t GCC53 -n 5 Build environment: Darwin-19.0.0-x86_64-i386-64bit Build start time: 21:05:40, Sep.25 2019 WORKSPACE = /Users/sherlocks/src/edk2 EDK_TOOLS_PATH = /Users/sherlocks/src/edk2/BaseTools CONF_PATH = /Users/sherlocks/src/edk2/Conf PYTHON_COMMAND = /usr/bin/python3 Processing meta-data . Architecture(s) = X64 Build target = RELEASE Toolchain = GCC53 Active Platform = /Users/sherlocks/src/edk2/Clover/Clover.dsc ...... done! Building ... /Users/sherlocks/src/edk2/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64] Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64] Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64] make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64] make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64] Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64] Building ... /Users/sherlocks/src/edk2/Clover/Library/WaveLib/WaveLib.inf [X64] Building ... /Users/sherlocks/src/edk2/Clover/Library/OpensslLib/OpensslLibNull.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [X64] Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf [X64] make: Nothing to be done for `tbuild'. /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c: In function 'StrCpyS': /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c:234:20: error: variable 'SourceLen' set but not used [-Werror=unused-but-set-variable] 234 | UINTN SourceLen; | ^~~~~~~~~ Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf [X64] /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c: In function 'StrCatS': /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c:416:23: error: variable 'SourceLen' set but not used [-Werror=unused-but-set-variable] 416 | UINTN SourceLen; | ^~~~~~~~~ make: Nothing to be done for `tbuild'. /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c: In function 'AsciiStrCpyS': /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c:1825:20: error: variable 'SourceLen' set but not used [-Werror=unused-but-set-variable] 1825 | UINTN SourceLen; | ^~~~~~~~~ /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c: In function 'AsciiStrCatS': /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c:1995:23: error: variable 'SourceLen' set but not used [-Werror=unused-but-set-variable] 1995 | UINTN SourceLen; | ^~~~~~~~~ /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c: In function 'UnicodeStrToAsciiStrS': /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2689:20: error: variable 'SourceLen' set but not used [-Werror=unused-but-set-variable] 2689 | UINTN SourceLen; | ^~~~~~~~~ /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c: In function 'AsciiStrToUnicodeStrS': /Users/sherlocks/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2909:20: error: variable 'SourceLen' set but not used [-Werror=unused-but-set-variable] 2909 | UINTN SourceLen; | ^~~~~~~~~ make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf [X64] Building ... /Users/sherlocks/src/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64] make: Nothing to be done for `tbuild'. Building ... /Users/sherlocks/src/edk2/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf [X64] /Users/sherlocks/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c: In function 'CreateDialog': /Users/sherlocks/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c:413:17: error: variable 'Status' set but not used [-Werror=unused-but-set-variable] 413 | EFI_STATUS Status; | ^~~~~~ [CC] ApplicationEntryPoint /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/For.c: In function 'ShellCommandRunEndFor': /Users/sherlocks/src/edk2/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/For.c:70:23: error: variable 'Status' set but not used [-Werror=unused-but-set-variable] 70 | EFI_STATUS Status; | ^~~~~~ cc1: all warnings being treated as errors make: *** [/Users/sherlocks/src/edk2/Build/Clover/RELEASE_GCC53/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/CustomizedDisplayLib.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/sherlocks/src/edk2/Build/Clover/RELEASE_GCC53/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/sherlocks/src/edk2/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/BaseLib/BaseLib] build.py... : error 7000: Failed to execute command make tbuild [/Users/sherlocks/src/edk2/Build/Clover/RELEASE_GCC53/X64/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib] build.py... : error F002: Failed to build module /Users/sherlocks/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64, GCC53, RELEASE] - Failed - Build end time: 21:05:50, Sep.25 2019 Build total time: 00:00:09 sherlocks@SherloccBookPro ~ % Edited September 25, 2019 by Sherlocks Link to comment Share on other sites More sharing options...
Slice Posted September 25, 2019 Share Posted September 25, 2019 These errors were already corrected on github. There are no problem to do the same on sf.net. tools_def.txt in GCC53 definition add -Wno-unused-but-set-variable Meanwhile I want to see a log from ./build_gcc9.sh Link to comment Share on other sites More sharing options...
artur_pt Posted September 25, 2019 Share Posted September 25, 2019 hello Slice ur last commit in git is giving errors with buildme XCODE8 thanks Link to comment Share on other sites More sharing options...
Slice Posted September 25, 2019 Share Posted September 25, 2019 10 minutes ago, artur_pt said: hello Slice ur last commit in git is giving errors with buildme XCODE8 thanks Thanks for the note. Check again. 1 Link to comment Share on other sites More sharing options...
artur_pt Posted September 25, 2019 Share Posted September 25, 2019 hello Slice sorry not solved ====================================================================== FAIL: test_AutoGen_GenMake (CheckPythonSyntax.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/artur_pt/src/CloverBootloader/BaseTools/Tests/CheckPythonSyntax.py", line 49, in newmethod = lambda self: self.SingleFileTest(filename) File "/Users/artur_pt/src/CloverBootloader/BaseTools/Tests/CheckPythonSyntax.py", line 27, in SingleFileTest self.fail('syntax error: %s, Error is %s' % (filename, str(e))) AssertionError: syntax error: /Users/artur_pt/src/CloverBootloader/BaseTools/Source/Python/AutoGen/GenMake.py, Error is Sorry: IndentationError: unexpected indent (GenMake.py, line 1247) ---------------------------------------------------------------------- Ran 280 tests in 2.342s FAILED (failures=1) Running edk2 build for CloverX64 using the command: build --conf=/Users/artur_pt/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc -a X64 -b RELEASE -t XCODE8 -n 5 Traceback (most recent call last): File "/Users/artur_pt/src/CloverBootloader/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 30, in from AutoGen.PlatformAutoGen import PlatformAutoGen File "/Users/artur_pt/src/CloverBootloader/BaseTools/Source/Python/AutoGen/PlatformAutoGen.py", line 18, in from . import GenMake File "/Users/artur_pt/src/CloverBootloader/BaseTools/Source/Python/AutoGen/GenMake.py", line 1247 self.DependencyHeaderFileSet = set() ^ IndentationError: unexpected indent thanks Link to comment Share on other sites More sharing options...
n.d.k Posted September 25, 2019 Share Posted September 25, 2019 (edited) 2 hours ago, Slice said: @Sherlocks Can you provide a log of building gcc? It should be somewhere in opt folder. We propose Xcode11 can't compile gcc correctly. This, Catalina and Xcode 11 final always fail at Gcc make..line, will pass after several attempts with even computer reboot, but fail to compile clover. Here's the full log! logfile is 10mb +, have to trim the middle to make it less than 10mb limit. gcc.x64.make.log.txt Edited September 25, 2019 by n.d.k 1 Link to comment Share on other sites More sharing options...
Slice Posted September 25, 2019 Share Posted September 25, 2019 3 hours ago, n.d.k said: This, Catalina and Xcode 11 final always fail at Gcc make..line, will pass after several attempts with even computer reboot, but fail to compile clover. Here's the full log! logfile is 10mb +, have to trim the middle to make it less than 10mb limit. gcc.x64.make.log.txt Why not 7z-pack? Link to comment Share on other sites More sharing options...
chris1111 Posted September 25, 2019 Share Posted September 25, 2019 Latest commit falled Build on GitHub FOR MACOS X 1 Link to comment Share on other sites More sharing options...
Slice Posted September 25, 2019 Share Posted September 25, 2019 It looks like the error of clang itself clang: error: unable to execute command: Segmentation fault: 11 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple clang version 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. Link to comment Share on other sites More sharing options...
LAbyOne Posted September 25, 2019 Share Posted September 25, 2019 I just updated to v.5091 Failed here too seems still to have some problem with GenMake.py . ( self.DependencyHeaderFileSet = set() ) seems to be the culprit reverted to previous instructions build succeed Link to comment Share on other sites More sharing options...
Slice Posted September 25, 2019 Share Posted September 25, 2019 1 minute ago, LAbyOne said: I just updated to v.5091 Failed here too seems still to have some problem with GenMake.py . ( self.DependencyHeaderFileSet = set() ) seems to be the culprit reverted to previous instructions build succeed git push again 3 1 Link to comment Share on other sites More sharing options...
artur_pt Posted September 25, 2019 Share Posted September 25, 2019 55 minutes ago, Slice said: git push again hello Slice the last commit solve the issue thanks 2 Link to comment Share on other sites More sharing options...
arsradu Posted September 26, 2019 Share Posted September 26, 2019 Hi guys, Any chance you can switch those ftp:// calls in buildgcc.sh, build_gcc9.sh and buildgcc-4.9.sh to https:// calls? I've already tested these changes and it works perfectly fine after that. 1 Link to comment Share on other sites More sharing options...
Slice Posted September 26, 2019 Share Posted September 26, 2019 1 hour ago, arsradu said: Hi guys, Any chance you can switch those ftp:// calls in buildgcc.sh, build_gcc9.sh and buildgcc-4.9.sh to https:// calls? I've already tested these changes and it works perfectly fine after that. I don't know. It was working for me last week as is. Link to comment Share on other sites More sharing options...
arsradu Posted September 26, 2019 Share Posted September 26, 2019 (edited) 12 minutes ago, Slice said: I don't know. It was working for me last week as is. I'm guessing you don't have any blocked ports. It does work for me as well, from home. Last night I compiled Clover successfully from home with no issues whatsoever. This only happens if the user can't use ftp:// protocol due to restricted ports. Same thing for svn:// same for git://. So, basically everything that's not using the http:// or https:// protocol. I've had similar issues, if you remember, a while ago, with svn:// due to some changes in ebuild.sh, if I'm not mistaken. It was fixed the same exact way. By switching from svn:// to https:// to work around the restricted ports. Edited September 26, 2019 by arsradu Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted September 29, 2019 Share Posted September 29, 2019 I have made fresh install macOS Catalina Beta 9 several days ago and install CLOVER r5089 succesfully. But now i want to update to r5091, and this errors come again. There is no corrupt file system here, there is no electricity problem too. Can you give me "the light" @vector sigma Installer Log 29-Sep-2019.txt 1 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 29, 2019 Share Posted September 29, 2019 3 hours ago, Andres ZeroCross said: I have made fresh install macOS Catalina Beta 9 several days ago and install CLOVER r5089 succesfully. But now i want to update to r5091, and this errors come again. There is no corrupt file system here, there is no electricity problem too. Can you give me "the light" @vector sigma Installer Log 29-Sep-2019.txt All works fine here on Beta 9 Link to comment Share on other sites More sharing options...
nexusneko Posted September 29, 2019 Share Posted September 29, 2019 9 hours ago, Andres ZeroCross said: I have made fresh install macOS Catalina Beta 9 several days ago and install CLOVER r5089 succesfully. But now i want to update to r5091, and this errors come again. There is no corrupt file system here, there is no electricity problem too. Can you give me "the light" @vector sigma Installer Log 29-Sep-2019.txt Same here. Link to comment Share on other sites More sharing options...
vector sigma Posted September 29, 2019 Share Posted September 29, 2019 11 hours ago, Andres ZeroCross said: I have made fresh install macOS Catalina Beta 9 several days ago and install CLOVER r5089 succesfully. But now i want to update to r5091, and this errors come again. There is no corrupt file system here, there is no electricity problem too. Can you give me "the light" @vector sigma Installer Log 29-Sep-2019.txt 2 hours ago, nexusneko said: Same here. Sorry guys I can't enlighten any one because internet is full of "An unexpected error occurred while moving files to the final destination". The only solution appear to be, if you read those articles, is to repairing your disk permissions... 1 Link to comment Share on other sites More sharing options...
SavageAUS Posted October 1, 2019 Share Posted October 1, 2019 I'm not sure if this is the correct place to post this but i believe its a CLOVER issue or CLOVER config error on my end. In my laptop i have HD4400 iGPU and according to intel its base frequency should be 200MHz but when running in macOS my iGPU is idling at 550MHZ (0.55). I am assuming this is not an issue? but surely this will drain my battery faster than it should. Any help would be appreciated. CLOVER.zip 1 Link to comment Share on other sites More sharing options...
Slice Posted October 1, 2019 Share Posted October 1, 2019 Clover has nothing to do with GFX frequency. Clover has a possibility to patch something if we will know what and where. Otherwise see if you use Lilu+WhateverGreen. There are not my kexts. 1 Link to comment Share on other sites More sharing options...
n.d.k Posted October 1, 2019 Share Posted October 1, 2019 (edited) It seems there's an incompatibles with macOS 10.15 headers that caused the gcc 9 fail to compile. It's explained here in detail and how to patch it https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 PS. I think Catalina beta 10 already included the fix, I see the patch already in Availability.h Edited October 1, 2019 by n.d.k 1 Link to comment Share on other sites More sharing options...
Slice Posted October 1, 2019 Share Posted October 1, 2019 Big thanks for the link. I just have to say that beta-Catalina is not reliable platform to build Clover. Link to comment Share on other sites More sharing options...
Recommended Posts