Re: Could not build r279842 on r278265 -- mount_smbfs vs /lib/libkiconv problems when WITHOUT_ICONV is set

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 10 Mar 2015 14:32:10 +0100
On 10 Mar 2015, at 13:50, Lev Serebryakov <lev_at_FreeBSD.org> 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


Received on Tue Mar 10 2015 - 12:32:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC