Re: gcc compiltion error with Xcode and CLT version 15

Daniel Macks <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 9/22/23, 6:51 PM, "Franchetti, Giuliano Dr." <[email protected]> wrote:

    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);
          |                ^~~~~~~~~~~~~~~~~~~~

...

    make[4]: *** [sanitizer_platform_limits_posix.lo] Error 1
...
    Failed: phase compiling: gcc12-12.2.0-3 failed
...
    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

Upstream gcc12 is at 12.3.0 now. My sandbox machines are not up to OS X 13.0/arm at the moment, so I can't test if this problem is fixed by upgrading our package and I don't want to push an update that has arm-specific patches.

dan





_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.