Description of Problem: binutils: readelf -r fails "make -k check" Version-Release number of selected component (if applicable): binutils-2.11.90.0.8-12.src.rpm How Reproducible: always Steps to Reproduce: 1. rpm -i binutils-2.11.90.0.8-12.src.rpm 1a. cd /usr/src/redhat/SPECS 2. rpm -ba binutils.spec 3. cd /usr/src/redhat/BUILD/binutils-2.11.90.0.8 4. make -k check 5. review ./binutils/binutils.log searching for "readelf -r" Actual Results: exec /usr/src/redhat/BUILD/binutils-2.11.90.0.8/binutils/readelf -r tmpdir/bintest.o > readelf.out regexp_diff match failure regexp "^ 00000004 00.* R_.*00000000 external_symbol.*$" line " 00000004 700000001 R_ALPHA_REFLONG 0000000000000000 external_symbol + 0" FAIL: readelf -r Expected Results: exec /usr/src/redhat/BUILD/binutils-2.11.90.0.8/binutils/readelf -r PASS: readelf -r Additional Information: expected results achieved on intel RedHat7.2
readelf -r is correct, the bug is in the regexp pattern. In current CVS binutils it looks like: ^0+04 [0-9A-Fa-f]+ *R_.*0+00 external_symbol.*$