Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2020 18:14:08 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Roman Bogorodskiy <novel@FreeBSD.org>
Cc:        waitman@waitman.net, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Build failed compiling ittnotify_static.pico
Message-ID:  <B9A2A100-FDF6-44D0-B291-0824FF630DD8@FreeBSD.org>
In-Reply-To: <20200314162429.GA47907@kloomba>
References:  <20200313205706.GD1053@rancor.immure.com> <8740b5f9fef5ce417ea8968543de2992@waitman.net> <14a5e39b65511d7ab4ffe370717d57e5@waitman.net> <D966E0E8-6208-4353-B9AE-A6F14EBF9D03@FreeBSD.org> <20200314162429.GA47907@kloomba>

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

--Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 14 Mar 2020, at 17:24, Roman Bogorodskiy <novel@FreeBSD.org> wrote:
>=20
>  Dimitry Andric wrote:
>> On 13 Mar 2020, at 23:58, Waitman Gobble <waitman@waitman.net> wrote:
>>>=20
>>> On 2020-03-13 17:49, Waitman Gobble wrote:
>>>> On 2020-03-13 16:57, Bob Willcox wrote:
>> ...
>>>>> 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
>>>>> Anyone else seeing this? Any suggestions for a fix?
>>>>> Thanks,
>>>>> Bob
>>>> I've been getting the same thing since yesterday. I think the file =
is actually
>>>> ittnotify_static.cpp
>>>=20
>>>=20
>>> This is supposed to handle the rename, for some reason it's not =
happening on my machine.
>>>=20
>>> Makefile.inc1
>>>=20
>>> # 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}.* \
>>>                  ${OBJTOP}/obj-lib32/lib/libomp/.depend.${f}.* \
>>>                  =
${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libomp/.depend.${f}.*}; \
>>>       fi
>>> .endfor
>>=20
>> Hm, so during your buildworld, does it show "Removing stale =
dependencies
>> for ittnotify_static" or not?  And is the .depend file there?  Can =
you
>> check /usr/obj for the file .depend.ittnotify_static.pico, and list =
its
>> permissions?
>>=20
>> -Dimitry
>>=20
>=20
> I have the same issue updating one of my poudriere jails.
> I don't see "Removing stale dependencies ..." messages.
>=20
> I see a couple of ittnotify_static related messages:
>=20
> make[5]: =
/usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/obj-lib32/l=
ib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .depend for =
/workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/src/thir=
dparty/ittnotify/ittnotify_static.c
> ...
> make[5]: =
/usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/obj-lib32/l=
ib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .depend for =
/workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/src/thir=
dparty/ittnotify/ittnotify_static.h

These are for the 32-bit stage.  The initial fix I committed in r358907
worked for the main buildword stage, but apparently not for the 32-bit
stage, which stores its object files in a slightly different directory
(e.g. the obj-lib32 subpath).

Ed Maste tried to fix that up in r358909, but maybe it does not work in
all situations, for example with custom MAKEOBJDIRPREFIX settings?


> $ ls -al =
/usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/lib/libomp/=
.depend.ittnotify_static.pico
> -rw-r--r--  1 root  wheel  6565 Mar 14 19:30 =
/usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/lib/libomp/=
.depend.ittnotify_static.pico

What is in the first two lines of that file?

-Dimitry


--Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXm0Q4AAKCRCwXqMKLiCW
o8W6AKCWCH2f6qOjD7hS9JpVxHECOcftEACgh+f3fzX9kuxTx0J14Di6trsPbjE=
=T5gb
-----END PGP SIGNATURE-----

--Apple-Mail=_CC300B32-F14F-44F1-88FB-C65412C7024E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9A2A100-FDF6-44D0-B291-0824FF630DD8>