#61419 closed defect (fixed)
jemalloc @5.2.1_0: error: exception specification in declaration does not match previous declaration
Reported by: | rswail (Ron Wail) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | bigsur | Cc: | |
Port: | jemalloc |
Description
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 ^
Change History (3)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | bigsur added |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
Summary: | jemalloc @5.2.1_0 build failure on Big Sur 11.0.1 Beta 2 → jemalloc @5.2.1_0: error: exception specification in declaration does not match previous declaration |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:3 Changed 3 years ago by kimura wataru <kimuraw@…>
Note: See
TracTickets for help on using
tickets.
It sounds like a bug in jemalloc, not something specific to MacPorts.
It looks like it has already been reported to the developers and they committed a fix that we could add to the port.