Gcc12 build problems - Ventura
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
With Xcode 15.0.1 and MacOS 13.6.1 (Ventura) I get a build failure with gcc12. It seems to be missing some macro definitions? Such as “_sanitizer_XDR”?
I think this is the relevant part of the output log below. In addition, the required info:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Mon Dec 11 11:18:52 2023, 13.0, x86_64
Trees: local/injected local/main stable/main
Xcode.app: 15.0.1
Xcode command-line tools: 15.0.0.0.1.1694021235
Max. Fink build jobs: 12
-Scott
libtool: compile: /opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/./gcc/xgcc -shared-libgcc -B/opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/./gcc -nostdinc++ -L/opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/x
86_64-apple-darwin22.6.0/libstdc++-v3/src -L/opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/x86_64-apple-darwin22.6.0/libstdc++-v3/src/.libs -L/opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/x86_64-apple-darwin22.6.0
/libstdc++-v3/libsupc++/.libs -B/opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/bin/ -B/opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/lib/ -isystem /opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/include -isystem /opt/sw/lib/gcc12/x86_
64-apple-darwin22.6.0/sys-include -fchecking=1 -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I../../../../gcc-12.2.0/libsanitize
r/sanitizer_common -I.. -I ../../../../gcc-12.2.0/libsanitizer/include -I ../../../../gcc-12.2.0/libsanitizer -isystem ../../../../gcc-12.2.0/libsanitizer/include/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedant
ic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-apple-darwin22.6.0
-I../../../../gcc-12.2.0/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++14 -Wl,-undefined,dynamic_lookup -g -O2 -MT sanitizer_posix.lo -MD -MP -MF .deps/sanitizer_posix.Tpo -c ../../../../gcc-12.2.0/libsanitizer/sanitizer
_common/sanitizer_posix.cpp -fno-common -DPIC -o .libs/sanitizer_posix.o
In file included from ../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:175:
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1439:25: error: '__sanitizer_XDR' was not declared in this scope; did you mean '__sanitizer'?
1439 | COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
| ^~~~~~~~~~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:348:44: note: in definition of macro 'COMPILER_CHECK'
348 | #define COMPILER_CHECK(pred) static_assert(pred, "")
| ^~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:1241:1: note: in expansion of macro 'CHECK_TYPE_SIZE'
1241 | CHECK_TYPE_SIZE(XDR);
| ^~~~~~~~~~~~~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:1241:17: error: 'XDR' was not declared in this scope
1241 | CHECK_TYPE_SIZE(XDR);
| ^~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:348:44: note: in definition of macro 'COMPILER_CHECK'
348 | #define COMPILER_CHECK(pred) static_assert(pred, "")
| ^~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:1241:1: note: in expansion of macro 'CHECK_TYPE_SIZE'
1241 | CHECK_TYPE_SIZE(XDR);
| ^~~~~~~~~~~~~~~
libtool: compile: /opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/./gcc/xgcc -B/opt/sw/src/fink.build/gcc12-12.2.0-3/darwin_objdir/./gcc/ -B/opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/bin/ -B/opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/lib/ -isystem /opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/include -isystem /opt/sw/lib/gcc12/x86_64-apple-darwin22.6.0/sys-include -fchecking=1 -DHAVE_CONFIG_H -I. -I../../../gcc-12.2.0/libquadmath -I ../../../gcc-12.2.0/libquadmath/../include -g -O2 -MT math/tgammaq_product.lo -MD -MP -MF math/.deps/tgammaq_product.Tpo -c ../../../gcc-12.2.0/libquadmath/math/tgammaq_product.c -fno-common -DPIC -o math/.libs/tgammaq_product.o
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1442:27: error: '__sanitizer_XDR' was not declared in this scope; did you mean '__sanitizer'?
1442 | COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER) == \
| ^~~~~~~~~~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:348:44: note: in definition of macro 'COMPILER_CHECK'
348 | #define COMPILER_CHECK(pred) static_assert(pred, "")
| ^~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:1242:1: note: in expansion of macro 'CHECK_SIZE_AND_OFFSET'
1242 | CHECK_SIZE_AND_OFFSET(XDR, x_op);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h:1442:48: error: expected primary-expression before ')' token
1442 | COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER) == \
| ^
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:348:44: note: in definition of macro 'COMPILER_CHECK'
348 | #define COMPILER_CHECK(pred) static_assert(pred, "")
| ^~~~
../../../../gcc-12.2.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:1242:1: note: in expansion of macro 'CHECK_SIZE_AND_OFFSET'
1242 | CHECK_SIZE_AND_OFFSET(XDR, x_op);
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users