delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/27/17:20:27

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ld.exe line number overflow ?!??!
Date: Tue, 27 May 1997 12:50:33 +0200
Organization: TU Chemnitz-Zwickau
Lines: 24
Message-ID: <338ABC79.1C8A1A5D@Mathematik.tu-chemnitz.de>
References: <3388739e DOT 26426638 AT news DOT arnes DOT si>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Janez Pers wrote:
> 
> d:/djgpp/bin\ld.exe: cc1: .text: line number overflow: 0x10b51 > 0
> xffff

This is a limitation of the COFF object file format. It can hold
only up to 0xffff line number entries in the debugging information
and the above shows you, that this limit reached.

Either compile some or all file with debugging information
disabled (with -g0 or without any -g) or do the final link
step by stripping the debugging information, for instance
the following should work:

make LDFLAGS=-s

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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