delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/15/18:59:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=Eu/ufTSEYQsPDNvlAnseix1Q8frCD7AFzQ9WgHmchL1
LtXlGyualYR5thds8uBoUxvRkbVoVxm0PtRMaLayy9re7SQdNzOYSu9U9hYOEcYX
gR66gAJQKkF8YumvG9zYSt+f20QjSPNJoFTDv77Yi6ljfCf8bMjg1Lm7Xqf+5ZLs
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=IzbWFX8TLUE1afanwM9E8ihx4Lg=; b=Aue5966mLv3emN+NZ
VduIpAI5gJnGKCuljnmXuGM6ou8RJQ1a9S1njy1k0GC7wsEykfkRiOEmvnMNNFJ6
Y32ExP+S7nR0HkB0UnKw1IVau2pOlAX7tgqUlqrmBspBDS0WlEpNnLMJmtNGtBLj
MXRtlSUPyOzq8MfOvUOCRvqKeo=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f182.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=PWcDOrh71+K/oDlRC4KpoB1/SYJTW1Ldnssxsn7l8Ck=; b=lqr7I8u9G8OmV6FxEQk0R9Rtfmt2EBXNQFzXOKWqTUf2tmwLpViT8ZxFzOzq2aaups adHFvN9eLJ66szpaXQT6XSllb1ANKC93mFxGdH+a9g1mq70Nfjy+0u3WaEXCRxEx1h18 4s3H48AncglIEur6f87rFdGeV31u5YQdQlk6jbjPmmIP0BoLkLLeSTVFqoB/2vW+YISp 5WzMczjqr/jMh2qyMDJAzF0XekTk71N8u4PtM+7Pxz3HvwCwTRojibtTrmEihe/VF6Os Qf0mG31pDFCfny+rWfbE9tG71fP4Xxle3XjYkj3pSFd/mQCfMkxQaa94AQSa+b5Y3D4F FEHg==
X-Gm-Message-State: ALoCoQlGBCQdsJmb32TiPJYsyPyMTkzwviz1nowl8N6iV7JiNsSRlmiLMoVbfynlhF64gDFvgLDC
X-Received: by 10.43.163.200 with SMTP id mp8mr12779484icc.18.1394924354677; Sat, 15 Mar 2014 15:59:14 -0700 (PDT)
Message-ID: <5324DB20.6090705@breisch.org>
Date: Sat, 15 Mar 2014 18:58:40 -0400
From: "Chris J. Breisch" <chris DOT ml AT breisch DOT org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin needs a man-db port
References: <5241EF7D DOT 9080309 AT xs4all DOT nl> <52433E7A DOT 4070600 AT xs4all DOT nl> <524341E5 DOT 6080601 AT xs4all DOT nl> <5322EA04 DOT 3040008 AT xs4all DOT nl> <5322FCE8 DOT 50604 AT breisch DOT org> <53230EBB DOT 5050500 AT xs4all DOT nl> <5323112A DOT 8080200 AT breisch DOT org> <20140314163447 DOT GC2355 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140314163447.GC2355@calimero.vinschen.de>
X-IsSubscribed: yes

Corinna Vinschen wrote:
> The "relocation truncated to fit" gcc error message on 64 bit systems is
> a red herring.  It's in fact just what it says, there's an undefined
> symbol.  Off the top of my head I don't know where ck_assert_failed is
> defined, probably some library, but the leading underscore is suspicious.
> The 64 bit ABI does not prepend underscores to symbol names as the 32
> bit ABI does.
>
>
> Corinna
>
Ok, this was my fault. Not wanting to overwrite the existing install of 
"check" since I was testing, I put it in /usr/local. I then neglected to 
add /usr/local/lib to my LIBRARY_PATH. _ck_assert_failed is the name of 
the function, complete with leading underscore. When I allowed the 
linker to actually link against the correct version of the library, 
things worked much better.

I then ran into the following error:
Running suite(s): Basic
/home/Chris/Stuff/non-GNU/libpipeline/build/tests/./.libs/basic: can't 
execute sh: No such file or directory
87%: Checks: 8, Failures: 0, Errors: 1
../../libpipeline-1.2.6/tests/basic.c:170:E:clearenv:test_basic_clearenv:0: 
(after this point) Received signal 11 (Segmentation fault)

That's the only failure. 6 other tests pass.

I'm not yet sure why it can't find "sh" unless it's not looking in $PATH 
or $PATH has been obliterated somehow.

Still digging...

-- 
Chris J. Breisch

--
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