Opened 12 days ago

Closed 11 days ago

#70967 closed defect (duplicate)

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 12 days ago.

Download all attachments as: .zip

Change History (4)

Changed 12 days ago by msrski59

Attachment: main.log added

comment:1 Changed 12 days ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added
Port: @14.0.6_3+analyzer removed

comment:2 Changed 12 days ago by msrski59

The fix in this Problem Hotlist entry resolves the configuration errors.

The port now builds without issue.

Last edited 11 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 11 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #70750.

Note: See TracTickets for help on using tickets.