gcc compiltion error with Xcode and CLT version 15
"Franchetti, Giuliano Dr." <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
We have a problem.
gcc does not compile if I upgrade of Xcode and CLT to version 15.
Giuliano
../../../../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:1250:16: error: '__sanitizer_XDR_FREE' was not declared in this scope
1250 | COMPILER_CHECK(__sanitizer_XDR_FREE == XDR_FREE);
| ^~~~~~~~~~~~~~~~~~~~
../../../../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:1250:40: error: 'XDR_FREE' was not declared in this scope; did you mean 'MADV_FREE'?
1250 | COMPILER_CHECK(__sanitizer_XDR_FREE == XDR_FREE);
| ^~~~~~~~
../../../../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, "")
| ^~~~
make[4]: *** [sanitizer_platform_limits_posix.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libsanitizer] Error 2
make: *** [Makefile:24993: bootstrap] Error 2
### execution of /tmp/fink.2zxrb failed, exit code 2
### execution of /tmp/fink.GX480 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw2/bin/dpkg-lockwait -r fink-buildlock-gcc12-12.2.0-3
(Reading database ... 258248 files and directories currently installed.)
Removing fink-buildlock-gcc12-12.2.0-3 (2023.09.22-21.02.43) ...
Failed: phase compiling: gcc12-12.2.0-3 failed
Before reporting any errors, please run "fink selfupdate" and try again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Fri Sep 22 11:30:04 2023, 13.0, x86_64
Trees: local/main stable/main
Xcode.app: 15.0
Xcode command-line tools: 15.0.0.0.1.1694021235
Max. Fink build jobs: 1
giuliano@FGs-MacBook-Pro:/Users/giuliano/Desktop>
_______________________________________________
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