Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 14:32:10 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        lev@FreeBSD.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: Could not build r279842 on r278265 -- mount_smbfs vs /lib/libkiconv problems when WITHOUT_ICONV is set
Message-ID:  <2DFF2B52-AD0F-408B-9FA9-097188168173@FreeBSD.org>
In-Reply-To: <54FEE88A.5060503@FreeBSD.org>
References:  <54FED585.2080206@FreeBSD.org> <54FEE88A.5060503@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 10 Mar 2015, at 13:50, Lev Serebryakov <lev@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26

iEYEARECAAYFAlT+8l4ACgkQsF6jCi4glqOrkACfTa//k5akX0NSg+GQ6HHDnzkr
9HcAnRxrEeOdeiufh6MDKYCyPwa333WC
=Hts0
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2DFF2B52-AD0F-408B-9FA9-097188168173>