This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: apply gnulib test suite to glibc


On Sat, 21 Apr 2012, Paul Pluzhnikov wrote:

> This step appears to be using installed glibc with messages like:
> ...
> checking for library containing gethostbyname... (cached) none required
> checking for gethostbyname... (cached) yes
> checking whether hypot works according to ISO C 99 with IEC 60559... yes
> checking for hypotf... yes
> ...
> 
> > ?3. In /tmp/testdir, run
> > ? ? $ ./configure CPPFLAGS="-Wall"
> 
> This also uses installed glibc.
> I could probably figure out how to make it use newly-built glibc.

CC="gcc -Wl,-dynamic-linker,/some/where/ld.so -Wl,-rpath,/some/where"

(I'm assuming you configured glibc --prefix=/usr and then installed in 
some suitable directory with install_root set.  In some cases you need 
both the /lib and /usr/lib or /lib64 and /usr/lib64 paths in the -rpath, 
and may need other environment variables such as GCONV_PATH and LOCPATH 
set, but for most programs those options suffice.  If you also want to use 
the new headers then more options will be needed; most of the time lately 
when doing that sort of compile with new libc I've been testing libm 
functions, for which the choice of headers for compilation is not 
significant.)

We also need more progress on merging fixes from gnulib to shared files.  
Paul Eggert made a start with a mktime patch series, but the approved 
changes don't seem to have been committed yet (and then the unreviewed 
ones should be reposted in a new patch series to attempt to get consensus 
on them).

-- 
Joseph S. Myers
joseph@codesourcery.com

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