Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 00:43:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252760] WITHOUT_LIBTHR and WITHOUT_LIBPTHREAD build options fail on lib/libgcc_s and lib/libthr
Message-ID:  <bug-252760-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 252760
           Summary: WITHOUT_LIBTHR and WITHOUT_LIBPTHREAD build options
                    fail on lib/libgcc_s and lib/libthr
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: editor@callfortesting.org

If WITHOUT_LIBTHR=3DYES and(/or?) WITHOUT_LIBPTHREAD=3DYES are set in /etc/=
src.conf
on 13.0-ALPHA1 amd64, the following errors are generated:

--- _libinstall ---
install -U  -s -o root -g wheel -m 444   -S  libc.so.7
/usr/obj/usr/src/amd64.amd64/tmp/lib/
install -U  -S -C -o root -g wheel -m 444   libc.ld=20
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.so
install -U -l s -o root -g wheel -m 444 -S  libc.so=20
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libxnet.so
install -U  -o root -g wheel -m 444   libc_pic.a
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/
--- lib/libgcc_s__L ---
=3D=3D=3D> lib/libgcc_s (obj,all,install)
--- _libinstall ---
install -U  -s -o root -g wheel -m 444   -S  libgcc_s.so.1
/usr/obj/usr/src/amd64.amd64/tmp/lib/
install -U -l rs -o root -g wheel -m 755 -S=20=20
/usr/obj/usr/src/amd64.amd64/tmp/lib/libgcc_s.so.1
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libgcc_s.so
--- lib/libbz2__L ---
--- lib/libcrypt__L ---
--- lib/libelf__L ---
--- lib/libexpat__L ---
--- lib/libfigpar__L ---
--- lib/libjail__L ---
--- lib/libkiconv__L ---
make[3]: make[3]: don't know how to make lib/libthr__L. Stop

Occurrences of them:

root@freebsd:/usr/src # grep -R MK_LIBTHR *
Makefile.inc1:.if ${MK_LIBTHR} !=3D "no"
cddl/lib/Makefile:.if ${MK_LIBTHR} !=3D "no"
cddl/usr.sbin/Makefile:.if ${MK_LIBTHR} !=3D "no"
cddl/usr.bin/Makefile:.if ${MK_LIBTHR} !=3D "no"
lib/Makefile:SUBDIR.${MK_LIBTHR}+=3D      libthr
lib/Makefile.original:SUBDIR.${MK_LIBTHR}+=3D     libthr
sbin/ggate/Makefile:.if ${MK_LIBTHR} !=3D "no"
share/man/man3/Makefile:.if ${MK_LIBTHR} !=3D "no"
share/mk/src.opts.mk:MK_LIBTHR:=3D        no
tools/build/mk/OptionalObsoleteFiles.inc:.if ${MK_LIBTHR} =3D=3D no
usr.sbin/ngctl/Makefile:.if ${MK_LIBTHR} !=3D "no"
usr.sbin/Makefile:.if ${MK_LIBTHR} !=3D "no" || ${MK_LIBPTHREAD} !=3D "no"

root@freebsd:/usr/src # grep -R MK_LIBPTHREAD *
share/mk/src.opts.mk:.if ${MK_LIBPTHREAD} =3D=3D "no"
usr.sbin/Makefile:.if ${MK_LIBTHR} !=3D "no" || ${MK_LIBPTHREAD} !=3D "no"

I have experimented with a number of conditional exclusions in lib/Makefile=
 but
was not successful in resolving the issue.

--=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-252760-227>