This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin needs a man-db port
- From: "Chris J. Breisch" <chris dot ml at breisch dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 15 Mar 2014 18:58:40 -0400
- Subject: Re: Cygwin needs a man-db port
- Authentication-results: sourceware.org; auth=none
- 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>
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