| To: | linux-mips <linux-mips@linux-mips.org> |
|---|---|
| Subject: | Problems compiling old code |
| From: | Ed Okerson <ed.okerson@gmail.com> |
| Date: | Mon, 1 Feb 2010 19:02:04 -0600 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=GaZLB6Dk3RWy4wgi2SdGToY8vYB/Pif7qxiBw6Sk2Ns=; b=vus1cn80kwnQV4HvmmvVCZymu74YmncAyw7jhGw3LkiM2Tin2lFzaoGpasdiv9UwWX goxyS3i+MHDCggLPBoesb1cue4HwRwm3KtwLi/OBXb43hKJXJCTP3efki7k8CNPGK7Yc 7ap42Fpp+DqDAH0reB14vnoNjiB2Kv+2W5ZG4= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IaenIMO/ATerVVLriSG3WBqtDagqT8qVkZwgSous2mNxVdNLQB/bfTa3MMQ7G5pwm+ Q+BBBjO/LMHzUus8Pt/UfSZXca5szwiXOGbzV/LD/xzRqhY5XQOl/Oo3XmGNkIbnIuC9 QLLxj46OQw9kdAoJgJ9YOxthmxnnFCXpxD02Q= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
I just inherited some old code that was previously being built on Cygwin with a very old sde-gcc (2.96). When I attempt to build it on a Linux machine using a more recent cross compiler and toolchain, I get the following errors: mipsel-linux-uclibc-objcopy --output-target=binary prog prog.bin BFD: Warning: Writing section `.text' to huge (ie negative) file offset 0x86bfff4c. BFD: Warning: Writing section `.rodata' to huge (ie negative) file offset 0x86c3e97c. BFD: Warning: Writing section `.data.rel.ro' to huge (ie negative) file offset 0x86c479ec. BFD: Warning: Writing section `.data' to huge (ie negative) file offset 0x86c4896c. BFD: Warning: Writing section `.got' to huge (ie negative) file offset 0x86c4d35c. BFD: Warning: Writing section `.sdata' to huge (ie negative) file offset 0x86c4d84c. mipsel-linux-uclibc-objcopy: prog.bin: File truncated Is there a simple solution to this? My Google skills must be waning as I was unable to find anything helpful. :( Ed Okerson |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v4] Virtual memory size detection for 64 bit MIPS CPUs, Guenter Roeck |
|---|---|
| Next by Date: | Re: [PATCH urgent] MIPS: Fixup of the r4k timer, Shane McDonald |
| Previous by Thread: | [PATCH v4] Virtual memory size detection for 64 bit MIPS CPUs, Guenter Roeck |
| Next by Thread: | [PATCH] MIPS: txx9: remove forced serial console setting, Yoichi Yuasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |