Date: Fri, 26 Dec 2025 15:40:33 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: Dimitry Andric <dim@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: e2c93ed09f25 - main - sys/font.h: avoid warnings about too-long initializer strings Message-ID: <CAFDf7UKQg-zunwV2YxoQ0NL-HVzO=DNrU8mSY4aXUDnf1vWbRA@mail.gmail.com> In-Reply-To: <1552440A-518D-4F08-9019-7006EC3ADCF7@FreeBSD.org> References: <694e9c7d.3cfe6.7a265e1e@gitrepo.freebsd.org> <CAFDf7ULL=yTWXmD946XX-t45aEsfoWbys0q=SBTcwkSagj4hrA@mail.gmail.com> <5FAF9BAC-37B2-4B13-9146-65401C067BAE@FreeBSD.org> <1552440A-518D-4F08-9019-7006EC3ADCF7@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Here my config: # cat /etc/src.conf WITH_MALLOC_PRODUCTION=yes WITHOUT_LLVM_ASSERTIONS=yes WITHOUT_PTHREADS_ASSERTIONS=yes WITHOUT_ASSERT_DEBUG=yes WITH_LLVM_LINK_STATIC_LIBRARIES=yes # cat /etc/src-env.conf WITH_META_MODE=yes Cheers, Dimitry Andric <dim@freebsd.org> escreveu (sexta, 26/12/2025 à(s) 15:10): > On 26 Dec 2025, at 15:53, Dimitry Andric <dim@freebsd.org> wrote: > > > > On 26 Dec 2025, at 15:49, Nuno Teixeira <eduardo@freebsd.org> wrote: > >> > >> I've just spoted by luck that world fails at this commit: > >> > >> Building > /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.sbin/zic/_debuginstall > >> In file included from /usr/src/usr.bin/vtfontcvt/vtfontcvt.c:32: > >> /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include/sys/font.h:111:22: > error: expected ';' at end of declaration list > >> 111 | uint8_t fh_magic[8] __nonstring; > >> | ^ > >> | ; > > > > Strange, I did a full buildworld and it worked just fine? Are you using > any special configuration settings? > > Oh I see, commit 802c6d5d61d1 on 2025-12-16 introduced the attribute. For > some reason, the vtfontcvt bootstrap build is using <sys/font.h> from the > source tree, but <sys/cdefs.h> from the host system. This is weird, I will > have to look into it. If I cannot resolve it quickly, I will revert for now. > > -Dimitry > > -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org [-- Attachment #2 --] <div dir="ltr">Here my config:<br><br># cat /etc/src.conf<br>WITH_MALLOC_PRODUCTION=yes<br>WITHOUT_LLVM_ASSERTIONS=yes<br>WITHOUT_PTHREADS_ASSERTIONS=yes<br>WITHOUT_ASSERT_DEBUG=yes<br>WITH_LLVM_LINK_STATIC_LIBRARIES=yes<br><br># cat /etc/src-env.conf<br><div>WITH_META_MODE=yes<br><br></div><div>Cheers,</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Dimitry Andric <<a href="mailto:dim@freebsd.org">dim@freebsd.org</a>> escreveu (sexta, 26/12/2025 à(s) 15:10):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 26 Dec 2025, at 15:53, Dimitry Andric <<a href="mailto:dim@freebsd.org" target="_blank">dim@freebsd.org</a>> wrote:<br> > <br> > On 26 Dec 2025, at 15:49, Nuno Teixeira <<a href="mailto:eduardo@freebsd.org" target="_blank">eduardo@freebsd.org</a>> wrote:<br> >> <br> >> I've just spoted by luck that world fails at this commit:<br> >> <br> >> Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.sbin/zic/_debuginstall<br> >> In file included from /usr/src/usr.bin/vtfontcvt/vtfontcvt.c:32:<br> >> /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include/sys/font.h:111:22: error: expected ';' at end of declaration list<br> >> 111 | uint8_t fh_magic[8] __nonstring;<br> >> | ^<br> >> | ;<br> > <br> > Strange, I did a full buildworld and it worked just fine? Are you using any special configuration settings?<br> <br> Oh I see, commit 802c6d5d61d1 on 2025-12-16 introduced the attribute. For some reason, the vtfontcvt bootstrap build is using <sys/font.h> from the source tree, but <sys/cdefs.h> from the host system. This is weird, I will have to look into it. If I cannot resolve it quickly, I will revert for now.<br> <br> -Dimitry<br> <br> </blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888"> FreeBSD UNIX: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKQg-zunwV2YxoQ0NL-HVzO=DNrU8mSY4aXUDnf1vWbRA>
