delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/24/00:03:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48100654.1050609@cwilson.fastmail.fm>
Date: Thu, 24 Apr 2008 00:02:28 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] NEW: libtool-2.2.2-2 / Updated: libltdl7-2.2.2-2
References: <announce DOT 48038853 DOT 7090707 AT cwilson DOT fastmail DOT fm> <480445AC DOT 7000005 AT users DOT sourceforge DOT net> <48044C3C DOT 5060504 AT cwilson DOT fastmail DOT fm> <480FB2BA DOT 208 AT users DOT sourceforge DOT net>
In-Reply-To: <480FB2BA.208@users.sourceforge.net>
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

Yaakov (Cygwin Ports) wrote:
> I'm not sure what's triggering this, but *sometimes* I'm getting more
> than that:
> 
> ./.libs/lt-foo.c:263: warning: string length `4368' is greater than the
> length `4095' ISO C99 compilers are required to support
> ./.libs/lt-foo.c: In function `main':
> ./.libs/lt-foo.c:288: warning: implicit declaration of function `_setmode'
> ./.libs/lt-foo.c: In function `chase_symlinks':
> ./.libs/lt-foo.c:577: warning: implicit declaration of function `realpath'
> ./.libs/lt-foo.c:577: warning: assignment makes pointer from integer
> without a cast

What's puzzling is there is no *error* message from the compiler -- just 
warnings.

> strip: './foo.exe': No such file

But obviously something went wrong.

I wonder of the string length warning is from the pre-processor, and 
then the compiler itself dies (dumps core?) without issuing an error 
message.

Does the problem -- missing wrappers -- *always* occur paired with the 
string length warning?  I can easily see the following;
   (1) the size of the wrapper script is very close to 4K
   (2) there are several embedded paths
   (3) sometimes, those paths are long enough to push the total script
       length over 4K -- and gcc-3.4.x is rude enough to fail silently.
If so, I could easily split the the script generation into two separate 
strings...

--
Chuck

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

- Raw text -


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