[MacPorts] #67220: mimalloc broken on 10.6: error: stdatomic.h: No such file or directory, etc.
MacPorts
noreply at macports.org
Tue Apr 11 06:08:18 UTC 2023
#67220: mimalloc broken on 10.6: error: stdatomic.h: No such file or directory,
etc.
-------------------------------------------------+-------------------------
Reporter: barracuda156 | Owner: mohd-akram
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: snowleopard, leopard, powerpc, | Port: mimalloc
rosetta |
-------------------------------------------------+-------------------------
{{{
:info:build [ 14%] Building C object CMakeFiles/mimalloc-static.dir/src
/alloc-aligned.c.o
:info:build /usr/bin/gcc-4.2 -DMI_MALLOC_OVERRIDE -DMI_OSX_INTERPOSE=1
-DMI_OSX_ZONE=1 -DMI_SHARED_LIB -DMI_SHARED_LIB_EXPORT -Dmimalloc_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include
-pipe -Os -DNDEBUG -I/opt/local/include -std=gnu99 -arch ppc -mmacosx-
version-min=10.6 -fPIC -Wall -Wextra -Wno-unknown-pragmas
-fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-
builtin-malloc -MD -MT CMakeFiles/mimalloc.dir/src/alloc.c.o -MF
CMakeFiles/mimalloc.dir/src/alloc.c.o.d -o
CMakeFiles/mimalloc.dir/src/alloc.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/src/alloc.c
:info:build /usr/bin/gcc-4.2 -DMI_MALLOC_OVERRIDE -DMI_OSX_INTERPOSE=1
-DMI_OSX_ZONE=1 -DMI_STATIC_LIB
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include
-pipe -Os -DNDEBUG -I/opt/local/include -std=gnu99 -arch ppc -mmacosx-
version-min=10.6 -fPIC -Wall -Wextra -Wno-unknown-pragmas
-fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-
builtin-malloc -MD -MT CMakeFiles/mimalloc-static.dir/src/alloc-
aligned.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o.d -o
CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/src
/alloc-aligned.c
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/types.h:24,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/internal.h:17,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/src/alloc.c:12:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:39:23:
error: stdatomic.h: No such file or directory
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/types.h:24,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/internal.h:17In
file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/types.h:24,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/internal.h:17,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/src/alloc.c:12:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:76:
error: expected ‘)’ before ‘(’ token
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:77:
error: expected ‘)’ before ‘(’ token
:info:build ,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/src
/alloc-posix.c:13:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:39:23:
error: stdatomic.h: No such file or directory
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/types.h:24,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/internal.h:17,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/src
/alloc-posix.c:13:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:76:
error: expected ‘)’ before ‘(’ token
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:77:
error: expected ‘)’ before ‘(’ token
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:
In function ‘mi_atomic_addi64_relaxed’:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
warning: implicit declaration of function ‘atomic_fetch_add_explicit’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
warning: implicit declaration of function ‘_Atomic’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
error: expected expression before ‘int64_t’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:
In function ‘mi_atomic_addi64_relaxed’:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
warning: implicit declaration of function ‘atomic_fetch_add_explicit’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
error: expected expression before ‘)’ token
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:107:
warning: unused parameter ‘p’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:107:
warning: unused parameter ‘add’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:
In function ‘mi_atomic_maxi64_relaxed’:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:111:
warning: implicit declaration of function ‘atomic_load_explicit’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:111:
error: expected expression before ‘int64_t’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:111:
error: expected expression before ‘)’ token
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:112:
warning: implicit declaration of function
‘atomic_compare_exchange_weak_explicit’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:112:
error: expected expression before ‘int64_t’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:112:
error: expected expression before ‘)’ token
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:110:
warning: unused parameter ‘p’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
warning: implicit declaration of function ‘_Atomic’
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mimalloc/mimalloc/work/mimalloc-2.1.1/include/mimalloc/atomic.h:108:
error: expected expression before ‘int64_t’
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67220>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list