svn commit: r292723 - in head: lib/libc share/mk

Ed Schouten ed at nuxi.nl
Sat Dec 26 19:40:10 UTC 2015


Hi Colin,

2015-12-26 1:38 GMT+01:00 Colin Percival <cperciva at freebsd.org>:
> I just did some tests with one of my pthread-using tools, and it passes
> all of my tests with -lc added before or after -lpthread.  Can you
> remember any details of how the problems showed up?  Is it possible that
> this has been fixed since then?  I know there's a lot of tricks to make
> sure that the right versions of functions get called.

I think I ran into these issues back when I was using FreeBSD 5 or 6,
and I forgot about all of the details. Kostik's email, though, does
sound reassuring. Let's assume that the problem I ran into no longer
exists.

> Yes, adding a dummy library was my first thought, but kib pointed out
> that a symlink was much simpler.  Obviously it never occurred to me that
> linking to a library which we were going to be linking to anyway would
> cause problems...

Well, they're both equally simple, right? An empty .a file is only a
couple of bytes in size, likely not larger than a symlink. But I'm
digressing.

Thanks,
-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717


More information about the svn-src-head mailing list