From owner-svn-src-head@freebsd.org Sat Dec 26 19:40:10 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6831A53066 for ; Sat, 26 Dec 2015 19:40:10 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yk0-x22e.google.com (mail-yk0-x22e.google.com [IPv6:2607:f8b0:4002:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CA4712D5 for ; Sat, 26 Dec 2015 19:40:09 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-yk0-x22e.google.com with SMTP id p130so259426990yka.1 for ; Sat, 26 Dec 2015 11:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IXEayqHxeV/2UXZU3yIC/rQJCJ5ni9x3aok6M97XoVw=; b=ZPLDt3ZUzDzD2ltAajCepCSjTfwdnN5AhR+zxuna5B+OB3BjbcV3W6wKpav2QYKDS6 4XJgkghc+bls6wgt2jnmQdMPg53L4WScWjMnCGyiTN9ouYHl7GEby6MkbBYn6Oc3aEH8 TeratiX3uaQM8TOcjsuX+WNG40cDCfyfAZZ4X9x1bSj2sQcaFZsbtR5h00Gp0UHuW4zj 1GfPy5BHRBwO2NRJP88CFg2DkkNc00GEq4Gv81FqT4nHwlk+75wxoC71hzns0cYd4OLq u1GdQCdPYvEdGOmyrBsoKt927BZtlf9IAY5LpHlUz4iWZBpoOYuPm1+jNK1QOYmuVw4r Os9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IXEayqHxeV/2UXZU3yIC/rQJCJ5ni9x3aok6M97XoVw=; b=Z8vx95WPSZKGB49iNPwY37UdQu/x/QYNoSlRT9sFhXLD8xOBtM4LL4BaXNN5+GB2JT B1LXpkdrmW1Cy7gGs+tBIAuhHu9DwK/yUBAlXraR7jFdvg/HMSxniYVx1AIfkSMF5Z4Y QckduHkgi5RrrywxRn0RIWLvMTkYnqFdOK/3NbrJZq8OsmzrfOfQwgDwZ/x1huWUmX6d hJg1+TRuQJRFD1LTeWo+v66oaCuNr50UyuIAWi38L19hGqfdw1XbifjLdOk5Wk/24UoY t59UmsggeuvOIVQLmIT1B2ThhafAOv03gSkkW3McKeDy81oWyQ1DdQUkSp6D6sRU5REn jg+Q== X-Gm-Message-State: ALoCoQm4/MUUc/sZ7YqmYgmwT2Rw520+XHBkrxIl63SEgPCDuUDUMatpn9BaoudFQ6KiLMJPYT+yhSqcvPoH5GKeSknzUKwX4g== MIME-Version: 1.0 X-Received: by 10.129.133.2 with SMTP id v2mr39530375ywf.76.1451158808856; Sat, 26 Dec 2015 11:40:08 -0800 (PST) Received: by 10.13.211.71 with HTTP; Sat, 26 Dec 2015 11:40:08 -0800 (PST) In-Reply-To: <567DE180.3040601@freebsd.org> References: <201512251129.tBPBTIZp058825@repo.freebsd.org> <567DE180.3040601@freebsd.org> Date: Sat, 26 Dec 2015 20:40:08 +0100 Message-ID: Subject: Re: svn commit: r292723 - in head: lib/libc share/mk From: Ed Schouten To: Colin Percival Cc: Daniel Eischen , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2015 19:40:10 -0000 Hi Colin, 2015-12-26 1:38 GMT+01:00 Colin Percival : > 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 Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717