RTEMS Source Builder | Can not Build gdb-15.2-arm64-apple-darwin (#98)
Heinz Junkes (@junkes)
gitlab at rtems.org
Tue Apr 22 14:47:25 UTC 2025
Heinz Junkes commented: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/98#note_122197
Same error with rtems7 and gdb16:
```
checking whether ln -s works... yes
checking for arm64-apple-darwin24.4.0-ranlib... ranlib
checking for arm64-apple-darwin24.4.0-ar... (cached) ar
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.gnulib.inc
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /Volumes/Epics/RTEMS_BBB/rsb/rtems/build/arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1/do-build
error: building arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1
```
In file included from ../../gdb-16.2/zlib/zutil.c:8:
../../gdb-16.2/zlib/zutil.h:170:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
170 | # define OS_CODE 19
| ^
../../gdb-16.2/zlib/zutil.h:141:11: note: previous definition is here
141 | # define OS_CODE 7
| ^
checking whether snprintf is declared... (cached) In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
yes
318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
| ^
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
| ^
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* Nchecking whether <netinet/in.h> is self-contained... o fdopen() */
| ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
(cached) yes
checking whether open recognizes a trailing slash... (cached) no
../../gdb-16.2/zlib/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
133 | const char * ZEXPORT zError(err)
| ^
../../gdb-16.2/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
| ^
../../gdb-16.2/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | void ZLIB_INTERNAL zcfree (opaque, ptr)
| ^
4 warnings and 3 errors generated.
make[2]: *** [libz_a-zutil.o] Error 1
checking for opendir... (cached) yes
make[1]: *** [all-zlib] Error 2
make[1]: *** Waiting for unfinished jobs....
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/98#note_122197
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250422/99bd00d2/attachment-0001.htm>
More information about the bugs
mailing list