Closed Quuxplusone closed 7 years ago
Bugzilla Link | PR34333 |
Status | RESOLVED INVALID |
Importance | P enhancement |
Reported by | Alexander von Gluck IV (kallisti5@unixzen.com) |
Reported on | 2017-08-26 07:27:51 -0700 |
Last modified on | 2017-09-01 21:11:13 -0700 |
Version | 4.0 |
Hardware | PC other |
CC | llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
A little context on what Haiku offers since most @ LLVM won't be familiar:
kallisti5@eris rust :) $ find /home/kallisti5/Code/haiku/generated.x86_64/cross-
tools-x86_64/sysroot/ -name "*libc++*"
kallisti5@eris rust :) $ find /home/kallisti5/Code/haiku/generated.x86_64/cross-
tools-x86_64/sysroot/ -name "*libstdc++*"
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/5.4.0/libstdc++.so.6.0.21-gdb.py
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/5.4.0/libstdc++.so.6.0.21
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/5.4.0/libstdc++.so.6
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/5.4.0/libstdc++.so
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/5.4.0/libstdc++.la
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/5.4.0/libstdc++.a
kallisti5@eris rust :) $ grep -R call_once
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-x86_64/sysroot/
Binary file /home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/libstdc++.so.6.0.21 matches
Binary file /home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/libstdc++.so.6 matches
Binary file /home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-haiku/5.4.0/libstdc++.so
matches
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/mutex: call_once(once_flag& __once, _Callable&&
__f, _Args&&... __args);
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/mutex: /// call_once
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/mutex: call_once(once_flag& __once, _Callable&& __f,
_Args&&... __args)
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/future: call_once(_M_once, &_State_baseV2::_M_do_set,
this,
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/future: call_once(_M_once, &_State_baseV2::_M_do_set,
this,
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/future: // we can access _M_result directly instead
of through call_once.
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/future: // The function invoked with
std::call_once(_M_once, ...).
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/future: // reach this point at the same time. The
call_once in _M_set_result
/home/kallisti5/Code/haiku/generated.x86_64/cross-tools-
x86_64/sysroot/boot/system/develop/lib/x86_64-unknown-
haiku/5.4.0/include/c++/future: void _M_join() { std::call_once(_M_once,
&thread::join, ref(_M_thread)); }
Nevermind, it seemed like us not you :-)
23:08 <@jessicah> the c++config.h file differed from installed compiler on haiku
23:08 <@jessicah> I just overwrite the cross-compiler's copy with the haiku copy
23:08 <@jessicah> problem went away