--- Additional Comments From hjl at lucon dot org 2005-10-24 00:38 ---
So, the problem is objcopy can't covert 64bit SPARC/ELF to 32bit SPARC/a.out.
Could you post the working 32bit kernel linker script?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving
--- Additional Comments From giffordj at linkline dot com 2005-10-23 18:20
---
Yes it does.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.
_
--- Additional Comments From hjl at lucon dot org 2005-10-20 21:13 ---
The odd thing is vmlinux is 64bit and sun4 32bit. Does objcopy work with
32bit vmlinux?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving this mail because: ---
You are on the CC
--- Additional Comments From giffordj at linkline dot com 2005-10-15 04:27
---
changed "-m elf64_sparc" to "-m sun4"
Received following error on every file
ld: warning: sparc:v9 architecture of input file `' is incompatible with
sparc output
It did create a file and I did attempt
--- Additional Comments From hjl at lucon dot org 2005-10-14 17:01 ---
Created an attachment (id=711)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=711&action=view)
A linker script
Can you try this linker script and change "-m elf64_sparc" to "-m sun4"?
--
http://sourceware.
--- Additional Comments From giffordj at linkline dot com 2005-10-14 04:52
---
Unable to attach them due to there size. But have made them available on my
server for public download until this bug is resolved.
http://ftp.jg555.com/linux.tar.bz2 - all .a and .o files
build.sh
http://ftp
--- Additional Comments From hjl at lucon dot org 2005-10-14 04:27 ---
I understand objcopy won't work and I am not sure if there is
anything we can do with objcopy. The best hope is to make the
linke to generate kernel in a.out from the ELF .o files. To check
it out, I need
1. All input
--- Additional Comments From giffordj at linkline dot com 2005-10-14 03:36
---
Steps to recreate
cd /usr/src/silo-1.4.9/second
objcopy -I elf32-sparc -O a.out-sunos-big second second.aout
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving this mail bec
--- Additional Comments From hjl at lucon dot org 2005-10-14 03:08 ---
Please show me how I can duplicate the problem on Linux/x86 with the
cross linker.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving this mail because: ---
You are on the CC list
--- Additional Comments From giffordj at linkline dot com 2005-10-14 01:45
---
Created an attachment (id=708)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=708&action=view)
Working silo.b files
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receivin
--- Additional Comments From giffordj at linkline dot com 2005-10-14 01:44
---
Created an attachment (id=707)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=707&action=view)
Source with .o files
--
What|Removed |Added
--- Additional Comments From hjl at lucon dot org 2005-10-13 23:23 ---
Please provide all input .o/.a files. I have cross binutils, but not cross gcc.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving this mail because: ---
You are on the CC list fo
--- Additional Comments From giffordj at linkline dot com 2005-10-13 22:24
---
Error message for the silo build (to show that it's the same)
objcopy -I elf32-sparc -O a.out-sunos-big second second.aout
BFD: second.aout: can not represent section `.rodata' in a.out object file
format
ob
--- Additional Comments From giffordj at linkline dot com 2005-10-13 22:23
---
Created an attachment (id=706)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=706&action=view)
Modifed version of silo to utilize objcopy
This is the corrected build version which demostrates the buil
--
What|Removed |Added
Attachment #704 is|0 |1
obsolete||
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
-
--- Additional Comments From giffordj at linkline dot com 2005-10-13 22:15
---
To build the attached silo use
make CROSS_COMPILE="sparc64-unknown-linux-gnu-"
Our build instructions are located at
http://www.linuxfromscratch.org/lfs/view/cross-lfs/sparc64/
--
http://sourceware.org/bu
--- Additional Comments From giffordj at linkline dot com 2005-10-13 22:13
---
Created an attachment (id=705)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=705&action=view)
Sparc 64 - netboot config
Kernel config for 2.6.12.6 sparc 64 build.
use make vmlinux.aout to build
--
--- Additional Comments From hjl at lucon dot org 2005-10-13 22:00 ---
Please provide all input files needed to reproduce it with a cross binutils.
--
What|Removed |Added
--- Additional Comments From giffordj at linkline dot com 2005-10-13 21:53
---
Created an attachment (id=704)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=704&action=view)
Modifed version of silo to utilize objcopy
This shows the modifications we are making and also demostrate
--- Additional Comments From giffordj at linkline dot com 2005-10-13 21:52
---
Copy of a working vmlinux.aout is available from
http://ftp.jg555.com/vmlinux.aout.bz2 unable to attached due to it's size
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1472
--- You are receiving
20 matches
Mail list logo