Re: Could not build r279842 on r278265 -- mount_smbfs vs /lib/libkiconv problems when WITHOUT_ICONV is set
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10.03.2015 14:29, Lev Serebryakov wrote: > I could not build NanoBSD system from r279842 sources on r278265 > host with host tools ("cross-build" with external toolchain). > > buildworld fails with > > --- usr.sbin.all__D --- /lib/libkiconv.so.4: undefined reference to > `__bsd_iconv_close@FBSD_1.3' /lib/libkiconv.so.4: undefined > reference to `__bsd_iconv@FBSD_1.3' /lib/libkiconv.so.4: undefined > reference to `__bsd_iconv_open@FBSD_1.3' cc: error: linker command > failed with exit code 1 (use -v to see invocation) *** > [mount_smbfs] Error code 1 > > I have WITHOUT_ICONV=yes, but it worked month ago and I could not > find anything appropriate in UPDATING or with google. I think, it is result of "overlinking elimination" work. But I'm wonder, why SYSTEM libraries are in this output at all!? - -- // Lev Serebryakov -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQJ8BAEBCgBmBQJU/vWQXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePHwMP/2xq7OnTeyxJ7JRBEmRNkwgc OAqsEtMJwCFLnT8vAmyWQcXYeVDraKv7xqn6nq+euSbGNcv2FoRlLKCH9+ON7A1u JXGpizIvmW3PszT0nvAaq4bgi7Tqouq1xNng6PIK+7t6EZ4k8j7dl7LOc8fnGjDx T0L0Siv2mU4yksBcsMLnC670wFQb/INFCJT4nsQvr8HDr4mGCHwkIUe/2av+s6jX IeixAipoh7trRA8J7FEi7yG35SZ4I6n2qWU4VVLSbpX0VutEuE4qP9bBmisDCxfT Z5mlXXO7GF8/lck6Pm0vwQq4AxfN+5LiJ5H0jIl+OfmaVzglhLKSHFxVBlPdc9pQ nMHyI8+xy6ZAcDR/NkbnoCXa5068m6XuMYigYOwMlduumksNuGYUf8D4yD3ZoxPP KE01e2f5gyDNcaaZj1vJA6Kq5lPrTUOHl4Pq4tB8L/xhJp/gcZClAxLwXyxCv1EB S3eVMWnhoX0Gzg4K0G8v6bJLWV0UDPejtdgEj6N7E3LK7kt5H5Zzm3HmdfRmn+JB f5G41AXORt1LNtWGgOQPp62HNVb2voPWg51cJNBBbI1un8PjpUVVRhl/Z1hKGUj2 0yu519flB0ALR1UTRj8qZNRM5q+VkVeNBppzbzIAJyyjezLIqjvH9gQq632zoyTW uj2/TEuFxkGmSDHbvYhA =OXyG -END PGP SIGNATURE- ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Could not build r279842 on r278265 -- mount_smbfs vs /lib/libkiconv problems when WITHOUT_ICONV is set
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10.03.2015 16:32, Dimitry Andric wrote: > I have never seen this assertion before. Is there something wrong > with your copy of ng_ubt.c, or some of the files it includes? "svn status" says, that it is equivalent to repository ones. > Can you provide a reproducible test case? I'll try, but I'm not sure :( > Also, in your original post you were talking about an "external > toolchain", but I see /usr/bin/cc in the command line, so that does > not look very external to me... It is external to "build world" process. It was not built at bootstrap stage of "make buildworld" but provided by host system (which has same ARCH/TARGET as target system). It looks like this (in /etc/src.conf): XCC=/usr/bin/cc XCXX=/usr/bin/c++ XCPP=/usr/bin/cpp XAS=/usr/bin/as XAR=/usr/bin/ar XLD=/usr/bin/ld XNM=/usr/bin/nm XOBJDUMP=/usr/bin/objdump XRANLIB=/usr/bin/ranlib XSTRINGS=/usr/bin/strings XSTRIPBIN=/usr/bin/strip COMPILER_TYPE=clang WITHOUT_CROSS_COMPILER=yes WITHOUT_CLANG=yes WITHOUT_GCC=yes WITHOUT_BINUTILS=yes WITHOUT_ELFTOOLCHAIN_TOOLS=yes - -- // Lev Serebryakov -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQJ8BAEBCgBmBQJU/vReXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePt08QAJuAPu/Wnn0hZyyLzPe+fP02 wTD/Aw975yTAtGZs8F7nHMLi/mhm7WKJoz2m9RuUXvFCxFTHKmOUKu+468+Puxsh BtxYuCgprBiFupXY+m4rBjAfHzmTzPYSbKh94jKkUtWFiO0B3CLHM4wioVolZh++ X71CmQwhD+NEBtUHKjd9TObeJ2Sd1NeDJknA+63cg4kUPepr27sB1VkhgoI9PHHV i9Q9nL3jkBels5LVBnkkqZSy4RwL5RGeQp7+YNfDpJsr6Uc5vNvjn6fp5EwqQ3Da naK4bQxrGJfVWb3sVT0xwVcSBApJQI1+OX4rQs5YHNy7o00Ymax5riBkMfooGXEv myxjObkiZIDXDc0mMVMLL0jv5+c2EYkUsnFpxZzyWPxLnwAwPidtU4Za+5+q9Wyx sqXlViHfv6GSfxTGtefrmQ9ZuDazekgCQZ+pSUzhMoLEDxXK/yNP+JhwUEEOY5p6 N7c/95z9DvfaIQMmRdVQ2W2yeh5hnNzBk/q4bJUN3kTljW61QWwEz7eGM5lTa8H0 jRQ6HIdOXgAF1Kd+b524Am0J2WNlnnpf/VLo1pVU5tV9EcBSoOkaAduvz0lUwJJn eYEaIF3Kn3CpQ80hTgejPkrqAZE3tyjKwcZKdsp5KST4Y2tvzUf7AzF0+o7EMP61 deRYN+pfs/Y9yPcRSbQo =QjJX -END PGP SIGNATURE- ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Could not build r279842 on r278265 -- mount_smbfs vs /lib/libkiconv problems when WITHOUT_ICONV is set
On 10 Mar 2015, at 13:50, Lev Serebryakov wrote: > > On 10.03.2015 14:29, Lev Serebryakov wrote: > > > I have WITHOUT_ICONV=yes, but it worked month ago and I could not > > find anything appropriate in UPDATING or with google. > When I delete "WITOUT_ICONV" as workaround here is another very > strange problem — abort() in clang!: > > --- .depend --- > rm -f .depend > CC='/usr/bin/cc -target x86_64-unknown-freebsd11.0 > --sysroot=/data/obj.nano/gateway.v2/data/src/tmp > -B/data/obj.nano/gateway.v2/data/src/tmp/usr/bin ' mkdep -f .depend -a > -nostdinc -D_KERNEL -DKLD_MODULE > - > -I/data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/include > - > -I/data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt > -DHAVE_KERNEL_OPTION_HEADERS -I. -I/data/src/sys > -I/data/src/sys/contrib/altq > -I/data/obj.nano/gateway.v2/data/src/sys/D2500CC -std=iso9899:1999 > /data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c > Assertion failed: (BufEnd[0] == 0 && "We assume that the input buffer > has a null character at the end" " to simplify lexing!"), function > InitLexer, file > /data/src/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/Lexer.cpp, > line 63. I have never seen this assertion before. Is there something wrong with your copy of ng_ubt.c, or some of the files it includes? Can you provide a reproducible test case? Also, in your original post you were talking about an "external toolchain", but I see /usr/bin/cc in the command line, so that does not look very external to me... -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Could not build r279842 on r278265 -- mount_smbfs vs /lib/libkiconv problems when WITHOUT_ICONV is set
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 10.03.2015 14:29, Lev Serebryakov wrote: > I have WITHOUT_ICONV=yes, but it worked month ago and I could not > find anything appropriate in UPDATING or with google. When I delete "WITOUT_ICONV" as workaround here is another very strange problem — abort() in clang!: - --- .depend --- rm -f .depend CC='/usr/bin/cc -target x86_64-unknown-freebsd11.0 - --sysroot=/data/obj.nano/gateway.v2/data/src/tmp - -B/data/obj.nano/gateway.v2/data/src/tmp/usr/bin ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE - -I/data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/include - -I/data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt - -DHAVE_KERNEL_OPTION_HEADERS -I. -I/data/src/sys - -I/data/src/sys/contrib/altq - -I/data/obj.nano/gateway.v2/data/src/sys/D2500CC -std=iso9899:1999 /data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c Assertion failed: (BufEnd[0] == 0 && "We assume that the input buffer has a null character at the end" " to simplify lexing!"), function InitLexer, file /data/src/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/Lexer.cpp, line 63. Stack dump: 0. Program arguments: /usr/bin/cc -cc1 -triple x86_64-unknown-freebsd11.0 -Eonly -disable-free -main-file-name ng_ubt.c -mrelocation-model static -mdisable-fp-elim -masm-verbose - -mconstructor-aliases -munwind-tables -target-cpu x86-64 - -dwarf-column-info -nostdsysteminc -nobuiltininc -resource-dir /usr/bin/../lib/clang/3.5.1 -dependency-file - -MT ng_ubt.o - -sys-header-deps -D _KERNEL -D KLD_MODULE -D HAVE_KERNEL_OPTION_HEADERS -I /data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/include - -I /data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt - -I . -I /data/src/sys -I /data/src/sys/contrib/altq -I /data/obj.nano/gateway.v2/data/src/sys/D2500CC -isysroot /data/obj.nano/gateway.v2/data/src/tmp -std=iso9899:1999 - -fdebug-compilation-dir /data/obj.nano/gateway.v2/data/src/sys/D2500CC/modules/data/src/sys/modules/netgraph/bluetooth/ubt - -ferror-limit 19 -fmessage-length 0 -mstackrealign - -fobjc-runtime=gnustep -fdiagnostics-show-option -x c /data/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c cc: error: unable to execute command: Abort trap (core dumped) - -- // Lev Serebryakov -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQJ8BAEBCgBmBQJU/uiKXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePq/MQAK9uWLxToG1ypF24F+ymkmA6 5lOisHgejIpKeb5XtBYQBPe9O2E48G/m1ECNaoTd4cGBa8EOZih75sKEAkwm4nlT Yp52p4qFwVgVGn/l90UAE6gmpqdKlqkj4w+O6f3m7PAXBYNvPRHCNXKHlRwMxZBL TBY6QQbYti4nxAwPs8Fj35VUlvXhbKPgwVPRwefG70fFZDieQEG3LV4ugoopVDAL QLDnmUF3FcXtG4DZjHtuQUqMQNGKkxBfqPgQZmvp/fdxfXuX+vlV7oSZICBx47rU lkSNlo4dWXLVh3jWGX/7jNQJOCcbGE7OgYLEJeSVbDGrsVi5FOgh86Tdcr8EFDLZ G9lpgkY1V2fOMkaxpe6JFt1jgFfYwnmVf6v3pNWOIW7Nfwjg6PbMgZ2Si3852Xy7 bZPTsPjOVsvAm6Sj5UPEQ13EayiIVTT5qhrHo0CXJ0mphFiHxCgfNcFRsgmdcCn4 lPw6hD0U0y3idUe1P784HZsXcBVpSWxD61S3ReFxyUA33WxmCXdde3yaYSYFdg4m AqnWhEpjvmp0uSsXMNlocux6Bdb8RC4hXTybpsnJkKJ1jLpFWHuM5DU166GaSPFp U/Cgx6tAlUR9wCuB8ZBmvo3Z7T/zOFUlHdYIGlsOIXiXk74JuetEp6Wgy18a9W4E afpD6j83/kv7ZAs1fFq7 =LVcG -END PGP SIGNATURE- ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"