Opened 7 years ago

Last modified 7 years ago

#54471 closed defect

clang-3.9 @3.9.1: Undefined symbols: _OSAtomicDecrement32 _OSAtomicDecrement32Barrier _OSAtomicDecrement64 _OSAtomicDecrement64Barrier _OSAtomicIncrement32 _OSAtomicIncrement32Barrier _OSAtomicIncrement64 _OSAtomicIncrement64Barrier — at Version 1

Reported by: kwodzicki Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: clang-3.9

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I have been trying to install some packages that depend on clang-3.9 but it will not build. I have tried uninstalling all my clang versions, cleaning them, and re-installing and clang-3.9 fails every time. clang-3.7 & clang-3.8 build fine. Below is the output from the port command and I have attached the log file. It appears it is an issue with the libc++ and libstdc++ libraries, but I am not sure how to fix the problem as other forms have not be helpful to me.

--->  Fetching distfiles for clang-3.9
--->  Verifying checksums for clang-3.9
--->  Extracting clang-3.9
--->  Applying patches to clang-3.9
Warning: reinplace s|/usr/bin/env python|/Volumes/localdata/opt/local/bin/python2.7|g didn't change anything in /Volumes/localdata/opt/local/var/macports/build/_Volumes_localdata_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.9/clang-3.9/work/llvm-3.9.1.src/tools/clang/tools/scan-build/bin/set-xcode-analyzer
--->  Configuring clang-3.9
--->  Building clang-3.9
Error: Failed to build clang-3.9: command execution failed
Error: See /Volumes/localdata/opt/local/var/macports/logs/_Volumes_localdata_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.9/clang-3.9/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port clang-3.9 failed

Change History (2)

Changed 7 years ago by kwodzicki

Attachment: main.log added

clang-3.9_log_file

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to jeremyhu
Status: newassigned
Summary: clang-3.9 will not buildclang-3.9 @3.9.1: Undefined symbols: _OSAtomicDecrement32 _OSAtomicDecrement32Barrier _OSAtomicDecrement64 _OSAtomicDecrement64Barrier _OSAtomicIncrement32 _OSAtomicIncrement32Barrier _OSAtomicIncrement64 _OSAtomicIncrement64Barrier
Note: See TracTickets for help on using tickets.