[MacPorts] #61419: jemalloc @5.2.1_0 build failure on Big Sur 11.0.1 Beta 2

MacPorts noreply at macports.org
Mon Nov 9 15:16:56 UTC 2020


#61419: jemalloc @5.2.1_0 build failure on Big Sur 11.0.1 Beta 2
--------------------+----------------------
 Reporter:  rswail  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.3
 Keywords:          |       Port:  jemalloc
--------------------+----------------------
 Building jemalloc on Big Sur 11.0.1 Beta 2 with Xcode 12.2 Release
 Candidate.

 Build fails with error about JEMALLOC_NOTHROW for declarations of
 je_malloc, je_calloc, je_posix_memalign, je_aligned_alloc, je_realloc,
 je_free, je_valloc:

 {{{
   :info:build In file included from
 include/jemalloc/internal/jemalloc_preamble.h:21:
   :info:build include/jemalloc/internal/../jemalloc.h:226:28: error:
 exception specification in declaration does not match previous declaration
   :info:build     void JEMALLOC_NOTHROW       *je_malloc(size_t size)
   :info:build                                  ^
   :info:build include/jemalloc/internal/../jemalloc.h:69:21: note:
 expanded from macro 'je_malloc'
   :info:build #  define je_malloc malloc
   :info:build                     ^
   :info:build /Applications/Xcode-
 beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/malloc/_malloc.h:40:7:
 note: previous declaration is here
   :info:build void    *malloc(size_t __size) __result_use_check
 __alloc_size(1);
   :info:build          ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61419>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list