tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Possibly more cmake fallout in pkgsrc/lang/compiler-rt



Not been able to build lang/compiler-rt on NetBSD-10 for a couple of
weeks, possibly since the recent cmake changes

(it could well be due to something else)

Can anyone else build lang/compiler-rt OK? Its being pulled in in an
attempt to build www/chromium

Thanks

David

/var/obj/pkg/lang/compiler-rt/work/compiler-rt-18.1.8.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:458:27:
error: '__lwp_getprivate_fast' was not declared in this scope; did you
mean '_lwp_getprivate'?
  458 |   tcb = (struct tls_tcb *)__lwp_getprivate_fast();
      |                           ^~~~~~~~~~~~~~~~~~~~~
      |                           _lwp_getprivate
[  6%] Building C object
lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingPlatformOther.c.o
[  6%] Building C object
lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingPlatformWindows.c.o
[  6%] Building CXX object
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_sparc.cpp.o
[  6%] Building CXX object
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.i386.dir/sanitizer_linux_libcdep.cpp.o
cc1: warning: command-line option '-nostdinc++' is valid for
C++/ObjC++ but not for C
cc1: warning: command-line option '-nostdinc++' is valid for
C++/ObjC++ but not for C
[  6%] Built target RTUbsan.i386
--- lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o
---
*** [lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o]
Error code 1

make[2]: stopped in
/var/obj/pkg/lang/compiler-rt/work/compiler-rt-18.1.8.src/cmake-pkgsrc-build
*** [all] Error code 6

make: stopped in
/var/obj/pkg/lang/compiler-rt/work/compiler-rt-18.1.8.src/cmake-pkgsrc-build
1 error

make: stopped in
/var/obj/pkg/lang/compiler-rt/work/compiler-rt-18.1.8.src/cmake-pkgsrc-build
*** Error code 2

Stop.
make[2]: stopped in /home/netbsd/pkgsrc/lang/compiler-rt
*** Error code 1


Home | Main Index | Thread Index | Old Index