Build failed compiling ittnotify_static.pico

Roman Bogorodskiy novel at freebsd.org
Sat Mar 14 16:24:44 UTC 2020


  Dimitry Andric wrote:

> On 13 Mar 2020, at 23:58, Waitman Gobble <waitman at waitman.net> wrote:
> > 
> > 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/ittnotify_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
> > 
> > 
> > This is supposed to handle the rename, for some reason it's not happening on my machine.
> > 
> > Makefile.inc1
> > 
> > # 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
> 
> 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?
> 
> -Dimitry
> 

I have the same issue updating one of my poudriere jails.
I don't see "Removing stale dependencies ..." messages.

I see a couple of ittnotify_static related messages:

make[5]: /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/obj-lib32/lib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .depend for /workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c
...
make[5]: /usr/obj/workspace/poudriere/jails/current/usr/src/amd64.amd64/obj-lib32/lib/libomp/.depend.ittnotify_static.pico, 43: ignoring stale .depend for /workspace/poudriere/jails/current/usr/src/contrib/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.h

$ 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
$

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200314/c7d2b3f2/attachment.sig>


More information about the freebsd-current mailing list