From owner-dev-commits-src-main@freebsd.org Thu Feb 18 04:18:17 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB46054E571; Thu, 18 Feb 2021 04:18:17 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dh1fJ3cbwz4r21; Thu, 18 Feb 2021 04:18:16 +0000 (UTC) (envelope-from ohartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613621884; bh=JuOx92Z3YhBmMBsXQ+KtJpVPkfKfL46mheB1IfpyPok=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=TqGP61Wt4xeom0EgQ+Ynf6oVMnCrYxH6RvyWjkkL3KHowDuDX9mAe+Sv7W9AfGvLn x8uBx2oV2tB1xH2DDPgd0/O55bnvI2DJQ/x7btezGhtahmlkHD+Ks2OsLTYvDXyr68 s0mZD4aaFP137bmf5Dyfymduontb7Bqo96ho/hgs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([89.12.31.213]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MJmKh-1lRdhq3iB7-00K56s; Thu, 18 Feb 2021 05:18:03 +0100 Date: Thu, 18 Feb 2021 05:17:55 +0100 From: "Hartmann, O." To: Cy Schubert Cc: "Hartmann, O." , Mark Johnston , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 8ba333e02eaa - main - libdtrace: Stop relying on lex compatibility Message-ID: <20210218051755.42e541ae@hermann.fritz.box> In-Reply-To: <202102172059.11HKxkCj012745@slippy.cwsent.com> References: <202102171602.11HG2FVf099522@gitrepo.freebsd.org> <20210217214505.0d4b544e@hermann.fritz.box> <202102172059.11HKxkCj012745@slippy.cwsent.com> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/X1LkchSIHpgyL/AopZmz9/Y"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Provags-ID: V03:K1:GBZoLsUz/ouYNcWn6WBWCqwTqOEFxIGw6VFxE2dqr51ilG055Lp onFVO8bBl4b9AeJM4wACNGXiLHIdn6dQV4s6G1uPIt45k31kAZc3DwwBPJgx4JI/oBdUjny fKGmjMVgSBaj7IrW2hXVO4d/rLSHFkwbbL0kAP3z/VtkwGRpHeniBAEmEUzMCLoy5s5KNP7 EBhUi7+Wz3oLq0x9H4Yww== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qMHvLTOmW1s=:hNmj1kXoAI5UBWOnKBidSs D2XO2bxBYG+dSwrbAeqjgU1qUSaqkTkRqdIGqcLfnfw2858d9ZmHZI3siljXsZKE0xvUALBLY V+M6kSc4t7WvrSCFi39lnZHcRO0N59IzIbPo4+oMUVmUCJ4dCx0sZjKe9J2rOk4aqHhIukL4U aoQhrrRGmqHY1DqsoN/CCd+jRaFAau4WM4Sl2oK5M7bSskqaZy+BeDyJS6HgM1M1wepDl5+TV H+p5b6prZKQTpTOlgF4lK6JtEOFU1k89KhkKwCUuWLgSqw2hW/tr1XfqoywUiqpkaYvyuw1LI tLGi/ecCPE5oj+RWLdmlJ7xIAErt/2FZDbwoQuXFRSF0UMSybFTw3941667UU0ugJjwjmFJ5q U3n09zGyUYO+Pgbi8VoArTQF00ddoG3bMFi7VtogfRg8+1pto+N8wyFe/V8/yK7BJRNJTVggJ eebvIaTcROa/AoHl9hssITaaFkkal8oBR98Manc+hlv+Hj/hjfGlUXu9qigNS5AZ7QQWpYtd4 esDYL0u1QLFp47yAPk61qnNNxTass9IcFtKBYnx6GG/turXjOuEzBCofBgsPhe7m84csiu0rD 0i9EV1qo5iJwG0MZg1YM9UwtE0mbtN/XmbXBE8WpKSxL/tNKHEAQRsIeg+yiAxI6TRsi2S+YH bt6CJXDBWJbepzheqQq/Ttxaq6LOENblofNE7ZDjtUx09wr1fSVZLijk9lOe2VhmsBPbHfYKa srS+zhbid8+IifmLpdQKPqG0YlE56/jIzioWYJu7MjhcYID7MBpxvVs7U1SHBGWv0WKXQup0F NmZslMEkAcym07NJTh3q42/KENoKOqMlTNVNOoVeUuxSOOrrj1TSFn/2pUV5Vj/tNZrOOw/Xg aJ1So8S0OO+eo8oFTMdw== X-Rspamd-Queue-Id: 4Dh1fJ3cbwz4r21 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=TqGP61Wt; dmarc=none; spf=none (mx1.freebsd.org: domain of ohartmann@walstatt.org has no SPF policy when checking 212.227.15.19) smtp.mailfrom=ohartmann@walstatt.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.15.19:from]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RECEIVED_SPAMHAUS_PBL(0.00)[89.12.31.213:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[walstatt.org]; SPAMHAUS_ZRD(0.00)[212.227.15.19:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.19:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[dev-commits-src-main,dev-commits-src-all] X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2021 04:18:17 -0000 --Sig_/X1LkchSIHpgyL/AopZmz9/Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 17 Feb 2021 12:59:46 -0800 Cy Schubert wrote: > In message <20210217214505.0d4b544e@hermann.fritz.box>, "Hartmann, O."=20 > writes: > > --Sig_/xVHYogKjgyXovADc1VoD_Ap > > Content-Type: text/plain; charset=3DUS-ASCII > > Content-Transfer-Encoding: quoted-printable > > > > On Wed, 17 Feb 2021 16:02:15 GMT > > Mark Johnston wrote: > > =20 > > > The branch main has been updated by markj: > > >=3D20 > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D3D8ba333e02eaa59337a4e= 1d5534=3D =20 > > d4e894344c8226 =20 > > >=3D20 > > > commit 8ba333e02eaa59337a4e1d5534d4e894344c8226 > > > Author: Mark Johnston > > > AuthorDate: 2021-02-17 15:49:38 +0000 > > > Commit: Mark Johnston > > > CommitDate: 2021-02-17 15:57:19 +0000 > > >=3D20 > > > libdtrace: Stop relying on lex compatibility > > > =3D20 > > > It does not appear to be required, and as of commit 6b7e592c215f > > > ("lex: Do not let input() return 0 when end-of-file is reached") = it > > > causes input to return 0 instead of EOF when end-of-input is reac= hed. > > > =3D20 > > > PR: 253440 > > > MFC after: 3 days > > > Sponsored by: The FreeBSD Foundation > > > --- > > > cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h | 2 +- > > > cddl/lib/libdtrace/Makefile | 2 -- > > > 2 files changed, 1 insertion(+), 3 deletions(-) > > >=3D20 > > > diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h > > > b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h index > > > f2c60a2b07d4..b3f69bb6329d 100644 --- > > > a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h +++ > > > b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h @@ -717,7 += 717,=3D =20 > > 7 @@ extern =20 > > > dt_pcb_t *yypcb; /* pointer to current parser control block */ e =20 > > xtern =20 > > > char yyintprefix; /* int token prefix for macros (+/-) */ extern char > > > yyintsuffix[4]; /* int token suffix ([uUlL]*) */ extern int yyintdeci= ma =20 > > l; =20 > > > /* int token is decimal (1) or octal/hex (0) */ -extern char yytext[]; > > > /* lex input buffer */ +extern char *yytext; /* lex input bu =20 > > ffer */ =20 > > > extern int yylineno; /* lex line number */ > > > extern int yydebug; /* lex debugging */ > > > extern dt_node_t *yypragma; /* lex token list for control lines */ > > > diff --git a/cddl/lib/libdtrace/Makefile b/cddl/lib/libdtrace/Makefile > > > index efd73751e2c0..45ca1692cf48 100644 > > > --- a/cddl/lib/libdtrace/Makefile > > > +++ b/cddl/lib/libdtrace/Makefile > > > @@ -129,8 +129,6 @@ SRCS+=3D3D dis_tables.c > > > DSRCS+=3D3D regs_x86.d > > > .endif > > > =3D20 > > > -LFLAGS+=3D3D-l > > > - > > > YFLAGS+=3D3D-d > > > =3D20 > > > LIBADD=3D3D ctf elf proc pthread rtld_db > > > _______________________________________________ > > > dev-commits-src-main@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main > > > To unsubscribe, send any mail to "dev-commits-src-main-unsubscribe@fr= eebs=3D =20 > > d.org" > > > > This commit breaks buildworld (also breask starting from scratch/clean = /usr=3D > > /obj): > > > > [...] > > -MD -MF.depend.arc_os.pico -MTarc_os.pico -std=3D3Diso9899:1999 -Wno-f= ormat-=3D > > zero-length > > -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -Wno-un= init=3D > > ialized > > -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus= -int > > -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value > > -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion > > -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wn= o-sw=3D > > itch-enum > > -Wno-knr-promoted-parameter -Qunused-arguments -c > > /usr/src/sys/contrib/openzfs/module/os/linux/zfs/arc_os.c -o arc_os.pic= o --- > > all_subdir_cddl/lib/libdtrace --- --- dt_names.o --- --- dt_lex.o --- I= n fi=3D > > le included > > from /usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l:38: > > /usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdt= race=3D > > /common/dt_impl.h:720:14: > > error: redeclaration of 'yytext' with a different type: 'char *' vs 'ch= ar [=3D > > 8192]' extern > > char *yytext; /* lex input buffer */ ^ dt_lex.c:1075:6: note= : pr=3D > > evious > > definition is here char yytext[YYLMAX]; ^ 1 error generated. *** [dt_le= x.o]=3D > > Error code 1 > > > > make[5]: stopped in /usr/src/cddl/lib/libdtrace > > --- all_subdir_cddl/lib/libzpool --- > > =20 >=20 > Restart your build without -DNO_CLEAN. >=20 >=20 I did, that worked for me. Tried to avoid, my hardware isn't very fast and take the night to build. cleanworld salvaged the problem. Kind regards and thank you very much O. Hartmann --Sig_/X1LkchSIHpgyL/AopZmz9/Y Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCYC3qcwAKCRA4N1ZZPba5 Rw5AAP9TE1+iLkGke/UCkqRbNDlS/cAnqNMvhg/YqA5I3Ed4OAD/UTdOUDu7oxDz qnaCiOLCd6+0Q8MvUlVNsbehaqbPlQw= =kO2x -----END PGP SIGNATURE----- --Sig_/X1LkchSIHpgyL/AopZmz9/Y--