NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/54487: x86_64--netbsd-install: libclang_rt.asan-x86_64.a.syms: stat: No such file or directory



	Note: There was a bad value `' for the field `Priority'.
	It was set to the default value of `medium'.

	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         54487
>Category:       toolchain
>Synopsis:       x86_64--netbsd-install: libclang_rt.asan-x86_64.a.syms: stat: No such file or directory
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 24 20:30:00 +0000 2019
>Originator:     ng0%n0.is@localhost
>Release:        NetBSD 8.1
>Organization:
>Environment:
	
	
NetBSD localhost 8.1_RC1 NetBSD 8.1_RC1 (GENERIC) #0: Tue May 14 17:21:59 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
	
While building an update from 8.1 release (with gcc) to 9 (with llvm+clang), I encounter this:

#     build  ubsan_standalone-dynamic-m32/libclang_rt.ubsan_standalone-i386.so.0.0                                                                                                             
rm -f libclang_rt.ubsan_standalone-i386.so.0.0                                                                                                                        
/mnt/src/../tools/bin/x86_64--netbsd-clang++  -shared -Wl,-soname,libclang_rt.ubsan_standalone-i386.so.0  -Wl,--warn-shared-textrel -Wl,-Map=libclang_rt.ubsan_standalone-i386.so.0.map   --sysroot=/mnt/obj/destdir.amd64 -m32 -Wl,-z,relro  -o libclang_rt.ubsan_standalone-i386.so.0.0.tmp  -Wl,-rpath-link,/mnt/obj/destdir.amd64/lib  -L=/lib -Wl,-x  -Wl,--whole-archive libclang_rt.ubsan_standalone-i386_pic.a  -Wl,--no-whole-archive -m32 -lpthread -lrt -lm          
/mnt/src/../tools/bin/x86_64--netbsd-ld: skipping incompatible /mnt/obj/destdir.amd64/lib/libm.so when searching for -lm
/mnt/src/../tools/bin/x86_64--netbsd-ld: skipping incompatible /mnt/obj/destdir.amd64/lib/libm.so when searching for -lm                                                                       /mnt/src/../tools/bin/x86_64--netbsd-ld: skipping incompatible /mnt/obj/destdir.amd64/lib/libc.so when searching for -lc                                                                       
mv -f libclang_rt.ubsan_standalone-i386.so.0.0.tmp libclang_rt.ubsan_standalone-i386.so.0.0                                                                                                    
ln -sf libclang_rt.ubsan_standalone-i386.so.0.0 libclang_rt.ubsan_standalone-i386.so.0.tmp                                                                                                     
mv -f libclang_rt.ubsan_standalone-i386.so.0.tmp libclang_rt.ubsan_standalone-i386.so.0                                                                                 
ln -sf libclang_rt.ubsan_standalone-i386.so.0.0 libclang_rt.ubsan_standalone-i386.so.tmp                                
mv -f libclang_rt.ubsan_standalone-i386.so.tmp libclang_rt.ubsan_standalone-i386.so        
dependall ===> external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m32     
install-netbsd ===> external/bsd/compiler_rt/lib/clang/lib                                                                                                                                     install ===> external/bsd/compiler_rt/lib/clang/lib/netbsd                                                                                                                                     
install ===> external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64                                                                                                                            #   install  /mnt/obj/destdir.amd64/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-x86_64.a                                                                                                   
/mnt/src/../tools/bin/x86_64--netbsd-install -U -M /mnt/obj/destdir.amd64/METALOG -D /mnt/obj/destdir.amd64 -h sha256 -N /mnt/src/etc -c  -r -o root -g wheel -m 444   libclang_rt.asan-x86_64.a /mnt/obj/destdir.amd64/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-x86_64.a
#   install  /mnt/obj/destdir.amd64/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-x86_64.a.syms
/mnt/src/../tools/bin/x86_64--netbsd-install -U -M /mnt/obj/destdir.amd64/METALOG -D /mnt/obj/destdir.amd64 -h sha256 -N /mnt/src/etc -c  -r  -o root  -g wheel  -m 444   libclang_rt.asan-x86_64.a.syms /mnt/obj/destdir.amd64/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-x86_64.a.syms                                                                                                 
x86_64--netbsd-install: libclang_rt.asan-x86_64.a.syms: stat: No such file or directory
                                                                                                                                                                                               *** Failed target:  /mnt/obj/destdir.amd64/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-x86_64.a.syms                                                                                       *** Failed command: /mnt/src/../tools/bin/x86_64--netbsd-install -U -M /mnt/obj/destdir.amd64/METALOG -D /mnt/obj/destdir.amd64 -h sha256 -N /mnt/src/etc -c -r -o root -g wheel -m 444 libclang_rt.asan-x86_64.a.syms /mnt/obj/destdir.amd64/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-x86_64.a.syms
*** Error code 1

Stop.
nbmake[6]: stopped in /mnt/src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64

*** Failed target:  install-asan-m64
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/bsd/compiler_rt/lib/clang/lib/netbsd/"; real="/mnt/src/external/bsd/compiler_rt/lib/clang/lib/netbsd" ;; *) this="external/bsd/compiler_rt/lib/clang/lib/netbsd/${dir}/"; real="/mnt/src/external/bsd/compiler_rt/lib/clang/lib/netbsd/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget asan-m64 install
*** Error code 1

Stop.
nbmake[5]: stopped in /mnt/src/external/bsd/compiler_rt/lib/clang/lib/netbsd

*** Failed target:  install-netbsd
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/bsd/compiler_rt/lib/clang/lib/"; real="/mnt/src/external/bsd/compiler_rt/lib/clang/lib" ;; *) this="external/bsd/compiler_rt/lib/clang/lib/${dir}/"; real="/mnt/src/external/bsd/compiler_rt/lib/clang/lib/${dir}" ;; esac; show=${this:-.
}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget netbsd install
*** Error code 1

Stop.
nbmake[4]: stopped in /mnt/src/external/bsd/compiler_rt/lib/clang/lib

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/bsd/compiler_rt/lib/clang/lib/"; real="/mnt
/src/external/bsd/compiler_rt/lib/clang/lib" ;; *) this="external/bsd/compiler_rt/lib/clang/lib/${dir}/"; real="/mnt/src/external/bsd/compiler_rt/lib/clang/lib/${dir}" ;; esac; show=${this:-.
}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . install-netbsd
*** Error code 1

Stop.
nbmake[3]: stopped in /mnt/src/external/bsd/compiler_rt/lib/clang/lib

*** Failed target:  do-sanitizer-lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/mnt/src" ;; *) this="${dir}/"; real="/mnt/
src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget exte
rnal/bsd/compiler_rt/lib/clang/lib build_install
*** Error code 1

Stop.
nbmake[2]: stopped in /mnt/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/mnt/src" ;; *) this="${dir}/"; real="/mnt/
src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do
-sanitizer-lib
*** Error code 1

Stop.
nbmake[1]: stopped in /mnt/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/mnt/src" ;; *) this="${dir}/"; real="/mnt/
src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . bu
ild NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /mnt/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***

>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index