delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/21/12:16:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83
X-Spam-Check-By: sourceware.org
Message-ID: <4AB7A6DD.4040501@alice.it>
Date: Mon, 21 Sep 2009 18:16:29 +0200
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Problem with GCC4[1.7]
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dave Korn wrote:
> It's for
> /usr/lib/gcc/i686-pc-cygwin/4.3.2/gnat1.exe,

While waiting for your answer, I did that, but it does not work. It 
still hangs:

[...]
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada...

Now that you confirmed that gnat1.exe, I retried, with same results. For 
completeness I have done this (as root):

$ cd /usr/lib/gcc/i686-pc-cygwin/4.3.2

$ ls -lrt /tmp/gnat.bsdiff
-rw-r--r-- 1 graziosi users 192 20 Sep 21:23 /tmp/gnat.bsdiff

$ ls -lrt gnat1.exe
-rwxr-xr-x 1 root root 10045440 12 Mar  2009 gnat1.exe

$ mv gnat1.exe gnat1.exe.orig

$ bspatch gnat1.exe.orig gnat1.exe /tmp/gnat.bsdiff

$ ls -lrt gnat1.exe*
-rwxr-xr-x 1 root root 10045440 12 Mar  2009 gnat1.exe.orig
-rw-r--r-- 1 root root 42546570 21 Sep 17:58 gnat1.exe

(*Note* the size!)

$ chmod +x gnat1.exe

$ ls -lrt gnat1.exe*
-rwxr-xr-x 1 root root 10045440 12 Mar  2009 gnat1.exe.orig
-rwxr-xr-x 1 root root 42546570 21 Sep 17:58 gnat1.exe

I have created also this simple test case:

$ cat conftest.adb
procedure conftest is begin null; end conftest;

$ gcc-4 -c conftest.adb

It hangs (50% CPU)

$ CTRL-C

Instead with gcc-3 it works:

$ gcc-3 -c conftest.adb

$ ls -lrt conftest.*
-rw-r--r-- 1 graziosi users  48 21 Sep 01:12 conftest.adb
-rw-r--r-- 1 graziosi users 293 21 Sep 18:11 conftest.ali
-rw-r--r-- 1 graziosi users 347 21 Sep 18:11 conftest.o


Cheers,
Angelo.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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