This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fde-glibc.c bug


Jes Sorensen <jes@sunsite.dk> writes:

> Ulrich> Jakub Jelinek <jakub@redhat.com> writes:
> >> The tricky part would be if static binary dlopens a C++ library how
> >> would glibc which was dlopened get the phdr/phnum pair from the
> >> static binary.
> 
> Ulrich> Forget about this.  The only time glibc supports dlopen from
> Ulrich> static apps is to get NSS going.  Nothing else is supported.
> Ulrich> I'd love to add code which runs mkfs on all filesystems to, ehm,
> Ulrich> discourage people from doing anything else.
> 
> But we already have the problem with nss in static apps right now with
> libnss_files.so.2 being linked with libgcc that wants
> __ia64_app_header.

Jakub asked about C++ code.  NSS does not use any C++ and I'm more
than happy to declare that no user module must do it.  Similarly for
any kind of functionality needing frames etc.  Therefore NSS is not an
issue which means that dlopen in statically linked applications is not
an issue.  Period.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]