Bug 253142

Summary: elftoaout is sparc sparc64 only
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: elftoaoutAssignee: Dennis Gilmore <dennis>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jima, pjones, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-28 21:49:31 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:    
Bug Blocks: 179258, 179259, 238953, 179260    

Description Dennis Gilmore 2007-08-17 05:35:54 UTC
Description of problem:

elftoaout is used to convert elf binaries to a.out  sparc systems need to use 
a.out to boot. silo the boot loader depends on alftoaout.

Comment 1 David Woodhouse 2007-08-17 05:47:58 UTC
Er, doesn't objcopy also do that? 

Comment 2 Jima 2007-08-17 13:19:53 UTC
(In reply to comment #1)
> Er, doesn't objcopy also do that? 

If it does, I can't find the proper incantation to make it do so.

# objcopy -O a.out-sparc-linux /boot/vmlinuz-2.6.21-1.3149.al3.12 \
vmlinuz-2.6.21-1.3149.al3.12.aout.2
objcopy: Unable to change endianness of input file(s)

# objcopy -O a.out-sunos-big /boot/vmlinuz-2.6.21-1.3149.al3.12 \
vmlinuz-2.6.21-1.3149.al3.12.aout.2
BFD: vmlinuz-2.6.21-1.3149.al3.12.aout.2: can not represent section `.rodata' in
a.out object file format
objcopy: vmlinuz-2.6.21-1.3149.al3.12.aout.2: Nonrepresentable section on output
BFD: vmlinuz-2.6.21-1.3149.al3.12.aout.2: can not represent section `.rodata' in
a.out object file format
objcopy: vmlinuz-2.6.21-1.3149.al3.12.aout.2: Nonrepresentable section on output

The former produces an empty output file, the latter no output file.

The listed formats include:

objcopy: supported targets: elf32-sparc a.out-sparc-linux elf64-sparc
a.out-sunos-big elf64-little elf64-big elf32-little elf32-big srec symbolsrec
tekhex binary ihex

None of those look like what we want, unless I'm missing something.

Comment 3 Jima 2007-08-28 21:49:31 UTC
Okay, it was decided a few days ago that there wasn't too much point in us
keeping people from doing unusual or flat-out insane things, so Dennis removed
the EA from elftoaout, and 2.3-10 was built for Rawhide i386/ppc/ppc64/x86_64 on
2007-08-23.

As a result, I'm going to close this bug.