Skip to content
  • Jonathan Nieder's avatar
    72bd2088
    nptl_db/Makefile: force C locale when running readelf · 72bd2088
    Jonathan Nieder authored
    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
    72bd2088
    nptl_db/Makefile: force C locale when running readelf
    Jonathan Nieder authored
    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
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading