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/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252760

            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=YES and(/or?) WITHOUT_LIBPTHREAD=YES 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 
/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.so
install -U -l s -o root -g wheel -m 444 -S  libc.so 
/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 ---
===> 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  
/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} != "no"
cddl/lib/Makefile:.if ${MK_LIBTHR} != "no"
cddl/usr.sbin/Makefile:.if ${MK_LIBTHR} != "no"
cddl/usr.bin/Makefile:.if ${MK_LIBTHR} != "no"
lib/Makefile:SUBDIR.${MK_LIBTHR}+=      libthr
lib/Makefile.original:SUBDIR.${MK_LIBTHR}+=     libthr
sbin/ggate/Makefile:.if ${MK_LIBTHR} != "no"
share/man/man3/Makefile:.if ${MK_LIBTHR} != "no"
share/mk/src.opts.mk:MK_LIBTHR:=        no
tools/build/mk/OptionalObsoleteFiles.inc:.if ${MK_LIBTHR} == no
usr.sbin/ngctl/Makefile:.if ${MK_LIBTHR} != "no"
usr.sbin/Makefile:.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"

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

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

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

help

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