-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.macosIssues and PRs related to the macOS platform / OSX.Issues and PRs related to the macOS platform / OSX.
Description
Hey Folks,
Had a report over at Homebrew of Node failing to build on OS X 10.7.5. It works built against GCC 5.x but fails against the system Clang, which is 4.2. As far as the README on the Node repo here states it should compile fine against that version of Clang.
I reproduced the failure on our testing infrastructure to check the reported error wasn't potentially user-related. Error is at the bottom of this gist but:
In file included from ../src/debug-agent.h:26:
../src/util-inl.h:206:14: error: use of undeclared identifier '__builtin_bswap16'
dst[i] = __builtin_bswap16(src[i]);
^
In file included from ../test/cctest/util.cc:2:
../src/util-inl.h:206:14: error: use of undeclared identifier '__builtin_bswap16'
dst[i] = __builtin_bswap16(src[i]);
^
In file included from ../src/fs_event_wrap.cc:2:
More or less that error reproduced through a bunch of files.
Just wanted to check whether or not the breakage is known and whether the Clang breakage for that version is an intentional thing.
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.macosIssues and PRs related to the macOS platform / OSX.Issues and PRs related to the macOS platform / OSX.