mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
nptl_db/Makefile: force C locale when running readelf
db-symbols.awk relies on English-language readelf output to find the beginning of the symbol table, so force the locale. Without this change, "make check" fails in non-English locales: | diff -p -U 0 ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist [...]/nptl_db/libthread_db.symlist | readelf -W -s [...]/nptl/libpthread.so | gawk -f [...]/nptl_db/db-symbols.v.i > [...]/nptl_db/db-symbols.out | make[2]: *** [[...]/nptl_db/db-symbols.out] Erreur 1
This commit is contained in:
parent
55f115345a
commit
72bd208846
@ -1,3 +1,9 @@
|
||||
2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
|
||||
|
||||
[BZ #14661]
|
||||
* Makefile ($(objpfx)db-symbols.out): Force C locale when running
|
||||
readelf -s.
|
||||
|
||||
2012-03-07 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* Makefile (distribute): Remove variable.
|
||||
|
@ -60,6 +60,6 @@ $(objpfx)libthread_db.so: $(common-objpfx)libc.so \
|
||||
tests: $(objpfx)db-symbols.out
|
||||
$(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \
|
||||
$(common-objpfx)nptl/libpthread.so
|
||||
readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
|
||||
LC_ALL=C readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
|
||||
|
||||
$(objpfx)db-symbols.v.i: db-symbols.awk
|
||||
|
Loading…
Reference in New Issue
Block a user