#55270 closed defect (worksforme)
volk-gnss-sdr-devel: Build error
Reported by: | mf2k (Frank Schima) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | gnss-sdr | |
Port: | volk-gnss-sdr-devel |
Description
I'm seeing the following build error in Sierra with Xcode 9.1.
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_volk-gnss-sdr/volk-gnss-sdr-devel/work/gnss-sdr-32e4d227af032365cfd7f9291d9f2c2fca57d99d/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.h:24: :info:build In file included from :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:18: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/mutex:189: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__mutex_base:17: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__threading_support:156:1: error: unknown type name 'mach_port_t' :info:build mach_port_t __libcpp_thread_get_port(); :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__threading_support:300:1: error: unknown type name 'mach_port_t' :info:build mach_port_t __libcpp_thread_get_port() { :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__threading_support:301:12: error: use of undeclared identifier 'pthread_mach_thread_np' :info:build return pthread_mach_thread_np(pthread_self()); :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__threading_support:301:12: error: use of undeclared identifier 'pthread_mach_thread_np' :info:build return pthread_mach_thread_np(pthread_self()); :info:build ^ :info:build 3 errors generated.
Attachments (1)
Change History (4)
Changed 7 years ago by mf2k (Frank Schima)
comment:1 Changed 7 years ago by michaelld (Michael Dickens)
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This builds for me now. Maybe Xcode 9.2 fixed the bug.
comment:3 Changed 7 years ago by michaelld (Michael Dickens)
Very good; guessing it was an Apple bug, so this result would make sense. Thanks for following up.
Note: See
TracTickets for help on using
tickets.
OK yeah I see this too. It comes via
#include <iostream>
... nothing more, nothing less; should work IMHO. I think this an SEP ... like maybe Apple's issue.