Re: Build failed compiling ittnotify_static.pico

From: Waitman Gobble <waitman_at_waitman.net>
Date: Fri, 13 Mar 2020 18:58:57 -0400
On 2020-03-13 17:49, Waitman Gobble wrote:
> On 2020-03-13 16:57, Bob Willcox wrote:
>> My 13.0-current system (just updated about 2 hours ago) that is
>> failing with this
>> error when trying to do a 'make makeworld'
>> 
>> --- ittnotify_static.pico ---
>> cc -target x86_64-unknown-freebsd13.0
>> --sysroot=/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=gnu99
>> -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/ittno
>>  tify_static.c -o ittnotify_static.pico
>> 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
         _at_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


-- 
Waitman Gobble
Received on Fri Mar 13 2020 - 21:59:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC