Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2020 18:58:57 -0400
From:      Waitman Gobble <waitman@waitman.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Build failed compiling ittnotify_static.pico
Message-ID:  <14a5e39b65511d7ab4ffe370717d57e5@waitman.net>
In-Reply-To: <8740b5f9fef5ce417ea8968543de2992@waitman.net>
References:  <20200313205706.GD1053@rancor.immure.com> <8740b5f9fef5ce417ea8968543de2992@waitman.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
         @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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14a5e39b65511d7ab4ffe370717d57e5>