Jump to content

Clover General discussion


ErmaC
29,868 posts in this topic

Recommended Posts

@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

  • Sad 1
Link to comment
Share on other sites

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 by Sherlocks
Link to comment
Share on other sites

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

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

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 by n.d.k
  • Sad 1
Link to comment
Share on other sites

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

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

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

Снимок экрана 2019-09-25 в 20.55.08.png

  • Like 3
  • Haha 1
Link to comment
Share on other sites

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

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 by arsradu
Link to comment
Share on other sites

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 :D

Installer Log 29-Sep-2019.txt

Screen Shot 2019-09-29 at 13.38.48.png

  • Like 1
  • Confused 1
Link to comment
Share on other sites

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 :D

Installer Log 29-Sep-2019.txt

Screen Shot 2019-09-29 at 13.38.48.png

 

All works fine here on Beta 9

 

 

Capture d’écran 2019-09-29 à 09.45.58.png

Link to comment
Share on other sites

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 :D

Installer Log 29-Sep-2019.txt

Screen Shot 2019-09-29 at 13.38.48.png

 

Same here.

 

 

Link to comment
Share on other sites

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 :D

Installer Log 29-Sep-2019.txt

Screen Shot 2019-09-29 at 13.38.48.png

 

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...

  • Like 1
Link to comment
Share on other sites

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.

 

Screen Shot 2019-10-01 at 2.34.11 pm.png

Screen Shot 2019-10-01 at 2.34.22 pm.png

Screen Shot 2019-10-01 at 2.44.04 pm.png

CLOVER.zip

  • Sad 1
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...