Skip to content

aligned_alloc in gcc@7 but not in Mojave #1256

Discussion options

You must be logged in to vote

This will hopefully be fixed by a rebuild of gcc@7, which was done in this PR (for incidental reasons). Please try brew update && brew upgrade gcc@7 then try again.

In my cmake file though, it auto-inserted:
CMAKE_OSX_DEPLOYMENT_TARGET 10.14
CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

That doesn't look right. You want CMAKE_OSX_SYSROOT to be /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk.

I think installing gfortran from hpc.sourceforge may have hammered something in gcc.

The gcc@7 formula also provides gfortran, though it might be called something like gfortran-7 instead. I think you'll want to use th…

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rmspencer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@Bo98
Comment options

Bo98 Apr 13, 2021
Maintainer

@carlocab
Comment options

@rmspencer
Comment options

@rmspencer
Comment options

@carlocab
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants