From owner-freebsd-current@freebsd.org Mon Mar 16 21:38:17 2020 Return-Path: Delivered-To: freebsd-current@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 9D0FB27015B for ; Mon, 16 Mar 2020 21:38:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48h8ml3jPfz3y3j for ; Mon, 16 Mar 2020 21:38:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: ._OGYaEVM1msV6GWgQPtsltdRfE3Cw20ilreJeTQhr4A52xF3zETNz4gaRh7Gfx MosGMcf43WSVGtZ3M3C74ufuWlbO9RaqOggQsT0YeokVQdA_nzNuf3LAQrx6UM_CL4zRujq8sTgR NwRTauAy6tRCa5G0clnHaIwlpseKoTdKBZIizXtC53jz78JY5HZH3cQP4VCr8r2hNb7JLsNlhH4v 1KsEp3pAbz8gV4Bwi6HQOuyRIa37qfGHjtiCUHNp5VvTti5ZzCis219eg44_Rvz4vTZxT1yXfK_O 0ZbCrmSha9ika_ruvNUbI5vM.It6y9ta4G4QSXcfXcKHn58kTPy6uhgHCAHiXGRA6.fNn01.c.90 LKIqrzjQePUeQ7of4PEg9iWnpMHAky5DEFSwOiZXNmGTo78PIL5DSUxSOtuRtqMDos5iAGm1Ash1 tV2z_KSpgB5N0j9liz8trNrJcmj5VJrLPOj9umZHElFMJq_b1iip8rF0SECYzg06q9mnrqTVVt0h KIZUHDrozaXv6xXGq59itG4.09.8iRpYA5TUesbVnbhu_DqaJRlBZOunhS_.zHsJ._Lu73ativfU FIfVX0_kcjmOzNT16Djc1rFLFjd3DvxR9CZRBtvZew_5vl40m.uGn2Cx6sPQVPl1KtGtLhLA9Sqb xX2.frPUsVPL9Sfb.ycn5yFZq0RdpfIBfOTj7P2fwrZZSoAhzRewL0vlmHplSK5jRclAcS1K9eHy HTxgemFsHsL1v_.RVPuHV7HP7jwbj5DdQa0DOYpXthddhc7tlA.tV5qNs8PVvezNb7siLhapmUm2 DTU1ea.RvDnmLq8dSdIrr8Z3BTTHR_HHZI_TaoTHlmQHjoWeIA5om7yy0R57nvNZaU_lG.G9YDnq Img2Nt3jrO2gQLaX.gwCtOtxi.fSt08KlBhVuSq3MmH.GvcxWK81O0OSNjQkqjbRfSo.2iQNAdmY fhCIp6EJoI7qmTGxNG5s6Y2XNgsV8pIOZo14kquyMuzic5Lz5eMkejeYFFZ13xj1RPjo6LTJpNHh gCAG10N26fbybuTuIVha6E.TBQXmErJ3Ep.BDMHiSz3_d0ygHJnvpcqgOcYM.9lUYHMbotctoyyJ YUV5l.AJ9H8Ko8PLa6dOuNUg2UiAVEGP61BJPtZQ1ywjm2BgRbL.UZ6ZF2mckCH78XicsRrkrWAZ 9ZlN1rZZrZHlOJv1bxUPEXT07Qol1CmCKweXMeia3ZtybfgDKt8ohzjAyH3X2e3qBduX_8YEvGEv 2p1kROFWp54GrTcJCyhiL5aVP5CuHMKmpcTxwM8VwjKNcMDAn17wM2S7ZKq16jDAvm6NUQlv38pS zD6Mjl5Z0bsHAx1p2A6H5ONgT3kVn33XzEsmn3gklpf_2YPyPe_KTSsr_3x8R4dNDYwicKOJ8hBp hSRlfzMkGn6skhoA04gwbZXhdb2BjxstwEH3sANhwZVJ2pfqIXEyvub1rKA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 16 Mar 2020 21:38:13 +0000 Received: by smtp404.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 32dc05ca41e8c722ac2471342e4bb61a; Mon, 16 Mar 2020 21:38:12 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Build failed compiling ittnotify_static.pico Date: Mon, 16 Mar 2020 14:38:10 -0700 References: <84F40BA3-ABFE-4567-B76D-54FDCBC57B32@yahoo.com> To: FreeBSD Current , Ed Maste , Dimitry Andric In-Reply-To: <84F40BA3-ABFE-4567-B76D-54FDCBC57B32@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48h8ml3jPfz3y3j X-Spamd-Bar: + X-Spamd-Result: default: False [1.22 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.27), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.99)[0.992,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.73)[0.730,0]; RCVD_IN_DNSWL_NONE(0.00)[147.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[147.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 21:38:17 -0000 On 2020-Mar-13, at 16:01, Mark Millard wrote: > Bob Willcox bob at immure.com wrote on > Fri Mar 13 21:08:16 UTC 2020 : >=20 >> My 13.0-current system (just updated about 2 hours ago) that is = failing with this >> error when trying to do a 'make makeworld' >>=20 >> --- ittnotify_static.pico --- >> cc -target x86_64-unknown-freebsd13.0 = --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp = -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -fpic -DPIC -O2 -pipe = -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS = -I/usr/src/lib/libomp -I/usr/src/contrib/llvm-project/openmp/runtime/src = -I/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify = -ffunction-sections -fdata-sections -g -MD = -MF.depend.ittnotify_static.pico -MTittnotify_static.pico -std=3Dgnu99 = -Wno-format-zero-length -fstack-protector-strong -Wno-atomic-alignment = -Wsystem-headers -Werror -Wno-pointer-sign -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 -Wno-switch-enum = -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c = /usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittn= otify_static.c -o ittnotify_static.pico >> cc: error: no such file or directory: = '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/itt= notify_static.c' >> cc: error: no input files >> *** [ittnotify_static.pico] Error code 1 >>=20 >>=20 >> Anyone else seeing this? Any suggestions for a fix? >=20 >=20 > The problem introduced in head -r358851 was supposed > to be fixed by head -r358907: >=20 > QUOTE >=20 > Dimitry Andric dim at FreeBSD.org=20 > Thu Mar 12 11:39:07 UTC 2020 > =E2=80=A2 Previous message (by thread): svn commit: r358906 - = head/stand/i386/libi386 > =E2=80=A2 Next message (by thread): svn commit: r358908 - in = head/sys: conf modules powerpc/conf > =E2=80=A2 Messages sorted by: [ date ] [ thread ] [ subject ] [ = author ] > Author: dim > Date: Thu Mar 12 11:39:04 2020 > New Revision: 358907 > URL:=20 > https://svnweb.freebsd.org/changeset/base/358907 >=20 >=20 > Log: > Allow -DNO_CLEAN build across r358851. >=20 > The openmp 10.0.0 import renamed one .c file to .cpp, and this is > something our dependency system does not handle correctly. Add = another > ad-hoc cleanup to get rid of the stale dependency. >=20 > PR: 244251 > MFC after: 6 weeks > X-MFC-With: 358851 >=20 > Modified: > head/Makefile.inc1 >=20 > Modified: head/Makefile.inc1 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/Makefile.inc1 Thu Mar 12 06:45:08 2020 = (r358906) > +++ head/Makefile.inc1 Thu Mar 12 11:39:04 2020 = (r358907) > @@ -924,6 +924,15 @@ _sanity_check: .PHONY .MAKE > _cleanobj_fast_depend_hack: .PHONY > # Syscall stubs rewritten in C and obsolete MD assembly = implementations > # Date SVN Rev Syscalls/Changes > +# 20200310 r358851 rename of openmp's ittnotify_static.c to .cpp > +.for f in ittnotify_static > + @if [ -e "${OBJTOP}/lib/libomp/.depend.${f}.pico" ] && \ > + egrep -qw '${f}\.c' ${OBJTOP}/lib/libomp/.depend.${f}.pico; = then \ > + echo "Removing stale dependencies for ${f}"; \ > + rm -f ${OBJTOP}/lib/libomp/.depend.${f}.* \ > + = ${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libomp/.depend.${f}.*}; \ > + fi > +.endfor > # 20191009 r353340 removal of opensolaris_atomic.S (also r353381) > .if ${MACHINE} !=3D i386 > .for f in opensolaris_atomic >=20 > END QUOTE >=20 > I've not upgraded to a lvm10 based vintage yet. I found > the above while looking into if updating looked reasonable. > So I've no direct evidence of if the change served its > purpose or not. >=20 > But it does suggest that removing any stale files > from the build area that have names matching: >=20 > .depend.ittnotify_static.* >=20 > is supposed to be sufficient to get rid of old > ittnotify_static.c file references for the following > build attempts. >=20 > It looks like two separate lib/libomp/ areas may have > such files. >=20 Another kind of path that I've run into the issue with is: = /usr/obj/usr/src/amd64.amd64/nxb/*/lib/libomp/.depend.ittnotify_static.pic= o where * was sometimes arm.armv7 and sometimes arm64.aarch64 in my context. I simply deleted such files and retried the builds. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)