Jump to content

Clover General discussion


ErmaC
29,869 posts in this topic

Recommended Posts

3 hours ago, Slice said:

EDITED 2: anyway try again. May be you should clean all from previous compilation and update xcode-tools.

Wrong xcode-tools causes wrong gcc creating. 

I entered the command:
sudo rm -rf /Library/Developer/CommandLineTools
Then:
xcode-select --install

And then reboot

Next entered command:

xcode-select -version

xcode-select version 2403.

xcodebuild -version

Xcode 15.0

Build version 15A240d
Then reboot.

After that:

gcc --version

Apple clang version 15.0.0 (clang-1500.0.40.1)

Target: x86_64-apple-darwin23.1.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Edited by MakAsus
Link to comment
Share on other sites

6 hours ago, Matgen84 said:

@MakAsus

 

XCode 15 (15A240d) is RC and release version publish in September 2023. Try to download XCode 15.1 final release instead. Here

Maybe you meant Xcode 15.0.1? There is 15.1 only beta 3 not a release. I'm downloading 15.0.1 now.

Spoiler

 image.thumb.jpeg.6f31f50bf9e0cf746fb4fe84cc60293e.jpeg

Edited by MakAsus
  • Like 1
Link to comment
Share on other sites

Just for help, Recommend install Line Tools for Xcode from Apple Developer Downloads first  and try this again: 

 

sudo mkdir -p /Library/Developer/CommandLineTools 

 

And in the sequence this:

 

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

 

Maybe fix with Command Line Tools for Xcode 

 

https://developer.apple.com/download/all/?q=Line tools 

 

 

Captura de Tela 2023-12-03 às 19.42.36.png

Link to comment
Share on other sites

5 hours ago, Max.1974 said:

Just for help, Recommend install Line Tools for Xcode from Apple Developer Downloads first  and try this again: 

 

sudo mkdir -p /Library/Developer/CommandLineTools 

 

And in the sequence this:

 

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

 

Maybe fix with Command Line Tools for Xcode 

 

https://developer.apple.com/download/all/?q=Line tools 

 

 

Captura de Tela 2023-12-03 às 19.42.36.png

I downloaded Command-line tools for Xcode 15 and installed it. Then reboot may computer, delete the entire folder with CloverBootloader and Pasted the commands:
 

mkdir -p $HOME/src && cd $HOME/src
git clone -q https://github.com/CloverHackyColor/CloverBootloader
cd CloverBootloader && git submodule update --init --recursive
cd OpenCorePkg && git checkout master && git pull
cd ..
./buildme

Here is the compilation log:
Cloverbuild-5156.log

Edited by MakAsus
  • Like 1
Link to comment
Share on other sites

hmm when I do buildeme XCODE15 and i get this? but it works ok with XCODE14 and Xcode.14.3.1?

 

SLINK] DxeServicesTableLib

[CC] FileImage

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:292:34: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.align_left = 1;

                                 ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:295:26: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.lz = 1;

                         ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:298:27: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.alt = 1;

                          ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:315:20: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

              p.lz = 1;  /* zero-padding */

                   ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:385:23: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                p.alt = 1;

                      ^ ~

5 errors generated.

make: *** [/opt/Source/Clover/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib/OUTPUT/UbsanPrintf.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make tbuild [/opt/Source/Clover/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib]

 

 

Link to comment
Share on other sites

I think xcode15 toolset is not ready to use. I am using gcc131.

When Xcode15 will be not beta I will look how to improve codes to work with it.

 

Meantime the warning

implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1

means an error in sources.

  • Like 3
Link to comment
Share on other sites

5 hours ago, Slice said:

I think xcode15 toolset is not ready to use. I am using gcc131.

When Xcode15 will be not beta I will look how to improve codes to work with it.

 

Meantime the warning

implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1

means an error in sources.

Xcode15.0 and 15.0.1 are not beta versions. Beta version - Xcode15.1, bat CommandLineTools only have version 15.0 for Sonoma. XCODE14 and Xcode.14.3.1 do not run in Sonoma.

Edited by MakAsus
Link to comment
Share on other sites

4 hours ago, MakAsus said:

Xcode15.0 and 15.0.1 are not beta versions. Beta version - Xcode15.1, bat CommandLineTools only have version 15.0 for Sonoma. XCODE14 and Xcode.14.3.1 do not run in Sonoma.

Try this script inside CloverBootloader folder and don't clean previous result.

 jebuild.sh

  • Like 1
Link to comment
Share on other sites

Hi

 

Clover r5157 (153691a) locale build (X64 Release with Xcode 15.0.1 and Sonoma 14.1.2 on Ivy Bridge Laptop)
...
Running edk2 build for CloverX64 using the command:
build --cmd-len=50000 -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG --conf=/Users/meunier/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t XCODE15 -n 5 

Build environment: macOS-14.1.2-x86_64-i386-64bit
...

Done!

* Clover build process took  8m25s  to complete...

          Clover r5157 (SHA: 153691a) Build OK !


Boot log
...
0:158  0:000  Now is 04.12.2023,  16:43:36 (GMT)
0:158  0:000  Starting Clover revision: 5157 (master, commit 153691ace) on American Megatrends EFI
0:158  0:000  Build id: 20231202121430-153691a-dirty
0:158  0:000  Build with: [Args: -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG -t XCODE15 | --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 XCODE15 -n 5 | OS: 13.6.3]
...
0:158  0:000  Running on: 'X75VB' with board 'X75VB'
...
0:158  0:000  BrandString = Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz
...
0:165  0:000  get model from config.plist
0:165  0:000  Using latest BiosVersion from config instead of default 'MBP102.88Z.F000.B00.2106041717'
...
9:399  0:021  GetOSVersion: 14.1.2
...
9:411  0:000  SMBIOS reloaded with model MacBookPro10,2
...
 

Same build with Ventura 13.6.3 Xcode 15.0.1 on same Laptop

 

 

CloverX64_r5157_20231202-12h14_153691a_XCODE15_RELEASE_master_local.efi

  • Like 1
Link to comment
Share on other sites

13 hours ago, tluck said:

hmm when I do buildeme XCODE15 and i get this? but it works ok with XCODE14 and Xcode.14.3.1?

 

SLINK] DxeServicesTableLib

[CC] FileImage

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:292:34: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.align_left = 1;

                                 ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:295:26: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.lz = 1;

                         ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:298:27: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.alt = 1;

                          ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:315:20: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

              p.lz = 1;  /* zero-padding */

                   ^ ~

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:385:23: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                p.alt = 1;

                      ^ ~

5 errors generated.

make: *** [/opt/Source/Clover/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib/OUTPUT/UbsanPrintf.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make tbuild [/opt/Source/Clover/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcGuardLib/OcGuardLib]

 

 

Hi

In the conf file below add or modify next lines (2749, 2826 and 2903) for Xcode 8, 14 and 15

.../CloverBootloader/BaseTools/Conf/tools_def.template

Line 2747
# -Wno-unused-const-variable
Line 2749
                 DEFINE XCODE8_COMMON_FLAGS      =  -nostdinc -c -Wall -Wextra -include AutoGen.h -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mms-bitfields -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -mno-red-zone -fno-common -fdata-sections -ffreestanding -ffunction-sections -fno-asynchronous-unwind-tables -m64 -mabi=ms -mcmodel=small -DNO_MSABI_VA_FUNCS -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-command-line-argument -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -Wno-bitfield-constant-conversion  


...
Line 2824
# -Wno-unused-const-variable
Line 2826
                 DEFINE XCODE14_COMMON_FLAGS      =  -nostdinc -c -Wall -Wextra -include AutoGen.h -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mms-bitfields -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -mno-red-zone -fno-common -fdata-sections -ffreestanding -ffunction-sections -fno-asynchronous-unwind-tables -m64 -mabi=ms -mcmodel=small -DNO_MSABI_VA_FUNCS -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-command-line-argument -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -Wno-bitfield-constant-conversion

...
Line 2901
# -Wno-unused-const-variable
Line 2903
                  DEFINE XCODE15_COMMON_FLAGS      =  -nostdinc -c -Wall -Wextra -include AutoGen.h -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mms-bitfields -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings -mno-red-zone -fno-common -fdata-sections -ffreestanding -ffunction-sections -fno-asynchronous-unwind-tables -m64 -mabi=ms -mcmodel=small -DNO_MSABI_VA_FUNCS -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -Wno-unused-command-line-argument -Wno-single-bit-bitfield-constant-conversion

 

Regards

Edited by matxpa
  • Like 1
Link to comment
Share on other sites

14 hours ago, tluck said:

hmm when I do buildeme XCODE15 and i get this? but it works ok with XCODE14 and Xcode.14.3.1?

 

SLINK] DxeServicesTableLib

[CC] FileImage

/opt/Source/Clover/OpenCorePkg/Library/OcGuardLib/UbsanPrintf.c:292:34: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]

                    p.align_left = 1;

                                 ^ ~

 

 

 

Reproduced and resolved. The bitfields must be unsigned.

[GENFW] CLOVERX64

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

FV Space Information
DUETEFIMAINFVX64 [34%Full] 2752512 (0x2a0000) total, 936240 (0xe4930) used, 1816272 (0x1bb6d0) free

- Done -
Build end time: 23:12:59, Dec.04 2023
Build total time: 00:02:25

  -> CloverX64-RELEASE_XCODE15-20231204230959-e614deb.efi
  adding: Users/slice/src/CloverBootloader/Build/CloverX64-RELEASE_XCODE15-20231204230959-e614deb.efi (deflated 54%)

 

  • Like 1
Link to comment
Share on other sites

7 hours ago, Slice said:

Try this script inside CloverBootloader folder and don't clean previous result.

  jebuild.sh 32.3 kB · 2 downloads

Log ./jebuild.sh:

Spoiler
WORKSPACE        = /Users/yitzhakbronstein/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/yitzhakbronstein/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/yitzhakbronstein/src/CloverBootloader/Conf
PYTHON_COMMAND   = python3

make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: [/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/FV/Ffs/A17F4A89-5F19-444f-B7BE-48195E0575DBSmbiosGenDxe/SmbiosGenDxeOffset.raw] Error 1 (ignored)
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: [/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/FV/Ffs/E660EA85-058E-4b55-A54B-F02F83A24707DisplayEngine/DisplayEngineOffset.raw] Error 1 (ignored)
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
[CXX] nanosvg
make: Nothing to be done for `tbuild'.
make: Nothing to be done for `tbuild'.
make: [/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/FV/Ffs/FC5C7020-1A48-4198-9BE2-EAD5ABC8CF2FBdsDxe/BdsDxeOffset.raw] Error 1 (ignored)
make: Nothing to be done for `tbuild'.
/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/libeg/nanosvg.cpp:2648:5: internal compiler error: Segmentation fault: 11
 2648 |     da -= 2.0f * NSVG_PI;
      |     ^~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
make: *** [/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/X64/rEFIt_UEFI/refit/OUTPUT/libeg/nanosvg.obj] Error 1
@/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/X64/rEFIt_UEFI/refit/OUTPUT/cc_resp.txt
 -fshort-wchar -fno-builtin -Wall -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -nostdinc -DSTRING_ARRAY_NAME=CLOVERX64Strings -DNO_MSABI_VA_FUNCS -fno-strict-aliasing -m64 -fno-stack-protector -mabi=ms "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -mcmodel=small -fpie -fno-asynchronous-unwind-tables -fno-unwind-tables -Wno-incompatible-ms-struct -Wno-misleading-indentation -mms-bitfields -fno-ms-extensions -ffreestanding -fno-exceptions -g3 -Os -Werror -fno-omit-frame-pointer -DJCONST=CONST -std=c11 -DIS_UEFI_MODULE -DMDEPKG_NDEBUG -DCLOVER_BUILD -DLESS_DEBUG -DAMD_SUPPORT -DANDX86 -DDISABLE_NEW_DEPRECATED_INTERFACES -DOC_TARGET_DEBUG -flto=auto -DUSING_LTO -I/Users/yitzhakbronstein/src/CloverBootloader/Protocols/AppleKeyAggregator -I/Users/yitzhakbronstein/src/CloverBootloader/Protocols/SMCHelper -I/Users/yitzhakbronstein/src/CloverBootloader/Protocols/FirmwareVolume -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/Settings/ConfigPlist -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/Settings -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/refit -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/PlatformEFI/posix -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/PlatformEFI/include -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/PlatformEFI/cpp_util -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/PlatformEFI -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/Platform/plist -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/Platform -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/libeg -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/include -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/gui -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/gui/menu_items -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/entry_scan -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/cpp_lib -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/cpp_foundation -I/Users/yitzhakbronstein/src/CloverBootloader/Include/Library -I/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI -I/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/X64/rEFIt_UEFI/refit/DEBUG -I/Users/yitzhakbronstein/src/CloverBootloader -I/Users/yitzhakbronstein/src/CloverBootloader/Include -I/Users/yitzhakbronstein/src/CloverBootloader/MdePkg -I/Users/yitzhakbronstein/src/CloverBootloader/MdePkg/Include -I/Users/yitzhakbronstein/src/CloverBootloader/MdePkg/Include/X64 -I/Users/yitzhakbronstein/src/CloverBootloader/IntelFrameworkPkg -I/Users/yitzhakbronstein/src/CloverBootloader/IntelFrameworkPkg/Include -I/Users/yitzhakbronstein/src/CloverBootloader/IntelFrameworkModulePkg -I/Users/yitzhakbronstein/src/CloverBootloader/IntelFrameworkModulePkg/Include -I/Users/yitzhakbronstein/src/CloverBootloader/UefiCpuPkg -I/Users/yitzhakbronstein/src/CloverBootloader/UefiCpuPkg/Include -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/AMI -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Acidanthera -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Apple -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Generic -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Intel -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Microsoft -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Nvidia -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/VMware -I/Users/yitzhakbronstein/src/CloverBootloader/OpenCorePkg/Include/Apple/X64



build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/yitzhakbronstein/src/CloverBootloader/Build/Clover/RELEASE_GCC131/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/yitzhakbronstein/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC131, RELEASE]

- Failed -
Build end time: 01:46:51, Dec.05 2023
Build total time: 00:00:03


Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Процесс завершен]


 

 

Edited by MakAsus
Link to comment
Share on other sites

20 hours ago, tluck said:

implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1

The bit-field needs to use an unsigned type if you don't want the most significant bit of the bit-field to be interpreted as a negative value.

 

Link to comment
Share on other sites

4 hours ago, MakAsus said:

Log ./jebuild.sh:

  Reveal hidden contents

 

Strange but I can't reproduce your issue. Anybody else?

Something wrong with your system or with your CPU. I can recommend you to use XCODE15 toolset if someone upload here recent mtoc-jief.

Link to comment
Share on other sites

1 hour ago, Slice said:

Strange but I can't reproduce your issue. Anybody else?

Something wrong with your system or with your CPU. I can recommend you to use XCODE15 toolset if someone upload here recent mtoc-jief.

What could be wrong with the CPU?

Can I take this mtoc-jief from a MacBook? There is Big Sur 11.7.10 with Xcode Version 13.2.1 and Clover 5156 was compiled there.

Edited by MakAsus
Link to comment
Share on other sites

1 hour ago, cankiulascmnfye said:

Still no boot in Sonoma with latest commit requiring BlockSkywalk

I just checked and it's the same for me. BlockSkywalk must be executed before injecting IO80211FamilyLegacy.kext with plugins and IOSkywalkFamily.kext from the Clover folder.

Edited by MakAsus
  • Like 1
Link to comment
Share on other sites

3 hours ago, cankiulascmnfye said:

@miliuco The github issue you are referencing is from September (before the quirk existed). It was working until mid november. So some changes have been made afterwards, which broke the quirk.

 

I'm pretty sure that the issue was reported after @Slice added the quirk, when I tried it with no success. For me, the quirk never worked. I always get a KP when enabling BlockSkywalk. 

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...