David Chisnall <theraven_at_FreeBSD.org> writes: [...] > libcxxrt and libc++ are now in contrib and building with the base > system, but are not used by anything (and are only built if you set > WITH_LIBCPLUSPLUS=yes when building world, not by default). If you > want to test some code with the new stack, you need to build it and > then specify -stdlib=libc++ to clang++ (both when compiling and > linking). Does the option work when building world with -jX ? $ make -sj2 buildworld [...] ===> lib/libcompiler_rt (obj,depend,all,install) ===> lib/libc (obj,depend,all,install) ===> lib/libcxxrt (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc_s clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [libcxxrt.so.1] Error code 1 And later in silent build --verbose in LDFLAGS for libc++ produces noise that's neither a warning nor a build directory. ===> lib/libcxxrt (all) ===> lib/libc++ (all) FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210 Target: x86_64-unknown-freebsd10.0 Thread model: posix "/usr/obj/usr/src/tmp/usr/bin/ld" --eh-frame-hdr -Bshareable -o libc++.so.1 /usr/obj/usr/src/tmp/usr/lib/crti.o /usr/obj/usr/src/tmp/usr/lib/crtbeginS.o -L/usr/obj/usr/src/lib/libc++/../libcxxrt/ -L/usr/obj/usr/src/tmp/usr/lib -x --fatal-warnings --warn-shared-textrel -soname libc++.so.1 valarray.So utility.So strstream.So regex.So random.So iostream.So debug.So chrono.So bind.So algorithm.So hash.So thread.So future.So new.So locale.So typeinfo.So mutex.So memory.So ios.So condition_variable.So system_error.So string.So stdexcept.So exception.So -lcxxrt -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/obj/usr/src/tmp/usr/lib/crtendS.o /usr/obj/usr/src/tmp/usr/lib/crtn.oReceived on Sun Dec 18 2011 - 07:44:12 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC