Opened 5 hours ago

Last modified 4 hours ago

#70967 new defect

clang-14 @14.0.6_3+analyzer fails to build on Sonoma 14.6.1

Reported by: msrski59 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sonoma Cc:
Port: clang-14

Description

On MacOS Sonoma 14.6.1 with Xcode 16.0 [16A242d]

clang-14 @14.0.6_3+analyzer fails to build with configure errors:

-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Failed
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /opt/local/lib/libffi.dylib
-- Looking for proc_pid_rusage
-- Looking for proc_pid_rusage - found
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Failed
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Failed
-- Looking for __atomic_fetch_add_4 in atomic
-- Looking for __atomic_fetch_add_4 in atomic - not found
CMake Error at cmake/modules/CheckAtomic.cmake:59 (message):
  Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
  cmake/config-ix.cmake:377 (include)
  CMakeLists.txt:732 (include)

-- Configuring incomplete, errors occurred!

log attached

Attachments (1)

main.log (71.3 KB) - added by msrski59 5 hours ago.

Download all attachments as: .zip

Change History (2)

Changed 5 hours ago by msrski59

Attachment: main.log added

comment:1 Changed 4 hours ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added
Port: @14.0.6_3+analyzer removed
Note: See TracTickets for help on using tickets.