Opened 5 years ago
Last modified 5 years ago
#58260 closed defect
libgcc8 build fails due to "Atomic" error on Mojave — at Version 1
Reported by: | physicsbeany | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | mojave | Cc: | |
Port: | gcc9 gcc8 gcc7 gcc6 libgcc-devel libgcc8 libgcc7 libgcc6 |
Description (last modified by physicsbeany)
Recently upgraded to MacOS Mojave from High Sierra, and followed general Macports instructions for migrating my old ports. Things went fine until libgcc8 (needed to do my py27-scipy installation). Initially, this failed because of Unwind issues. I solved this by following the advice in ticket #57198.
Now, however, the compilation fails because of an "Atomic" error. Specifically, the first instance of the Error in the log file is:
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/ucred.h:94:2: error: '_Atomic' does not name a type :info:build _Atomic u_long cr_ref; /* reference count */
The full logfile is 64 MB; I've uploaded the last 50K lines of it.
Some Googling indicates that this may be avoided by defining STDC_NO_ATOMICS, but I'm not certain this is the right answer (and I don't know how to do this as part of a Macports installation).
Change History (2)
Changed 5 years ago by physicsbeany
Attachment: | libgcc8_INSTALLFAILURE_TRUNCATED.log added |
---|
comment:1 Changed 5 years ago by physicsbeany
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
last 50K lines of log file (whole thing is 64 MB)