ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/12/28/22:15:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with AS from binutils 2.21.1
Date: Wed, 28 Dec 2011 18:54:56 -0800 (PST)
Organization: http://groups.google.com
Lines: 34
Message-ID: <4f6d5674-a89a-4eed-a7c3-5e944257610e@f11g2000yql.googlegroups.com>
References: <8a32880d-526c-40ac-a9bb-e88fce4ee2aa AT z25g2000vbs DOT googlegroups DOT com>
<21258842-845d-4b87-9c29-52d0528e2ca0 AT dp8g2000vbb DOT googlegroups DOT com> <9m1d3rFcctU1 AT mid DOT dfncis DOT de>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1325127401 21450 127.0.0.1 (29 Dec 2011 02:56:41 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 29 Dec 2011 02:56:41 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: f11g2000yql.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HNKUARELSC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7
(KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7,gzip(gfe)
Bytes: 2599
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pBT3F1ep028797
Reply-To: djgpp AT delorie DOT com

Hi,

On Dec 28, 2:39 pm, Hans-Bernhard Bröker <HBBroe DOT  DOT  DOT  AT t-online DOT de>
wrote:
> On 25.12.2011 23:21, RayeR wrote:
>
> > btw dsputil.o is quite large (3,4MB) file, compiling taken some
> > seconds maybe problem due to low memory?
>
> No.  The problem is actually stated reasonably clearly right in that
> first error message you got:
>
> e:/djgpp/bin/as.exe: dsputil.o: /68: reloc overflow: 0x15b32 > 0xffff
>
> The problem is that this file just has too many relocations (i.e.
> addresses left to be fixed up by the linker).  Too many as in: more than
> the object file format used by DJGPP can handle.
>
> Bottom line: that source file is just too big.

Yeah, it's well known that DJGPP's COFF is a bit limited (though
hardly anybody has ever been bothered by this so far). Presumably DJ
has too little free time, so I hardly expect him to fix it anytime
soon, though indeed he's shown some interest.

Your best bet (for now) is a workaround.  ;-)

1). Split the problematic file(s) into smaller pieces (tedious, error-
prone), or ...
2). Recompile with DJELF "-B/dev/env/DJDIR/elf -static" (older GCC
4.0.0 + BinUtils 2.16 but should be "good enough")

http://na.mirror.garr.it/mirrors/djgpp/djelf/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019