On 2011-09-09 14:39, Volodymyr Kostyrko wrote: > 09.09.2011 11:52, Dimitry Andric wrote: ... >> This is why I still think you have the stdin/out/err problem, in some >> way. Can you please check /usr/obj/usr/src/lib/libc/Version.map? It >> should have about 2775 lines, otherwise your libc build is busted. > > This build was without ccache and CPUTYPE or march. Busted: > > === Version.map === > FBSD_1.0 { > }; > > FBSD_1.1 { > } FBSD_1.0; > > FBSD_1.2 { > } FBSD_1.1; > > FBSDprivate_1.0 { > local: > *; > } FBSD_1.2; > > === Version.map === > > Smoking logs gives this: > > cat /usr/src/lib/libc/i386/Symbol.map /usr/src/lib/libc/db/Symbol.map > /usr/src/lib/libc/compat-43/Symbol.map > /usr/src/lib/libc/gdtoa/Symbol.map /usr/src/lib/libc/gen/Symbol.map > /usr/src/lib/libc/gmon/Symbol.map /usr/src/lib/libc/inet/Symbol.map > /usr/src/lib/libc/locale/Symbol.map /usr/src/lib/libc/nameser/Symbol.map > /usr/src/lib/libc/net/Symbol.map /usr/src/lib/libc/nls/Symbol.map > /usr/src/lib/libc/posix1e/Symbol.map /usr/src/lib/libc/quad/Symbol.map > /usr/src/lib/libc/regex/Symbol.map /usr/src/lib/libc/resolv/Symbol.map > /usr/src/lib/libc/stdio/Symbol.map /usr/src/lib/libc/stdlib/Symbol.map > /usr/src/lib/libc/stdtime/Symbol.map /usr/src/lib/libc/string/Symbol.map > /usr/src/lib/libc/sys/Symbol.map /usr/src/lib/libc/rpc/Symbol.map > /usr/src/lib/libc/uuid/Symbol.map /usr/src/lib/libc/xdr/Symbol.map > /usr/src/lib/libc/yp/Symbol.map | clang++ - - | awk -v > vfile=/usr/src/lib/libc/Versions.def -f > /usr/src/share/mk/version_gen.awk> Version.map > clang++: error: -E or -x required when input is from standard input > clang++: error: -E or -x required when input is from standard input > > And this is purely my fault because I incorrectly redefined CPP. Well, it looks like there is not much error handling or sanity checking in the map generation process. If anything fails in there, or if the output is dodgy, the libc build should simply abort, IMHO. Your problem also reminds me that we need a /usr/bin/clang-cpp hardlink, I will try to get that into 9.0. Thanks. :)Received on Fri Sep 09 2011 - 15:00:37 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC