Jump to content
30960 posts in this topic

Recommended Posts

Xcode 13.2.1 issue is persistant

:angel_not: I try recompile from scratch and also Update Clover but is the same problem

GCC work fine 😉

 

Terminal Saved Output-3.zip

  • Sad 1
1 hour ago, chris1111 said:

Xcode 13.2.1 issue is persistant

:angel_not: I try recompile from scratch and also Update Clover but is the same problem

GCC work fine 😉

 

Terminal Saved Output-3.zip 4.42 kB · 0 downloads

[SLINK] OcDebugLogLib
[CC] LRotU64
/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.c: In function 'AcpiNormalizeTableHeaders':
/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.c:634:28: error: 'EFI_ACPI_DESCRIPTION_HEADER' has no member named 'SignatureCommon'
  634 |   Walker = (CHAR8 *) &Table->SignatureCommon.Signature;
      |                            ^~
/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.c:635:40: error: 'EFI_ACPI_DESCRIPTION_HEADER' has no member named 'SignatureCommon'
  635 |   for (Index = 0; Index < sizeof (Table->SignatureCommon.Signature); ++Index) {
      |                                        ^~
[CC] OcDriverConnectionLib
[CC] Dh
/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.c: At top level:
cc1: note: unrecognized command-line option '-Wno-incompatible-ms-struct' may have been intended to silence earlier diagnostics
make: *** [/Users/alpha/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib/OUTPUT/OcAcpiLib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/alpha/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib]


build.py...
 : error F002: Failed to build module
	/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf [X64, GCC53, RELEASE]

Hello

me too.(BigSur Xcode 13.2.1)

 

./buildme xcode8

[CC] BigNumMontgomery
/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.c:634:30: error: no member named 'SignatureCommon' in 'EFI_ACPI_DESCRIPTION_HEADER'
  Walker = (CHAR8 *) &Table->SignatureCommon.Signature;
                      ~~~~~  ^
/Users/alpha/CloverBootloader/OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.c:635:42: error: no member named 'SignatureCommon' in 'EFI_ACPI_DESCRIPTION_HEADER'
  for (Index = 0; Index < sizeof (Table->SignatureCommon.Signature); ++Index) {

Thank you.

 

  • Like 1
7 hours ago, chris1111 said:

Xcode 13.2.1 issue is persistant

:angel_not: I try recompile from scratch and also Update Clover but is the same problem

GCC work fine 😉

 

Terminal Saved Output-3.zip 4.42 kB · 1 download

You just didn't update embedded OpenCore

See

https://github.com/CloverHackyColor/OpenCorePkg/commit/614bd7b4ec82d10f6719faad61cc3adfda767a3b

 

@MifJpnAlphaPlus The same

Hi @Slice

Can't build. 😪


My local repo :

HEAD is now at beafbb0b Merge branch 'master' of https://github.com/CloverHackyColor/OpenCorePkg

HEAD is now at b8c935a64 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader

 

Clover GitHub repo :

Spoiler

514123009_Capturedcran2022-05-0110_17_48.png.05074cd215440e0142352caf1827c408.png

 

I don't understand why there is a difference !

Clover_Build.log

Strange, but I see successful compilation

- Done -
Build end time: 10:11:30, May.01 2022
Build total time: 00:02:50

...
  -> CloverX64-RELEASE_XCODE8-20220430215154-b8c935a-dirty.efi

...
Copy CloverEFI:
  -> boot6
Changing byte at 0xa9 of boot6 to show 6 as init message:

What else to compile in your script?

11 minutes ago, Slice said:

Strange, but I see successful compilation

- Done -
Build end time: 10:11:30, May.01 2022
Build total time: 00:02:50

...
  -> CloverX64-RELEASE_XCODE8-20220430215154-b8c935a-dirty.efi

...
Copy CloverEFI:
  -> boot6
Changing byte at 0xa9 of boot6 to show 6 as init message:

What else to compile in your script?

 

I only build Clover using XCODE 12.4 (Catalina). Can't also build using Buildme GCC

 

 

OutPut GCC

33 minutes ago, Matgen84 said:

 

I only build Clover using XCODE 12.4 (Catalina). Can't also build using Buildme GCC

 

 

OutPut GCC 19.4 kB · 1 download

I see in the log

  634 |   Walker = (CHAR8 *) &Table->SignatureCommon.Signature;

But this line already have been corrected in yesterday. You was not updated embedded OpenCorePkg.

2 minutes ago, Slice said:

I see in the log

  634 |   Walker = (CHAR8 *) &Table->SignatureCommon.Signature;

But this line already have been corrected in yesterday. You was not updated embedded OpenCorePkg.

 

I solved the problem with the local repository compiled with GCC. But I still have a problem with the other local repository where I use XCODE.

5 hours ago, Slice said:

Hello

I am not very familiar with Git-Hub, so I apologize if I am wrong.
The OpenCore part currently shown in Clover is
commit is 718db6190f93bacd4a4e19c96baed3cfd8070286.
In this commit, the
SignatureCommon.Signature is still there.

 

https://github.com/CloverHackyColor/OpenCorePkg/blob/718db6190f93bacd4a4e19c96baed3cfd8070286/Library/OcAcpiLib/OcAcpiLib.c

 

If "614bd7b4ec82d10f6719faad61cc3adfda767a3b" is new, I think it has been merged.

And I think that the OpenCore part that is currently out in Clover is commit would be new.

 

I think, the GirHub display is a red X sign, it is strange.

I feel that the mark will become a blue circle once the internal processing is finished.

It's odd, isn't it?

Thanks.

status_5146-20220501-19.14.13.txt

Edited by MifJpnAlphaPlus

Hi,

r5146 (master, commit b8c935a64) Xcode8 build OK on Asus IvyBridge Big Sur 11.6.5 (20G527) and Xcode Version 13.2.1 (13C100).

 

Hackintool log

...
0:145  0:045  === [ Starting Clover ] =========================
0:145  0:000  Now is 01.05.2022,  10:05:59 (GMT)
0:145  0:000  Starting Clover revision: 5146 (master, commit b8c935a64) on American Megatrends EFI
0:145  0:000  Build id: 20220430215154-b8c935a-dirty
0:145  0:000  Build with: [Args: -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG -t XCODE8 | --cmd-len=50000 -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG --conf=/Users/meunier/CloverBootloader/Conf -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 5 | OS: 11.6.5]
0:145  0:000  === [ Get Smbios ] ==============================
...
0:145  0:000  Boot status=0
0:145  0:000  Running on: 'X75VB' with board 'X75VB'
0:145  0:000  === [ GetCPUProperties ] ========================
0:145  0:000  CPU Vendor = 756E6547 Model=306A9
0:145  0:000   The CPU supported SSE4.1
0:145  0:000   The CPU supported RDRAND
0:145  0:000  BrandString = Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz
...

 

Greetings

  • Like 2

@Slice On latest commit only product still having issues (making release) is ccpv

In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/platformdata.cpp:9:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/Nvram.h:14:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/REFIT_MENU_SCREEN.h:39:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/../Platform/Settings.h:5:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/menu_items/menu_items.h:39:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/menu_items/../../Platform/KERNEL_AND_KEXT_PATCHES.h:14:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../Settings/ConfigPlist/ConfigPlistClass.h:63:
/Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../Settings/ConfigPlist/Config_SystemParameters.h:30:23: error: 
      no member named 'IsValidGuidString' in 'GUID'
      if ( !EFI_GUID::IsValidGuidString(xstring8) ) b = xmlLiteParser->addWarn...
            ~~~~~~~~~~^
/Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../Settings/ConfigPlist/Config_SystemParameters.h:79:7: error: 
      no member named 'takeValueFrom' in 'GUID'
    g.takeValueFrom(CustomUUID.value());
    ~ ^
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/platformdata.cpp:9:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/Nvram.h:14:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/REFIT_MENU_SCREEN.h:39:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/../Platform/Settings.h:5:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/menu_items/menu_items.h:39:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../gui/menu_items/../../Platform/KERNEL_AND_KEXT_PATCHES.h:14:
In file included from /Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../Settings/ConfigPlist/ConfigPlistClass.h:64:
/Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../Settings/ConfigPlist/Config_RtVariables.h:25:29: error: 
      no member named 'IsValidGuidString' in 'GUID'
            if ( !EFI_GUID::IsValidGuidString(xstring8) ) b = xmlLiteParser->a...
                  ~~~~~~~~~~^
/Users/labyone/src/CloverBootloader/rEFIt_UEFI/Platform/../Settings/ConfigPlist/Config_RtVariables.h:54:21: error: 
      no member named 'takeValueFromBE' in 'GUID'
            efiGuid.takeValueFromBE(GuidString.value());
            ~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

Clover itself builds fine either in xcode or gcc.

Edited by LAbyOne
  • Like 1

@Slice  I am in Monterey 12.3.1  with Xcode 13.2.1 and OpenCore is embed

its  fletching from the command 

 

it work but I need to modified the file OcAcpiLib.c like your commits because some how Github not fletching your last commit ??

1185914914_ScreenShot2022-05-01at7_12_05AM.png.3679142e5c6a6a039a66dedbec69b310.png

45 minutes ago, Slice said:

Check

git branch

It should reply "master"

 

I will test other thing later but now

I find the good solution for always have your commit at  https://github.com/CloverHackyColor/OpenCorePkg

 

Before build
rm -rf ~/src/CloverBootloader/OpenCorePkg
cd ~/src/CloverBootloader
git clone https://github.com/CloverHackyColor/OpenCorePkg.git

and now I build with Xcode 👍 😄 This is a complete build form scratch

669007127_ScreenShot2022-05-01at8_07_44AM.png.6db7490a73d363c640a53c4687f8638e.png

 

              656747458_ScreenShot2022-05-01at8_11_50AM.png.734b0a805b3f0da5e5b6176b32e62086.png

Edited by chris1111
  • Like 1
  • Thanks 1
Guest 5T33Z0
32 minutes ago, Hervé said:

Same way it's always been: you check the card's PCI id and then you look in the AMD frambuffer's Info.plist to collect the FB's personalities name it defines.

 

Okay, thanks. I clicked on the magnifying glass in Hackintool for the GPU which took me to AMD9500Controller.kext.

 

The info.plist contains more than a dozen Framebuffers:

645065304_Bildschirmfoto2022-05-01um14_35_08.png.21a798b8ebed9ead0cce995de46a51b3.png

 

How do I find out which is the right one?

Hello.

38 minutes ago, chris1111 said:

I will test other thing later but now

I find the good solution for always your commit at  https://github.com/CloverHackyColor/OpenCorePkg

 

Before build
rm -rf ~/src/CloverBootloader/OpenCorePkg
cd ~/src/CloverBootloader
git clone https://github.com/CloverHackyColor/OpenCorePkg.git

and now I build with Xcode 👍 😄 This is a complete build form scratch

669007127_ScreenShot2022-05-01at8_07_44AM.png.6db7490a73d363c640a53c4687f8638e.png

 

              656747458_ScreenShot2022-05-01at8_11_50AM.png.734b0a805b3f0da5e5b6176b32e62086.png

Hello.
It certainly seems to be a Git-Hub issue.

 

--recurse-submodules

And I could only pull the commits as shown on webpage.

 

As @chris1111says, when I git clone the OpenCore part, I got beafbb ...
Thank you.

Edited by MifJpnAlphaPlus
  • Like 2
19 minutes ago, 5T33Z0 said:

 

Okay, thanks. I clicked on the magnifying glass in Hackintool for the GPU which took me to AMD9500Controller.kext.

 

The info.plist contains more than a dozen Framebuffers:

645065304_Bildschirmfoto2022-05-01um14_35_08.png.21a798b8ebed9ead0cce995de46a51b3.png

 

How do I find out which is the right one?

Once in the past we had an utility to dump all connectors in all framebuffer to see if chosen framebuffer has connectors like your card.

But now I have no such dumps.

For my RX570 with DVI, HDMI, DP,DP I chosen Orinoco and it is fine for me: DVI monitor+HDMI TV.

Screenshot 2022-05-01 at 16.02.21.png

  • Like 1

Hi @Slice

Maybe I find the issue:  when I build Clover, at the same time I build CloverConfigPlistValidator before make the PKG.


Strangely, I can't build CloverConfigPlistValidator :

 

[XCODE]
- Building ccpv and archive
** BUILD FAILED **


The following build commands failed:
	CompileC /Users/mathieu/src/Cloverbootloader/Xcode/CloverConfigPlistValidator/build/CloverConfigPlistValidator.build/Release/CloverConfigPlistValidator.build/Objects-normal/x86_64/Config_GUI.o /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Settings/ConfigPlist/Config_GUI.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

I mistaken somewhere ? Before all work fine.

 

EDIT
Same issue with Buildme script: can't build CloverConfigPlistValidator.
 

CCPV OutPut

Edited by Matgen84
  • Like 1
×
×
  • Create New...