Jump to content
30960 posts in this topic

Recommended Posts

@Jief_Machak Unfortunately I have trouble with building (./buildme XCODE8)

[...]
Building ... /Users/kushwavez/git/CloverBootloader/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]
Building ... /Users/kushwavez/git/CloverBootloader/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]
[CC] MemLogLib
Building ... /Users/kushwavez/git/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
Building ... /Users/kushwavez/git/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64]
[CC] BaseReportStatusCodeLib
[CC] DriverEntryPoint
Building ... /Users/kushwavez/git/CloverBootloader/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]
[CC] Acpi
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
Building ... /Users/kushwavez/git/CloverBootloader/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf [X64]
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
make: *** [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull/OUTPUT/BaseReportStatusCodeLib.obj] Error 1
make: *** [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/DriverEntryPoint.obj] Error 1
[CC] PciLib
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
make: *** [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/Library/MemLogLibDefault/MemLogLibDefault/OUTPUT/MemLogLib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull]
make: *** [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiLib/UefiLib/OUTPUT/Acpi.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/Library/MemLogLibDefault/MemLogLibDefault]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/BasePciLibCf8/BasePciLibCf8]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/kushwavez/git/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib]


build.py...
 : error F002: Failed to build module
	/Users/kushwavez/git/CloverBootloader/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64, XCODE8, RELEASE]

- Failed -
Build end time: 18:18:27, Apr.03 2021
Build total time: 00:00:17

fresh clone

Mojave 10.14.6 (18G8022) - Xcode 11.3.1 (11C505)

Command line tools version: 10.3.0.0.1.1562985497

 

gcc --version:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1

Apple LLVM version 10.0.1 (clang-1001.0.46.4)

Target: x86_64-apple-darwin18.7.0

Thread model: posix

InstalledDir: /Library/Developer/CommandLineTools/usr/bin

 

EDIT: with ./buildme (not XCODE8) its building okay. Would be good to be able to build with XCODE8 tho

Edited by kushwavez
  • Sad 1

@Jief_Machak I use F11 several time to boot Big Sur with last commit. Strange

I upload the two output files. There are some differences.

Note: BIOS Version, BIOS Release: I update them few week ago. I use custom SerialNumber, UUID (System Information).
 

Clover r5132 96909661a.txt Clover r5132 6ff5bab.txt

Edited by Matgen84
14 minutes ago, Jief_Machak said:

Yes, these were a bit complicated BIOS Version, BIOS Release. Ok I'll have a look.

Do NOT modify your config.plist !!!

Ok. Take a look to Base Board Information. Please

Note: I check the config.plist (USB/HDD)
EDIT: >>>> I forgot to update SMBIOS section (USB). I  try another test :) Sorry.

Edited by Matgen84

Boot OK - Mojave 10.14.6 - X1 Carbon 6th

 kushwavez  ~  Downloads  ./dmidecode > dmidecode_v5132_6ff5bab.txt
 kushwavez  ~  Downloads  diff dmidecode_v5132.txt dmidecode_v5132_6ff5bab.txt 
 kushwavez  ~  Downloads  

no differences

 

edit: have to mention that I have NoRomInfo=True therefore there is no visible diff between Clover versions because that isn't there. But I double checked & booted the latest commit with BootloaderChooser

Edited by kushwavez
  • Like 1

@Jief_Machak  Boot OK (Z390 Big Sur 11.3 Beta 6)

 

iMac-de-Mathieu:~ mathieu$ diff /Users/mathieu/Desktop/Clover\ r5132\ 96909661a.txt /Users/mathieu/Desktop/New\ Clover\ r5132\ 6ff5bab.txt 
147c147
< 0010: 03 8C 19 00 10 0E F8 11 41 32 44 00 45 00 46 00
---
> 0010: 03 8C 19 00 11 0E F8 11 41 32 44 00 45 00 46 00
189c189
< 	Max Speed: 3600 MHz
---
> 	Max Speed: 3601 MHz
281c281
< 	String 1: Apple ROM Version..Board-ID : Mac-AA95B1DDAB278B95....  Powered by Clover revision: 5132 (master, commit 96909661a).
---
> 	String 1: Apple ROM Version..Board-ID : Mac-AA95B1DDAB278B95....  Powered by Clover revision: 5132 (master, commit 6ff5bab8a).

not really differences :D

New Clover r5132 6ff5bab.txt Clover r5132 96909661a.txt

3 hours ago, Matgen84 said:

@Jief_Machak I use F11 several time to boot Big Sur with last commit. Strange

I upload the two output files. There are some differences.

Note: BIOS Version, BIOS Release: I update them few week ago. I use custom SerialNumber, UUID (System Information).
 

Clover r5132 96909661a.txt 25.2 kB · 1 download Clover r5132 6ff5bab.txt 25.19 kB · 1 download

I can see it's not injected.

Don't know why, it is here on my VM.

Could you try CloverX64-2021-04-03-23-31-49-6ff5bab-dirty-jief.zip. Check in your Base Board Information, Version must be 1.0 and not IMac19,1. Also, your serial number in "system information" was not right. If it's still the case, could you send me the debug.log and you config.plist and the dmidecode output, so I'll try to reproduce here.

2 hours ago, MifJpn said:

Crucial Technology

Shorten manufacturer name should be fixed as well.

4 hours ago, kushwavez said:

Mojave 10.14.6 (18G8022) - Xcode 11.3.1 (11C505)

Command line tools version: 10.3.0.0.1.1562985497

 

gcc --version:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1

Apple LLVM version 10.0.1 (clang-1001.0.46.4)

Target: x86_64-apple-darwin18.7.0

Thread model: posix

InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Anyone having this version who can make a compile test ?

8 hours ago, iCanaro said:

This is regular ./buildme (with GCC53)

The problem is with ./buildme XCODE8 

 

For me, GCC53 is working perfectly fine on Mojave. Do a fresh clone and try again. (or just delete Tools dir)

Edited by kushwavez
  • Haha 1
  • Sad 1
10 hours ago, Jief_Machak said:

I can see it's not injected.

Don't know why, it is here on my VM.

Could you try CloverX64-2021-04-03-23-31-49-6ff5bab-dirty-jief.zip. Check in your Base Board Information, Version must be 1.0 and not IMac19,1. Also, your serial number in "system information" was not right. If it's still the case, could you send me the debug.log and you config.plist and the dmidecode output, so I'll try to reproduce here.

Shorten manufacturer name should be fixed as well.


@Jief_Machak 12 hours ago (page #1065), I apologized: there are differences because I forgot to update the config.plist (USB test drive). Now there is no difference. 

I try the new dirty-jief efi clover anyway

diff /Users/mathieu/Desktop/Clover\ r5132\ 96909661a-2021-04-04.txt /Users/mathieu/Desktop/CloverX64-2021-04-03-23-31-49-6ff5bab-dirty-jief.txt 
4c4
< 71 structures occupying 3088 bytes.
---
> 71 structures occupying 3027 bytes.
281c281
< 	String 1: Apple ROM Version..Board-ID : Mac-AA95B1DDAB278B95....  Powered by Clover revision: 5132 (master, commit 96909661a).
---
> 	String 1: ...  Powered by 2021-04-03-23-31-49-6ff5bab-dirty-jief.

 

 

Clover r5132 96909661a-2021-04-04.txt CloverX64-2021-04-03-23-31-49-6ff5bab-dirty-jief.txt

11 hours ago, Jief_Machak said:

I confirm this compilation option is there since some time. Maybe it's deprecated in newer version ?

I'll create a XCODE10 toolchain without this arg and we'll if that works.


@Jief_Machak Can we use XCODE10 Toolchain ! 

26 minutes ago, kushwavez said:

This is regular ./buildme (with GCC53)

The problem is with ./buildme XCODE8 

 

For me, GCC53 is working perfectly fine on Mojave. Do a fresh clone and try again. (or just delete Tools dir)


Hi @kushwavez I can build successfully with XCODE8 Toolchain on Mojave: menu option (13) + menu option (1). No issues.

31 minutes ago, kushwavez said:

@Matgen84

What are the versions?

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

gcc --version

OS, Xcode version

 

@kushwavez

 

I use Buildme script for building and make pkg  (Mojave 10.14.6 latest) Xcode 11.3.1

 

package-id: com.apple.pkg.CLTools_Executables
version: 11.3.1.0.1.1576735732
volume: /
location: /
install-time: 1612808238
groups: com.apple.FindSystemFiles.pkg-group 

 

  • Thanks 1

@Matgen84 okay it's working now, thanks for the info. @Jief_Machak looks like the problem was that my Command Line Tools wasn't up-to-date. Mine was 10.3.0.0.1.1562985497, but the latest is 11.3.1.0.1.1576735732 but it didn't update itself. Now I updated and it's building just fine.

  • Like 1
15 minutes ago, kushwavez said:

@Matgen84 okay it's working now, thanks for the info. @Jief_Machak looks like the problem was that my Command Line Tools wasn't up-to-date. Mine was 10.3.0.0.1.1562985497, but the latest is 11.3.1.0.1.1576735732 but it didn't update itself. Now I updated and it's building just fine.

Mine is 

package-id: com.apple.pkg.CLTools_Executables

version: 10.3.0.0.1.1562985497

But I prefer to use GCC53.

no boot with mac os sierra now

 

it not last version from clover, i have used kext from and old efi, i boot now (config.plist update smbios, and clover  on master brnach git).

 

it is also ok for mojave too

 

 

Edited by maclinuxG4
2 hours ago, Slice said:

Mine is 

package-id: com.apple.pkg.CLTools_Executables

version: 10.3.0.0.1.1562985497

But I prefer to use GCC53.

hmmm.. and you can build with XCODE8 with that version?

 

idk why I couldn't. But anyways updating cltools solved the problem.

22 minutes ago, kushwavez said:

hmmm.. and you can build with XCODE8 with that version?

 

 

Yes,

[GENFW] CLOVERX64

Generating DUETEFIMAINFVX64 FV
###
GUID cross reference file can be found at /Users/sergey/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/FV/Guid.xref

FV Space Information
DUETEFIMAINFVX64 [36%Full] 2752512 total, 1007504 used, 1745008 free

- Done -
Build end time: 16:13:25, Apr.04 2021
Build total time: 00:01:39

  -> CloverX64-RELEASE_XCODE8-20210403174249-6ff5bab-dirty.efi

 

  • Like 2
×
×
  • Create New...