Date: Mon, 8 Nov 1999 11:01:52 +0200 (WET) From: Andris Pavenis To: Martin Stromberg cc: djgpp-workers AT delorie DOT com Subject: Re: binutils building problem In-Reply-To: <199911071239.NAA02352@propus.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 7 Nov 1999, Martin Stromberg wrote: > > > Third problem: strange link message while building binutils 2.9.1: > > > Well, there's nothing stopping me now, I thought, let's go for > > > binutils 2.9.1. It seems to make correctly, but I get these strange > > > messages from the make process (the first two): > > > > > > "gcc -g -o size size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a > > > f:/djgpp/bin/ld.exe: size: warning: .text: line number overflow: 0x16f8b > 0xffff" > > > > > > and > > > > > > "gcc -g -o objdump objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a ../libiberty/libiberty.a > > > f:/djgpp/bin/ld.exe: objdump: warning: .text: line number overflow: 0x1b314 > 0xffff" > > > > > > There are a total of 16 of such warnings. Are they be taken as > > > "comiplation failed" or are they harmless? What do they mean (if you > > > know)? > > > > > > > There will be problems with debug info (COFF limitations). Unless You > > are going to debug binutils You can ignore them. Or specify > > CFLAGS=-O2 > > Ok. There isn't anything that can make the debugging work? I don't > _think_ I'll need that but later on I'll surely will (Murphy's law...). You may try build part without debug info and part with it. > > > One more question: did You apply patch to fix problem with local > > labels I mentioned? > > No, it's a pure tar-ball from a gnu mirror. Where can I get it? I > don't really need it - right now I don't care if the binaries are > bloated as long as they function. > You can find patch inside following page http://www/delorie.com/howto/djgpp/linux-x-djgpp.html It's for building cross-binutils but patch can be used also native ones. > > If You want, I can make available some of my builds of recent binutils > > snapshots > > Do they include ELF as a target? (Don't tell anyone but I'm examining > the possibility to move DJGPP to ELF.) > No. I did not additionally hack binutils. Snapshots are built without any patches (problem with local labels is fixed there) Andris