From: Manuel Lauss <manuel.lauss@gmail.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: Manuel Lauss via Libc-help <libc-help@sourceware.org>
Subject: Re: nss buildfailure in latest git sources
Date: Tue, 13 Jul 2021 15:30:15 +0200 [thread overview]
Message-ID: <CAOLZvyHAMVSNEx4NycJwT-=uZAminDLb9a0s3+f6050Hyk9+3g@mail.gmail.com> (raw)
In-Reply-To: <878s2ajqf5.fsf@oldenburg.str.redhat.com>
From the source of nss_module.c:
#if defined USE_NSCD && (!defined DO_STATIC_NSS || defined SHARED)
/* Nonzero if this is the nscd process. */
static bool is_nscd;
/* The callback passed to the init functions when nscd is used. */
static void (*nscd_init_cb) (size_t, struct traced_file *);
#endif
[...]
static bool
module_load_nss_files (struct nss_module *module)
{
if (is_nscd)
{
void (*cb) (size_t, struct traced_file *) = nscd_init_cb;
# ifdef PTR_DEMANGLE
PTR_DEMANGLE (cb);
# endif
_nss_files_init (cb);
}
configure --enable-stack-protector=no
--enable-stackguard-randomization --disable-cet --enable-kernel=3.2.0
--without-selinux --without-cvs --disable-werror --enable-bind-now
--buil
d=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --disable-profile
--without-gd --with-headers=/usr/include --prefix=/usr
--sysconfdir=/etc --localstatedir=/var --libdir=$(prefix)/lib64
--mandir=$(prefix)/share/man --infodir=$(prefix)/share/
info --libexecdir=$(libdir)/misc/glibc
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion="Gentoo
2.33-r1 p4" --disable-crypt --disable-static-pie --disable-systemtap
--disable-nscd libc_cv_complocaledir=${exec_prefix}/lib/locale libc_cv
_include_x86_isa_level=no libc_cv_have_x86_lahf_sahf=no
libc_cv_have_x86_movbe=no --disable-timezone-tools
Gentoo's default build.
Manuel
On Tue, Jul 13, 2021 at 3:26 PM Florian Weimer <fweimer@redhat.com> wrote:
>
> * Manuel Lauss:
>
> > Hello,
> > nss_module.c: In function ‘module_load_nss_files’:
> > nss_module.c:117:7: error: ‘is_nscd’ undeclared (first use in this function)
> > 117 | if (is_nscd)
> > | ^~~~~~~
> > nss_module.c:117:7: note: each undeclared identifier is reported only
> > once for each function it appears in
> > nss_module.c:119:51: error: ‘nscd_init_cb’ undeclared (first use in
> > this function); did you mean ‘nscd_init’?
> > 119 | void (*cb) (size_t, struct traced_file *) = nscd_init_cb;
> > | ^~~~~~~~~~~~
> > | nscd_init
> >
> > seems that is_nscd and nscd_init_cb are not always defined.
>
> We don't see this. How do you configure glibc?
>
> Thanks,
> Florian
>
next prev parent reply other threads:[~2021-07-13 13:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 13:15 Manuel Lauss
2021-07-13 13:26 ` Florian Weimer
2021-07-13 13:30 ` Manuel Lauss [this message]
2021-07-13 14:40 ` Florian Weimer
2021-07-13 14:50 ` Manuel Lauss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOLZvyHAMVSNEx4NycJwT-=uZAminDLb9a0s3+f6050Hyk9+3g@mail.gmail.com' \
--to=manuel.lauss@gmail.com \
--cc=fweimer@redhat.com \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).