-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore old xcode8 and create new xcode14 toolset
Signed-off-by: SergeySlice <[email protected]>
- Loading branch information
1 parent
71da65f
commit 0ea0020
Showing
1 changed file
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0ea0020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SergeySlice Hi
with Xcode14 or Xcode8 (Release) Clover build abort
macOS Ventura 13.6
~ % clang --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Xcode Version 14.3.1 (14E300c)
With Sonoma Dev beta 7 Xcode 15.0.0 beta 8 (builme XCODE14 abort too)
commit 0ea0020 : -Wno-unused-but-set-variable and -Wdeprecated-non-prototype were removed from XCODE8_COMMON_FLAGS content in [BaseTools/Conf/tools_def.template]
Clover build (buildme XCODE8) with : ... -a X64 -b RELEASE -t XCODE8 ...
...
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 XCODE8 -n 5
Build environment: macOS-13.6-x86_64-i386-64bit
...
Architecture(s) = X64
Build target = RELEASE
Toolchain = XCODE8
...
[CC] OcAppleImg4Lib
/Users/meunier/CloverBootloader/OpenCorePkg/Library/OcDebugLogLibOc2Clover/DebugPrint.c:28:3: error: variable '__DebugCodeLocal' set but not used [-Werror,-Wunused-but-set-variable]
DEBUG_CODE_BEGIN();
^
/Users/meunier/CloverBootloader/MdePkg/Include/Library/DebugLib.h:542:68: note: expanded from macro 'DEBUG_CODE_BEGIN'
#define DEBUG_CODE_BEGIN() do { if (DebugCodeEnabled ()) { UINT8 __DebugCodeLocal
^
/Users/meunier/CloverBootloader/OpenCorePkg/Library/OcDebugLogLibOc2Clover/DebugPrint.c:48:3: error: variable '__DebugCodeLocal' set but not used [-Werror,-Wunused-but-set-variable]
DEBUG_CODE_BEGIN ();
^
/Users/meunier/CloverBootloader/MdePkg/Include/Library/DebugLib.h:542:68: note: expanded from macro 'DEBUG_CODE_BEGIN'
#define DEBUG_CODE_BEGIN() do { if (DebugCodeEnabled ()) { UINT8 __DebugCodeLocal
^
/Users/meunier/CloverBootloader/OpenCorePkg/Library/OcDebugLogLibOc2Clover/DebugPrint.c:71:3: error: variable '__DebugCodeLocal' set but not used [-Werror,-Wunused-but-set-variable]
DEBUG_CODE_BEGIN();
^
/Users/meunier/CloverBootloader/MdePkg/Include/Library/DebugLib.h:542:68: note: expanded from macro 'DEBUG_CODE_BEGIN'
#define DEBUG_CODE_BEGIN() do { if (DebugCodeEnabled ()) { UINT8 __DebugCodeLocal
^
3 errors generated.
make: *** [/Users/meunier/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/OpenCorePkg/Library/OcDebugLogLibOc2Clover/OcDebugLogLibOc2Clover/OUTPUT/DebugPrint.obj] Error 1
...
Failed -
Build end time: 22:26:50, Sep.08 2023
Build total time: 00:01:01
2d pass with only -Wno-unused-but-set-variable restored
...
[CC] OcAppleKeysLib
/Users/meunier/CloverBootloader/OpenCorePkg/Library/OcCompressionLib/zlib/crc32.c:730:23: error: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
unsigned long ZEXPORT crc32_z(crc, buf, len)
^
1 error generated.
make: *** [/Users/meunier/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/OpenCorePkg/Library/OcCompressionLib/OcCompressionLib/OUTPUT/zlib/crc32.obj] Error 1
build.py...
: error 7000: Failed to execute command
make tbuild [/Users/meunier/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/OpenCorePkg/Library/OcCompressionLib/OcCompressionLib]
build.py...
: error F002: Failed to build module
/Users/meunier/CloverBootloader/OpenCorePkg/Library/OcCompressionLib/OcCompressionLib.inf [X64, XCODE8, RELEASE]
Failed -
Build end time: 23:16:15, Sep.08 2023
Build total time: 00:01:00
3d pass with Wdeprecated-non-prototype restored
...
Done -
Build end time: 23:31:43, Sep.08 2023
Build total time: 00:06:50
-> CloverX64-RELEASE_XCODE8-20230906192706-0ea0020-5155-dirty.efi
adding: Users/meunier/CloverBootloader/Build/CloverX64-RELEASE_XCODE8-20230906192706-0ea0020-5155-dirty.efi (deflated 54%)
Clover build process took 6m54s to complete...
Regards