bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libvirt] gnulib tests in libvirt broken by newer glibc 2.26


From: Daniel P. Berrange
Subject: Re: [libvirt] gnulib tests in libvirt broken by newer glibc 2.26
Date: Fri, 6 Oct 2017 10:10:17 +0100
User-agent: Mutt/1.9.0 (2017-09-02)

On Sat, Sep 30, 2017 at 02:23:10AM +0200, Bruno Haible wrote:
> Hi,
> 
> Christian Ehrhardt wrote:
> > > Fedora 26 only has glibc 2.25 - you need to have Fedora rawhide to get
> > > the broken behaviour, as that has glibc 2.26.90
> > As Daniel said at least glibc 2.26 as in Fedora rawhide or Ubuntu Artful.
> 
> This tip is not helpful: I spent two hours trying Fedora Rawhide, and the
> version of today is not functional: the live ISO shows a desktop in which
> all you can do is to reboot, and the installation ISO does an installation
> but the installed system does not boot.
> 
> So we are back to the support mode where we ask for pieces of information
> for analysis by us (gnulib developers).
> 
> > ./configure gl_cv_func_getopt_posix=no ac_cv_header_getopt_h=no
> 
> This mode of configuration is not the usual one. (Why, if you are on a glibc
> system, would you want to avoid the system's <getopt.h> header and getopt()
> function?) But anyway, it should be supported, and the result should be
> a 'test-getopt-posix' program that uses gnulib's replacement:
> 
> $ nm test-getopt-posix | grep getopt
> 000000000060a160 b getopt_data
> 0000000000405b90 T _getopt_internal_r
> 0000000000400f90 t getopt_loop.constprop.0
> 0000000000406170 T rpl_getopt
> 0000000000406110 T rpl_getopt_internal
> 0000000000401130 t test_getopt

This is what I see when building on glib < 2.26 (ie historically it
works as expected)

[snip]


> Can you show three things, please?

>From my own F28 rawhide install with glibc-2.26.90-16.fc28.x86_64

> 
>   1) The output of
>      $ nm test-getopt-posix | grep getopt

$ nm test-getopt-posix | grep getopt
                 U getopt@@GLIBC_2.2.5
0000000000400ab0 t getopt_loop.constprop.0
0000000000400c50 t test_getopt


>   2) The output of
>      $ gcc -DHAVE_CONFIG_H -DGNULIB_STRICT_CHECKING=1 -I. -I.. -I../gllib -g 
> -O2 -E test-getopt-posix.c

Attached in the file 'question-2.txt'

> 
>   3) The output of
>      $ gcc -DHAVE_CONFIG_H -DGNULIB_STRICT_CHECKING=1 -I. -I.. -I../gllib -g 
> -O2 -E -dM test-getopt-posix.c

Attached in the file 'question-3.txt'

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Attachment: question-2.txt
Description: Text document

Attachment: question-3.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]