Opened 4 years ago

Closed 4 years ago

#60481 closed defect (fixed)

clang-devel @20200505-6d6d48ad does not build on El Capitan 10.11

Reported by: snowflake (Dave Evans) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: clang-devel

Description

My error is the same as the buildbot.

[  5%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_i386_osx.dir/__/profile/InstrProfiling.c.o
cd /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/build/projects/compiler-rt/lib/builtins && /opt/local/bin/clang-mp-9.0 -DKERNEL_USE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/build/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/projects/compiler-rt/lib/builtins -I//opt/local/include/libxml2 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/build/include -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/include -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/projects/compiler-rt/lib/builtins/../../include  -arch i386    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.5 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch i386 -mkernel -UNDEBUG -o CMakeFiles/clang_rt.cc_kext_i386_osx.dir/__/profile/InstrProfiling.c.o   -c /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/projects/compiler-rt/lib/profile/InstrProfiling.c
In file included from /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/projects/compiler-rt/lib/profile/InstrProfiling.c:14:
In file included from /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/projects/compiler-rt/lib/profile/InstrProfiling.h:12:
In file included from /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-project/llvm/projects/compiler-rt/lib/profile/InstrProfilingPort.h:112:
In file included from /opt/local/include/LegacySupport/unistd.h:32:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:72:
/opt/local/include/LegacySupport/sys/unistd.h:56:12: error: conflicting types for 'getattrlistat'
extern int getattrlistat(int dirfd, const char *pathname, struct attrlist *a,
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/unistd.h:209:5: note: previous declaration is here
int     getattrlistat(int, const char *, void *, void *, size_t, unsigned long) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
        ^
1 error generated.
make[2]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_i386_osx.dir/__/profile/InstrProfiling.c.o] Error 1

Change History (3)

comment:1 Changed 4 years ago by kencu (Ken)

new release coming shortly that should address this and the other failures that turned up. Tomorrow, I think.

In the meantime clang-10 is very current.

comment:2 Changed 4 years ago by kencu (Ken)

couple more systems to test, but 10.11 is good with the coming push:

$ port -v installed | grep devel
  clang-devel @20200512-d9166ad2_0+analyzer+assertions+libstdcxx (active) platform='darwin 15' archs='x86_64' date='2020-05-12T20:27:31-0700'
  lldb-devel @20200512-d9166ad2_0+assertions (active) platform='darwin 15' archs='x86_64' date='2020-05-12T23:07:33-0700'
  llvm-devel @20200512-d9166ad2_0+assertions+polly (active) platform='darwin 15' archs='x86_64' date='2020-05-12T17:13:34-0700'

comment:3 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.