delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/24/13:40:20

Message-ID: <326FA363.1971@pobox.oleane.com>
Date: Thu, 24 Oct 1996 19:12:03 +0200
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: djgpp v2.01 : another LD bug??

Hi,

I installed djgpp v2.01 yesterday, and tried to compile povray 3.00 with 
it... With v2.00, the linker script had to be patched, as it bombed with 
a "Could not read symbol: memory exhausted!" message.

This, I was told, was the fault of a bug in ld, which was solved in 
Binutils 2.7, and so would work allright with v2.01...

Well, I tried yesterday, and guess what? Yep, same crash, same message...

Here is a clearer description of the bug: 

- the povray distribution contains a module called pmode.a, which is made 
of several objects files, which were TASM compiled assembly file, 
processed for inclusion in DJGPP

- one of the .o files, called _pmlite.o, (about 1k long) makes the error 
appear if it is inside pmode.a, however, if I take it away from pmode.a 
and link it separately (by adding _pmlite.o to the linker script), it 
works allright.

Everything looks like the .o format of _pmlite.o is "half compatible" 
with DJGPP ! Alone, it works, in a .a file it does not...

Any idea, anyone ???

- Raw text -


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