From: Maurice Lombardi Newsgroups: comp.os.msdos.djgpp Subject: bug when upgrading bnu210->bnu211 ? Date: Sat, 23 Jun 2001 21:51:30 +0200 Organization: Universite Joseph Fourier - Grenoble 1 Lines: 52 Message-ID: <3B34F342.2020704@ujf-grenoble.fr> NNTP-Posting-Host: knautie.ujf-grenoble.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: amazone.ujf-grenoble.fr 993318169 16326 152.77.252.196 (23 Jun 2001 17:42:49 GMT) X-Complaints-To: abus AT ujf-grenoble DOT fr NNTP-Posting-Date: 23 Jun 2001 17:42:49 GMT User-Agent: Mozilla/5.0 (Windows; U; Win98; fr-FR; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: fr,it,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, I have recently upgraded binutils, from bnu210 to bnu211 (all on djgpp v2.03) I used it to compile gpc-20010605 and ran the test suite. Everything is OK except for a bug in fay.pas which was not present with bnu210 (with the same gpc sources). C:\djgpp\b\gnu\gcc-2.953\gcc\p\test>gpc -g -O3 --autobuild fay.pas c:/djgpp/tmp\ccdaaaaa: Assembler messages: c:/djgpp/tmp\ccdaaaaa:934: Fatal error: C_EFCN symbol out of scope This is related to COFF debugging: it compiles and runs perfectly without the -g option. Looking into coff.h, I found #define C_EFCN 0xff /* physical end of function */ and line 934 is the last line of fay.s, so this seems consistent. Looking to gpc mail archives I found two occurences of the same error in the same test program fay.pas, in mails from andris when we upgraded from gcc-2.95.2 to gcc-2.95.3, and which disappeared when his suggestions enabled to compile gpc. Nothing I can think about with such an erratic bug. For reference, if somebody has an idea, I have uploaded to agnes in the directory ftp://agnes.dida.physik.uni-essen.de/home/maurice/ gpc compiled with the two versions of bnu (names are explicit), and the modified version of gcc2953s2.zip I used to compile them: modifications include a libiberty/configure.in.diff necessary to use version 2.50 of autoconf and changes in build.bat and djbuild1.sh to compile only gcc and gpc instead of the whole compiler collection. Meanwhile I reverted to bnu210 and the link gpc2953b.zip points to the bnu210 version. Hope this helps (little hope in fact) Maurice. -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr