Sorting in nm and testsuite
H. J. Lu
hjl@lucon.org
Tue Jun 25 09:34:00 GMT 2002
There is a problem with
http://sources.redhat.com/ml/binutils/2002-06/msg00594.html
Now the output from nm may be locale dependent. It causes the problem
with "make check" in gas:
../as-new -o dump.o
/home/hjl/work/linux/import/binutils/gas/testsuite/gas/symver/symver1.s
/export/build/gnu/binutils/build-full-i686-linux/gas/testsuite/../../binutils/nm-new
-n dump.o > dump.out
regexp_diff match failure
regexp "^0+00000.. d L_foo1$"
line "00000004 D foo2"
regexp_diff match failure
regexp "^0+00000.. D foo2$"
line "00000004 D foo2@@version1"
regexp_diff match failure
regexp "^0+00000.. D foo2@@version1$"
line "00000004 d L_foo1"
FAIL: symver symver1
It may also cause problems for other scripts. I don't know what is the
best way to deal with it. Shouldn't we introduce a new option,
-L|--sort-locale?
H.J.
More information about the Binutils
mailing list