[Bug 203094] Unable to make installworld without disabling tests and setting COMPILER_TYPE=clang
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jul 2024 10:39:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203094
ant2 <ant_mail@inbox.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ant_mail@inbox.ru
--- Comment #22 from ant2 <ant_mail@inbox.ru> ---
I'm experience the same (?) problem with 14-stable.
#uname -a
FreeBSD 14.1-STABLE amd64
src#git log -1
commit ae979c76443bd7c33ed9f22182b4421d2c64b619 (HEAD -> stable/14,
origin/stable/14)
Date: Thu Jun 20 12:27:43 2024 +0800
...
#cat /etc/make.conf
CPUTYPE=nehalem
MACHINE_ARCH=amd64
#cat /etc/src.conf
#--Compiler/Linker--
WITHOUT_CROSS_COMPILER="YES"
# == WITHOUT_TOOLCHAIN + WITH_LLDB
WITHOUT_CLANG="YES"
WITHOUT_CLANG_EXTRAS="YES"
WITHOUT_CLANG_FULL="YES"
WITHOUT_LLD="YES"
WITHOUT_LLVM_COV="YES"
...
===
After successfull 'buildworld' 'distributeworld' fails with error:
install -N /tank/bsdsrc/14s/src14s/etc -s -o root -g wheel -m 555 h_memset
/tank/bsdsrc/14s/distworld/tests/usr/tests/lib/libc/ssp/h_memset
install -N /tank/bsdsrc/14s/src14s/etc -o root -g wheel -m 444 h_memset.debug
/tank/bsdsrc/14s/distworld/tests/usr/lib/debug/usr/tests/lib/libc/ssp/h_memset.debug
(cd /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp && DEPENDFILE=.depend.h_raw
NO_SUBDIR=1 make -f /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp/Makefile
_RECURSING_PROGS=t PROG=h_raw install)
install -N /tank/bsdsrc/14s/src14s/etc -s -o root -g wheel -m 555 h_raw
/tank/bsdsrc/14s/distworld/tests/usr/tests/lib/libc/ssp/h_raw
install: h_raw: No such file or directory
*** Error code 71
Stop.
make[9]: stopped in /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp
*** Error code 1
Stop.
make[8]: stopped in /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp
*** Error code 1
Stop.
make[7]: stopped in /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp
*** Error code 1
Stop.
make[6]: stopped in /tank/bsdsrc/14s/src14s/lib/libc/tests
*** Error code 1
Stop.
make[5]: stopped in /tank/bsdsrc/14s/src14s/lib/libc
*** Error code 1
Stop.
make[4]: stopped in /tank/bsdsrc/14s/src14s/lib
*** Error code 1
Stop.
make[3]: stopped in /tank/bsdsrc/14s/src14s
*** Error code 1
Stop.
make[2]: stopped in /tank/bsdsrc/14s/src14s
94,39 real 53,77 user 34,58 sys
*** Error code 1
Stop.
make[1]: stopped in /tank/bsdsrc/14s/src14s
*** Error code 1
Stop.
make: stopped in /tank/bsdsrc/14s/src14s
====
It seems that h_raw conditionally included(excluded) in a build process but
this condition differs in 'distributeworld` target:
./lib/libc/tests/ssp/Makefile:
...
# XXX: the h_raw/h_read testcases don't cause a SIGABRT with in-tree gcc right
# now on amd64 when it trips the stack bounds specified in t_ssp.sh . This
# probably needs to be fixed as it's currently hardcoded.
.if ${COMPILER_TYPE} == "clang" && !defined(_SKIP_BUILD) && \
(!defined(_RECURSING_PROGS) || ${PROG} == "h_raw")
.include "${SRCTOP}/lib/libclang_rt/compiler-rt-vars.mk"
_libclang_rt_ubsan=
${SYSROOT}${SANITIZER_LIBDIR}/libclang_rt.ubsan_standalone-${C
.if exists(${_libclang_rt_ubsan})
PROGS+= h_raw
LDADD.h_raw+= ${SANITIZER_LDFLAGS}
.else
.if make(all)
.info Could not find runtime library ${_libclang_rt_ubsan}, skipping h_raw
.endif
.endif
.endif
...
--
You are receiving this mail because:
You are the assignee for the bug.