This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 253142 - elftoaout is sparc sparc64 only
elftoaout is sparc sparc64 only
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: elftoaout (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Dennis Gilmore
Fedora Extras Quality Assurance
:
Depends On:
Blocks: FE-ExcludeArch-x86 FE-ExcludeArch-x64 F-ExcludeArch-ppc FE-ExcludeArch-ppc64
  Show dependency treegraph
 
Reported: 2007-08-17 01:35 EDT by Dennis Gilmore
Modified: 2007-11-30 17:12 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-28 17:49:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Dennis Gilmore 2007-08-17 01:35:54 EDT
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 01:47:58 EDT
Er, doesn't objcopy also do that? 
Comment 2 Jima 2007-08-17 09:19:53 EDT
(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 17:49:31 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.