[{"id":1762249,"web_url":"http://patchwork.ozlabs.org/comment/1762249/","msgid":"<20170903141738.20c0d621@windsurf.lan>","list_archive_url":null,"date":"2017-09-03T12:17:38","subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nThis generally looks ok, to me, except one paragraph of explanation,\nsee below.\n\nOn Sun,  3 Sep 2017 22:08:35 +1000, Cam Hutchison wrote:\n> check_glibc checks for a valid glibc in an external toolchain, but\n> assumes that the files indicating the presence of glibc (ld-linux*.so.*,\n> ld.so.* or ld64.so.*) are in a top-level directory of the sysroot.\n> \n> When building a toolchain with buildroot and a merged /usr, /lib is\n> a symlink to usr/lib. This is copied from the target to the staging\n> directory, and then to the sysroot, and the ultimate location of the\n> required files is in /usr/lib in the sysroot.\n\nI don't understand this sentence. Nothing gets copied from target to\nstaging, and staging *is* the sysroot, so there's no copy. Could you\nexplain what you wanted to say here, we can perhaps find a better\nphrasing.\n\nThanks!\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlX6x5kkPz9s7v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 22:17:45 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 684EA86180;\n\tSun,  3 Sep 2017 12:17:43 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id hAqzZgSq0uN2; Sun,  3 Sep 2017 12:17:42 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id C578B86282;\n\tSun,  3 Sep 2017 12:17:42 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B0CE21C01F1\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:17:40 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8E29A86282\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:17:40 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6PVk0S6biMNW for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:17:39 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8994486180\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 12:17:39 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid B0A1721DF4; Sun,  3 Sep 2017 14:17:37 +0200 (CEST)","from windsurf.lan (LFbn-1-15133-129.w86-206.abo.wanadoo.fr\n\t[86.206.239.129])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 8896B21DF3;\n\tSun,  3 Sep 2017 14:17:37 +0200 (CEST)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Sun, 3 Sep 2017 14:17:38 +0200","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"Cam Hutchison <camh@xdna.net>","Message-ID":"<20170903141738.20c0d621@windsurf.lan>","In-Reply-To":"<20170903120835.16190-1-camh@xdna.net>","References":"<20170903120835.16190-1-camh@xdna.net>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>,\n\tThomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tbuildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1762251,"web_url":"http://patchwork.ozlabs.org/comment/1762251/","msgid":"<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>","list_archive_url":null,"date":"2017-09-03T12:22:24","subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","submitter":{"id":20727,"url":"http://patchwork.ozlabs.org/api/people/20727/","name":"Cam Hutchison","email":"camh@xdna.net"},"content":"On 3 September 2017 at 22:17, Thomas Petazzoni\n<thomas.petazzoni@free-electrons.com> wrote:\n>\n> Hello,\n>\n> This generally looks ok, to me, except one paragraph of explanation,\n> see below.\n>\n> On Sun,  3 Sep 2017 22:08:35 +1000, Cam Hutchison wrote:\n> > check_glibc checks for a valid glibc in an external toolchain, but\n> > assumes that the files indicating the presence of glibc (ld-linux*.so.*,\n> > ld.so.* or ld64.so.*) are in a top-level directory of the sysroot.\n> >\n> > When building a toolchain with buildroot and a merged /usr, /lib is\n> > a symlink to usr/lib. This is copied from the target to the staging\n> > directory, and then to the sysroot, and the ultimate location of the\n> > required files is in /usr/lib in the sysroot.\n>\n> I don't understand this sentence. Nothing gets copied from target to\n> staging, and staging *is* the sysroot, so there's no copy. Could you\n> explain what you wanted to say here, we can perhaps find a better\n> phrasing.\n\n\nOk, I wasn't sure on how staging became sysroot - I thought it was\ncopied.\n\nI misinterpreted 175a96c4909104bde706fa0e1f9010af8b252caa\n(package/skeleton-common: simplify staging install) to mean it was\ncopying from the target, but it was the skeleton, not the target.\n\nWould you like me to respin this with an updated comment, or will\nyou take it and change it as appropriate?","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=xdna.net header.i=@xdna.net header.b=\"dQfIBj9+\";\n\tdkim-atps=neutral"],"Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlXDQ375Yz9sP3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 22:22:30 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7CD6986F96;\n\tSun,  3 Sep 2017 12:22:28 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id GH3pahGaKYZ8; Sun,  3 Sep 2017 12:22:26 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8F40C86DC9;\n\tSun,  3 Sep 2017 12:22:26 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id EBE491C01F1\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:22:25 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id E7011888E7\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:22:25 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 3r+jrfhM+iju for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:22:25 +0000 (UTC)","from mail-pg0-f43.google.com (mail-pg0-f43.google.com\n\t[74.125.83.43])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 1CC41887AF\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 12:22:25 +0000 (UTC)","by mail-pg0-f43.google.com with SMTP id t193so11979467pgc.1\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 05:22:25 -0700 (PDT)","by 10.100.183.201 with HTTP; Sun, 3 Sep 2017 05:22:24 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=xdna.net; s=google; \n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=A/Yie3YCxbur74r9WXtyHY32J8nt8LbZfQe5OFqfCH4=;\n\tb=dQfIBj9+pedZNVpAik9Qd6xk5GrvWrchFXZ33Dxt7nIzMUHw86a5VcYIe7Qlj3GUg9\n\t4ZUigo90EdnBqZ4PsOcfvWqG0AaJpPq5rxSh24sQ991KBWHzIl8si5ROtEzq7xOTbjfa\n\te8w7aBS20frPwACULmNFu8vQ4ZxOTZOFUu31k=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=A/Yie3YCxbur74r9WXtyHY32J8nt8LbZfQe5OFqfCH4=;\n\tb=CV5QCpYJQL3vM1DGegTouc9JLhb+nAIJQY5rS5CH3k+rEgvoeoJBF2oB8UH2CTFZe2\n\tQpXAbQHl0hWfrE1fLg5Lf88QEb4CYZxsNLCDgrOUiGx1Es77ey1E6ryBsGhLhXnNp+JT\n\tqtFGkDBC0mDlnKm1k27uG0OqNoE5RLP3LIWBjWMcqbRW+Ge+aZvRdvn+NzTc7g/q03Uz\n\tiehB6q+229mlA06x12yQxiKDNzAQxjOLjk41JiaP/n4/XYGlC69tAwuLx4FWEQZ3MWJx\n\tglYJJUJbhVWMcp1+cjZoXAaE10P5otE6UhSYAty09W/GV/vFmuZrG85ErtnD90IXt3VY\n\trXjQ==","X-Gm-Message-State":"AHPjjUjFNv6dV0vyef5VOhcZhVF3mhAVJJq1CaYQdu4wdmC6B4p7TDYQ\n\tRioUQRdTsLT7nBQyom7J2pDkBA9W3meg","X-Google-Smtp-Source":"ADKCNb7yuhCo/7W/h6Sho213hy5mhSS11gDV/voykzzWzvxhK1zMgzmVWsKv+3qEbwEH/6yOJIbxjNJOvahE7GPPDJo=","X-Received":"by 10.99.6.10 with SMTP id 10mr8811329pgg.328.1504441344591; Sun,\n\t03 Sep 2017 05:22:24 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170903141738.20c0d621@windsurf.lan>","References":"<20170903120835.16190-1-camh@xdna.net>\n\t<20170903141738.20c0d621@windsurf.lan>","From":"Cam Hutchison <camh@xdna.net>","Date":"Sun, 3 Sep 2017 22:22:24 +1000","Message-ID":"<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>","To":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>,\n\tThomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tbuildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1762252,"web_url":"http://patchwork.ozlabs.org/comment/1762252/","msgid":"<20170903142517.088907a8@windsurf.lan>","list_archive_url":null,"date":"2017-09-03T12:25:17","subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nOn Sun, 3 Sep 2017 22:22:24 +1000, Cam Hutchison wrote:\n\n> > > When building a toolchain with buildroot and a merged /usr, /lib is\n> > > a symlink to usr/lib. This is copied from the target to the staging\n> > > directory, and then to the sysroot, and the ultimate location of the\n> > > required files is in /usr/lib in the sysroot.  \n> >\n> > I don't understand this sentence. Nothing gets copied from target to\n> > staging, and staging *is* the sysroot, so there's no copy. Could you\n> > explain what you wanted to say here, we can perhaps find a better\n> > phrasing.  \n> \n> Ok, I wasn't sure on how staging became sysroot - I thought it was\n> copied.\n> \n> I misinterpreted 175a96c4909104bde706fa0e1f9010af8b252caa\n> (package/skeleton-common: simplify staging install) to mean it was\n> copying from the target, but it was the skeleton, not the target.\n> \n> Would you like me to respin this with an updated comment, or will\n> you take it and change it as appropriate?\n\nIn fact, I would first like to understand what you meant :)\n\nMaybe what you meant is that: when the Buildroot toolchain is built\nwith a merged /usr, lib is a symlink to usr/lib in the staging\ndirectory. Therefore, the resulting toolchain has such a symlink in its\nsysroot, and such a symlink is present in the staging directory when\nthe toolchain is re-used as an external toolchain. The consequence is\nthat the dynamic linker is not located in /lib, but in /usr/lib, even\nthough it is accessible from /lib from a symlink.\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlXHn3d5rz9sP3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 22:25:25 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 98D8A86902;\n\tSun,  3 Sep 2017 12:25:23 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 5jX8vhiDlqws; Sun,  3 Sep 2017 12:25:22 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 71F0886385;\n\tSun,  3 Sep 2017 12:25:22 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 88E8C1C01F1\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:25:20 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7ACF686D53\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:25:20 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id wT+Lb4VN2H7t for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:25:20 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D259D821B0\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 12:25:19 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 521A421DE7; Sun,  3 Sep 2017 14:25:17 +0200 (CEST)","from windsurf.lan (LFbn-1-15133-129.w86-206.abo.wanadoo.fr\n\t[86.206.239.129])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 26CB720824;\n\tSun,  3 Sep 2017 14:25:17 +0200 (CEST)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Sun, 3 Sep 2017 14:25:17 +0200","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"Cam Hutchison <camh@xdna.net>","Message-ID":"<20170903142517.088907a8@windsurf.lan>","In-Reply-To":"<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>","References":"<20170903120835.16190-1-camh@xdna.net>\n\t<20170903141738.20c0d621@windsurf.lan>\n\t<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>,\n\tThomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tbuildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1762253,"web_url":"http://patchwork.ozlabs.org/comment/1762253/","msgid":"<CABa6e=rrW8YTJiUxGXfSGxGnQ0-k5q57hFAng8JL9Qo9r+wU+w@mail.gmail.com>","list_archive_url":null,"date":"2017-09-03T12:30:28","subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","submitter":{"id":20727,"url":"http://patchwork.ozlabs.org/api/people/20727/","name":"Cam Hutchison","email":"camh@xdna.net"},"content":"On 3 September 2017 at 22:25, Thomas Petazzoni\n<thomas.petazzoni@free-electrons.com> wrote:\n> Hello,\n>\n> On Sun, 3 Sep 2017 22:22:24 +1000, Cam Hutchison wrote:\n>\n>> > > When building a toolchain with buildroot and a merged /usr, /lib is\n>> > > a symlink to usr/lib. This is copied from the target to the staging\n>> > > directory, and then to the sysroot, and the ultimate location of the\n>> > > required files is in /usr/lib in the sysroot.\n>> >\n>> > I don't understand this sentence. Nothing gets copied from target to\n>> > staging, and staging *is* the sysroot, so there's no copy. Could you\n>> > explain what you wanted to say here, we can perhaps find a better\n>> > phrasing.\n>>\n>> Ok, I wasn't sure on how staging became sysroot - I thought it was\n>> copied.\n>>\n>> I misinterpreted 175a96c4909104bde706fa0e1f9010af8b252caa\n>> (package/skeleton-common: simplify staging install) to mean it was\n>> copying from the target, but it was the skeleton, not the target.\n>>\n>> Would you like me to respin this with an updated comment, or will\n>> you take it and change it as appropriate?\n>\n> In fact, I would first like to understand what you meant :)\n>\n> Maybe what you meant is that: when the Buildroot toolchain is built\n> with a merged /usr, lib is a symlink to usr/lib in the staging\n> directory. Therefore, the resulting toolchain has such a symlink in its\n> sysroot, and such a symlink is present in the staging directory when\n> the toolchain is re-used as an external toolchain. The consequence is\n> that the dynamic linker is not located in /lib, but in /usr/lib, even\n> though it is accessible from /lib from a symlink.\n\nYes, that's what I meant. The find command that I modified was not finding\nthe files it was looking for because it would not look in usr/lib (it has a\nmaxdepth of 2). But it would not look in lib because it was not following\nsymlinks. So check_glibc never found the files it was looking for and\nproduced an error.","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=xdna.net header.i=@xdna.net header.b=\"aO0GHVzi\";\n\tdkim-atps=neutral"],"Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlXPk0V9dz9sP3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 22:30:33 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8350C869FE;\n\tSun,  3 Sep 2017 12:30:31 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id DQNfD5wPPbL7; Sun,  3 Sep 2017 12:30:30 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C46AC86D53;\n\tSun,  3 Sep 2017 12:30:30 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id C4F6F1C01F1\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:30:29 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B364D88835\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:30:29 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ZCfO0tHKPGXu for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:30:29 +0000 (UTC)","from mail-pg0-f52.google.com (mail-pg0-f52.google.com\n\t[74.125.83.52])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 351DD88868\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 12:30:29 +0000 (UTC)","by mail-pg0-f52.google.com with SMTP id 83so11883607pgb.4\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 05:30:29 -0700 (PDT)","by 10.100.183.201 with HTTP; Sun, 3 Sep 2017 05:30:28 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=xdna.net; s=google; \n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=L9+y+bPfLmZ3MxRCd+ped7/cI+iZ+gJm3rYC29yyY2o=;\n\tb=aO0GHVzi8Sq3sS1MnVuZidzWM9W6sykIszlDwgaa73Jh7bluBynRayhf2KwuaEb6GJ\n\tqrMT18DZPbabaEg6fytRFwzTGDQWoGUoo5WG6gY+ZQQ7Rz7lAlKat7wRPWVfYz4vBB80\n\tqwiDcW5feN5vcDCEeUEj2uq3C2DXrVzyEBeK8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=L9+y+bPfLmZ3MxRCd+ped7/cI+iZ+gJm3rYC29yyY2o=;\n\tb=OpdP5m8yX/2FReiW7RdbBwYUw2I7nKXVl2QkeDavIKP9pIdRAr5OAa67tjr04xRc1c\n\tjey4pnc2aPK2ljTpBtxR9zQ9mnhv3DYQB2jSxQt5F9+qBN+2bO2iq1yqHshevXxYlVc4\n\tgYtVz9ro3Y0Ez142aIGPxAfd9pdPtultmKjWxZgXNHkiYf8dvDGmdkGeGm69p605MLkv\n\t2t3FlQ8LRJAAb/OCj57sRSVWP1QATAGPQY2v6EY+junjHY9FFTzdQ1ozxo2OeE9x602h\n\tlo4c8LGd4NxH62I/IQT8f0JwNydPMVGWa+2Y4L1uB7GELW2aPMh2pHLX7QMo2XpZ9RiB\n\tXsXQ==","X-Gm-Message-State":"AHPjjUh8SuV0Xz5U225823crA5Y/70nX9jHM9S4wz62KQ1syR9VdT+uK\n\t9LYTRnVUSvWM4TMuXC7H2yZBIBkiQmzn","X-Google-Smtp-Source":"ADKCNb4ap9L4whlmj5TcY0UvHh2EiYU+u6P+NXlnnvBS8jPXvfwMoVm2QWV0Zua/3kdoyQIkMqdSWBwE5e4mpR56zXI=","X-Received":"by 10.84.216.94 with SMTP id f30mr8946068plj.264.1504441828640; \n\tSun, 03 Sep 2017 05:30:28 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170903142517.088907a8@windsurf.lan>","References":"<20170903120835.16190-1-camh@xdna.net>\n\t<20170903141738.20c0d621@windsurf.lan>\n\t<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>\n\t<20170903142517.088907a8@windsurf.lan>","From":"Cam Hutchison <camh@xdna.net>","Date":"Sun, 3 Sep 2017 22:30:28 +1000","Message-ID":"<CABa6e=rrW8YTJiUxGXfSGxGnQ0-k5q57hFAng8JL9Qo9r+wU+w@mail.gmail.com>","To":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>,\n\tThomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tbuildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1762257,"web_url":"http://patchwork.ozlabs.org/comment/1762257/","msgid":"<20170903124925.GA2786@scaer>","list_archive_url":null,"date":"2017-09-03T12:49:25","subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","submitter":{"id":13903,"url":"http://patchwork.ozlabs.org/api/people/13903/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Thomas, All,\n\nOn 2017-09-03 14:25 +0200, Thomas Petazzoni spake thusly:\n> On Sun, 3 Sep 2017 22:22:24 +1000, Cam Hutchison wrote:\n> > > > When building a toolchain with buildroot and a merged /usr, /lib is\n> > > > a symlink to usr/lib. This is copied from the target to the staging\n> > > > directory, and then to the sysroot, and the ultimate location of the\n> > > > required files is in /usr/lib in the sysroot.  \n[--SNIP--]\n> In fact, I would first like to understand what you meant :)\n> \n> Maybe what you meant is that: when the Buildroot toolchain is built\n> with a merged /usr, lib is a symlink to usr/lib in the staging\n> directory. Therefore, the resulting toolchain has such a symlink in its\n> sysroot, and such a symlink is present in the staging directory when\n> the toolchain is re-used as an external toolchain. The consequence is\n> that the dynamic linker is not located in /lib, but in /usr/lib, even\n> though it is accessible from /lib from a symlink.\n\nThis is exactly the problem that Cam is trying to solve here.\n\nCam created a toolchain with Buildroot and a merged /usr. He then\nre-uses that as an external toolchain.\n\nCam, what about the fiollowing:\n\n    toolchain: detect external glibc in merged /usr\n\n    When using an external toolchain that was built with Buildroot and a\n    merged /usr., the dynamic linker is actually in /usr/lib.\n\n    But the check_glibc macro only limits the depth it is looking for\n    the dynamic linker, anf misses it when it is in /usr/lib because it\n    is too deep.\n\n    WE could fix that in two ways: increase the depth in which we look\n    for it, or follow symlinks. We choose the second solution.\n\n    Signed-off-by: you\n    Cc: Thomas P.\n    Cc: Thomas DS.\n    Cc: Me\n\nWhat do you all think about this? ;-)\n\nRegards,\nYann E. MORIN.","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"QCyZe/Mr\"; dkim-atps=neutral"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlXqh0lZ5z9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 22:49:36 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id F2FFB2D30A;\n\tSun,  3 Sep 2017 12:49:33 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id O4ltIncpta34; Sun,  3 Sep 2017 12:49:33 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 38EC02D19E;\n\tSun,  3 Sep 2017 12:49:33 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id C4B2B1C1038\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:49:31 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B7F4586CB9\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:49:31 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id WaeeGqkN91wd for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 12:49:30 +0000 (UTC)","from mail-wr0-f195.google.com (mail-wr0-f195.google.com\n\t[209.85.128.195])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 9C12D86B15\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 12:49:30 +0000 (UTC)","by mail-wr0-f195.google.com with SMTP id a47so2136197wra.2\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 05:49:30 -0700 (PDT)","from ymorin.is-a-geek.org\n\t(2a01cb08861073002caa2816d30d04e1.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:2caa:2816:d30d:4e1])\n\tby smtp.gmail.com with ESMTPSA id\n\tp199sm994051wmb.24.2017.09.03.05.49.26\n\t(version=TLS1 cipher=AES128-SHA bits=128/128);\n\tSun, 03 Sep 2017 05:49:27 -0700 (PDT)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tSun, 03 Sep 2017 14:49:25 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=YErD4TdWxMWkRNEizbS2D4gqBQg6eZz7TZhRhehLU18=;\n\tb=QCyZe/MrYiqCdTDRq53MAwcOOIX+uCDh3sx0LHh3MV1LhyJtjhMlaMrSrAuGLXaq+O\n\tojYWElNetBIeAYRFTfIYrQkYPIT3pEq8zAIw8vSsZG8vyrVOo2YnNK6Xvz98R+ZekpsE\n\tERqKm9H/KST4kTENQXD7lgcbCvXoXEUAq7NgNZQmYaq4vV3SBco1yeSBMX3rwQJP6eVY\n\tMM7TAJDWrxY0SHETepJtvQZAebctT8SLJESYN2+wBidxgDMjg9vbH9T8GLB2WiWZW5pz\n\tOWE3TcSdLGXzfix9hIz55JTo8gOmyrOvEyN0//0YxBiaNiQi5msPPu9cNbnHV1ckvgZz\n\t4vVQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:date:from:to:cc:subject:message-id\n\t:references:mime-version:content-disposition:in-reply-to:user-agent; \n\tbh=YErD4TdWxMWkRNEizbS2D4gqBQg6eZz7TZhRhehLU18=;\n\tb=FIatZrlzxcDIu+3gFBeWPrvTvOM+cl9Y7cXtAk0wxEOkM2azh6OPzfHjrC+9Cu9Zd3\n\tkQfLv54xyh8cNiS6d2Oo/1+vA1YUSWMIckYBhuwa60nke9r2nReADSBAXchdqAZ1Z3Lv\n\tTt+pBm4i5c1ZXvzZD8bT952COfn6DVGc87JaLU2aH8zWaQ7YntK5BTvf1l0yCFyb4el/\n\tzdaJ4vqO4GgbaiTexozrTfLZfARxGnF0CE8vnrnysFxYAVo3ZglcICeZIHXg3WCVtwKF\n\t1M9febcXykhxFH2T8NaJJQ/SBBNOSAqKM+r7sZt7HA7wHZQI0fj7A5EJgTgUsftuCuBN\n\tqPBg==","X-Gm-Message-State":"AHPjjUhxRmDJD78bWKaQFgRZLREWczxv4Ywy0G97g6odk4n3siVnGSuz\n\tnAKuJUqkYXrXTA==","X-Google-Smtp-Source":"ADKCNb5psrZn/rmV3aW4/5ZqmIa9c1lVmo2dzYfG5890OA4ljF0pNax33BG2sED3/KJzzJ4h5AZ98g==","X-Received":"by 10.223.174.145 with SMTP id y17mr4615926wrc.320.1504442969094;\n\tSun, 03 Sep 2017 05:49:29 -0700 (PDT)","Date":"Sun, 3 Sep 2017 14:49:25 +0200","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","Message-ID":"<20170903124925.GA2786@scaer>","References":"<20170903120835.16190-1-camh@xdna.net>\n\t<20170903141738.20c0d621@windsurf.lan>\n\t<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>\n\t<20170903142517.088907a8@windsurf.lan>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170903142517.088907a8@windsurf.lan>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Cc":"Cam Hutchison <camh@xdna.net>,\n\tThomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tbuildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1762329,"web_url":"http://patchwork.ozlabs.org/comment/1762329/","msgid":"<CABa6e=ryNCOgtrOBzNbb1CM8F=+wQ-DtvGMbWRB2f0GKrQ7xLg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-03T20:30:18","subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","submitter":{"id":20727,"url":"http://patchwork.ozlabs.org/api/people/20727/","name":"Cam Hutchison","email":"camh@xdna.net"},"content":"On 3 September 2017 at 22:49, Yann E. MORIN <yann.morin.1998@free.fr> wrote:\n>\n> Cam, what about the fiollowing:\n>\n>     toolchain: detect external glibc in merged /usr\n>\n>     When using an external toolchain that was built with Buildroot and a\n>     merged /usr., the dynamic linker is actually in /usr/lib.\n>\n>     But the check_glibc macro only limits the depth it is looking for\n>     the dynamic linker, anf misses it when it is in /usr/lib because it\n>     is too deep.\n>\n>     WE could fix that in two ways: increase the depth in which we look\n>     for it, or follow symlinks. We choose the second solution.\n>\n>     Signed-off-by: you\n>     Cc: Thomas P.\n>     Cc: Thomas DS.\n>     Cc: Me\n>\n> What do you all think about this? ;-)\n\nLGTM. I'll resend shortly.\n\nThanks,\nCam","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=xdna.net header.i=@xdna.net header.b=\"eKI8bR2S\";\n\tdkim-atps=neutral"],"Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xll3R4pFpz9s7v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 06:30:26 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0A72C86234;\n\tSun,  3 Sep 2017 20:30:23 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id IlCPUPFlelW1; Sun,  3 Sep 2017 20:30:21 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3C1D185C73;\n\tSun,  3 Sep 2017 20:30:21 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0D2761C1501\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 20:30:20 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D5E1B867AA\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 20:30:19 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Q+ikLEtUTbkN for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 20:30:19 +0000 (UTC)","from mail-pg0-f53.google.com (mail-pg0-f53.google.com\n\t[74.125.83.53])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0098C8672E\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 20:30:18 +0000 (UTC)","by mail-pg0-f53.google.com with SMTP id r133so13459910pgr.3\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 13:30:18 -0700 (PDT)","by 10.100.183.201 with HTTP; Sun, 3 Sep 2017 13:30:18 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=xdna.net; s=google; \n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=1K1YGC0Z++eY4ykv0jJRnjHRInAGe/jhPsa3GGlgK6c=;\n\tb=eKI8bR2StUmLr2aZmAOjkTaQSEXHboio5omElR4ct8YHezwJIqLdmSBGqWmGuJlXsZ\n\tIzyddPD/sm85bgPHlG9UncvvfFtw5j7Y524nhmsoq3COwzoYXlJtanCGAgJUKynl7U1o\n\tJhe1l/4JovmQfkL4a7ShfMUZXxlvxPvH0y1Qc=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=1K1YGC0Z++eY4ykv0jJRnjHRInAGe/jhPsa3GGlgK6c=;\n\tb=MuhIwLtSWeJyaLdC94p+efaGbcwyqrKLu+oTCStGteTkWb63q/X1JoO3f98qlPUl96\n\tp88e4aDusNQVNl9vKWLMwcF7Dc4VC6sdTse3mMbcXLg/rit0cUQByuzTbtEOJ+noDUY/\n\tGhYnT7KHcU6stK9nPYp0tthHOK0r3E7JQpkS7xq2MPuFynlKT48DU6g+MD5yWWM63X7D\n\tbFtLSvOy/GEzUcQvLr8tFWnbSlYyyNU1juyv7LUnLLffAF9dvQEAyrUx1iOVdkC32fco\n\tK0bfiLPjzCnyT3ehsz2wXaHYeH/LdXiz5nrKUJtLYdG7a1wvBYn/bFkJp0k4WBCs6FKo\n\tIkuQ==","X-Gm-Message-State":"AHPjjUhv6KuzqZjw3j5iJ9PD8q8nnmJH8SYBFtFlnre3pXZvjgRjir3U\n\tJdt8gJKq7FfBlDNnbg0rEyHohMK6QnVl","X-Google-Smtp-Source":"ADKCNb71yEypqa+twPXh1Yx8YIcC0Yx4SiIYf5y4hJbkCMrgYC0c7VKO8NtfEdL94NS1xuUxqFuuMZsow+W1lMC5tHc=","X-Received":"by 10.99.122.69 with SMTP id j5mr9552522pgn.18.1504470618571;\n\tSun, 03 Sep 2017 13:30:18 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170903124925.GA2786@scaer>","References":"<20170903120835.16190-1-camh@xdna.net>\n\t<20170903141738.20c0d621@windsurf.lan>\n\t<CABa6e=pwRghNUx+WHY_AH22_Wh8mtvR54x8ApqH3Y11732mhng@mail.gmail.com>\n\t<20170903142517.088907a8@windsurf.lan> <20170903124925.GA2786@scaer>","From":"Cam Hutchison <camh@xdna.net>","Date":"Mon, 4 Sep 2017 06:30:18 +1000","Message-ID":"<CABa6e=ryNCOgtrOBzNbb1CM8F=+wQ-DtvGMbWRB2f0GKrQ7xLg@mail.gmail.com>","To":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","Cc":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tThomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tbuildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] toolchain: detect external glibc in\n\tsymlinked /lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}}]