Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2024 10:39:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 203094] Unable to make installworld without disabling tests and setting COMPILER_TYPE=clang
Message-ID:  <bug-203094-32464-1hwR1UaqbK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203094-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203094-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203094

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=3Dnehalem
MACHINE_ARCH=3Damd64

#cat /etc/src.conf
#--Compiler/Linker--
WITHOUT_CROSS_COMPILER=3D"YES"

# =3D=3D WITHOUT_TOOLCHAIN + WITH_LLDB
WITHOUT_CLANG=3D"YES"
WITHOUT_CLANG_EXTRAS=3D"YES"
WITHOUT_CLANG_FULL=3D"YES"
WITHOUT_LLD=3D"YES"
WITHOUT_LLVM_COV=3D"YES"
...

=3D=3D=3D

After successfull 'buildworld' 'distributeworld' fails with error:

install -N /tank/bsdsrc/14s/src14s/etc  -s -o root -g wheel -m 555   h_mems=
et
/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.d=
ebug
/tank/bsdsrc/14s/distworld/tests/usr/lib/debug/usr/tests/lib/libc/ssp/h_mem=
set.debug
(cd /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp &&  DEPENDFILE=3D.depend.h_r=
aw=20
NO_SUBDIR=3D1 make -f /tank/bsdsrc/14s/src14s/lib/libc/tests/ssp/Makefile
_RECURSING_PROGS=3Dt   PROG=3Dh_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

=3D=3D=3D=3D
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 ri=
ght
# 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} =3D=3D "clang" && !defined(_SKIP_BUILD) && \
    (!defined(_RECURSING_PROGS) || ${PROG} =3D=3D "h_raw")
.include "${SRCTOP}/lib/libclang_rt/compiler-rt-vars.mk"
_libclang_rt_ubsan=3D=20=20=20=20
${SYSROOT}${SANITIZER_LIBDIR}/libclang_rt.ubsan_standalone-${C
.if exists(${_libclang_rt_ubsan})
PROGS+=3D         h_raw
LDADD.h_raw+=3D   ${SANITIZER_LDFLAGS}
.else
.if make(all)
.info Could not find runtime library ${_libclang_rt_ubsan}, skipping h_raw
.endif
.endif
.endif
...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203094-32464-1hwR1UaqbK>