Bug 490585

Summary: sparc fails make check
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: elfutilsAssignee: Roland McGrath <roland>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: roland, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: 0.141-1.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 491163 (view as bug list) Environment:
Last Closed: 2009-05-09 03:56:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 491163    
Bug Blocks:    

Description Dennis Gilmore 2009-03-17 05:38:08 UTC
when building elfutils-0.140-1  on F-9 F-10 and rawhide  make check fails with the following

section [36] '.symtab': symbol 74: st_value out of bounds
section [36] '.symtab': symbol 94: st_value out of bounds
*** failure in ../src/addr2line
section [ 8] '.rela.dyn': relocation 170: relocation type invalid for the file type
*** failure in ../libelf/libelf.so
section [ 8] '.rela.dyn': relocation 883: relocation type invalid for the file type
*** failure in ../libdw/libdw.so
section [ 8] '.rela.dyn': relocation 108: relocation type invalid for the file type
*** failure in ../libasm/libasm.so
FAIL: run-elflint-self.sh


builds are at 
http://sparc.koji.fedoraproject.org/koji/taskinfo?taskID=165677
http://sparc.koji.fedoraproject.org/koji/taskinfo?taskID=163247
http://sparc.koji.fedoraproject.org/koji/taskinfo?taskID=166077

Comment 1 Dennis Gilmore 2009-03-17 05:57:32 UTC
https://sparc.koji.fedoraproject.org/koji/taskinfo?taskID=166119  is the rawhide build

Comment 2 Roland McGrath 2009-03-18 08:11:06 UTC
I need to see the offending binaries the elflint test complains about.
Or access to a sparc machine when I can try it (had access to some sparc before but forget where it is now).

Comment 3 Roland McGrath 2009-03-19 08:29:04 UTC
The reloc type errors will be fixed when I get the sparc_reloc.def table filled in from folks who know all the sparc reloc type usage.

The st_value complaints only happen on 32-bit.  These are valid complaints about what looks like an ld (binutils) bug.

[23] .plt                 PROGBITS     000223a8 0023a8 00025c  0 WAX    0   0  4
[24] .bss                 NOBITS       00022608 002604 000038  0 WA     0   0  8
   74: 00022604      0 NOTYPE  WEAK   DEFAULT       24 data_start
   93: 00022604      0 NOTYPE  GLOBAL DEFAULT       24 __data_start

These .bss symbols got assigned the address of the padding word before .bss starts.  You'll have to take that up with binutils maintainers, which I ain't.

Comment 4 Roland McGrath 2009-04-02 02:12:35 UTC
Reloc stuff done upstream, and now just this on dgilmore's rawhideish mock:

32:

section [36] '.symtab': symbol 74: st_value out of bounds
section [36] '.symtab': symbol 93: st_value out of bounds
*** failure in ../src/addr2line

64:

PASS: run-elflint-self.sh

Comment 5 Dennis Gilmore 2009-04-15 07:05:56 UTC
glibc that fixes the remaining issue was built today. https://sparc.koji.fedoraproject.org/koji/taskinfo?taskID=170082 is a scratch build with the new glibc and upstream fixes.  could we please have a new elfutils pushed and built.

Comment 6 Fedora Update System 2009-04-24 22:46:33 UTC
elfutils-0.141-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/elfutils-0.141-1.fc9

Comment 7 Fedora Update System 2009-04-24 22:46:48 UTC
elfutils-0.141-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/elfutils-0.141-1.fc10

Comment 8 Fedora Update System 2009-04-27 21:31:37 UTC
elfutils-0.141-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3994

Comment 9 Fedora Update System 2009-04-27 21:35:40 UTC
elfutils-0.141-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-4018

Comment 10 Fedora Update System 2009-05-09 03:55:54 UTC
elfutils-0.141-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-05-09 04:20:06 UTC
elfutils-0.141-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2009-05-19 21:58:25 UTC
elfutils-0.141-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/elfutils-0.141-1.fc11

Comment 13 Fedora Update System 2009-05-20 23:53:22 UTC
elfutils-0.141-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.