From patchwork Sat Sep 15 19:20:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 970275 X-Patchwork-Delegate: jacmet@gmail.com Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hxdjtRxN"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42CMfz3Ntxz9s9N for ; Sun, 16 Sep 2018 05:20:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B5D5E22F5C; Sat, 15 Sep 2018 19:20:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vv+QKAhe3Sbh; Sat, 15 Sep 2018 19:20:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id F124322F30; Sat, 15 Sep 2018 19:20:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E2EE31C2E3E for ; Sat, 15 Sep 2018 19:20:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DFE0387E9F for ; Sat, 15 Sep 2018 19:20:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25a9+3EXISYw for ; Sat, 15 Sep 2018 19:20:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by hemlock.osuosl.org (Postfix) with ESMTPS id 1302B87E69 for ; Sat, 15 Sep 2018 19:20:34 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id v16-v6so13505203wro.11 for ; Sat, 15 Sep 2018 12:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=n1kKeySIcD+glQRF885AiRLiYhxsFU37ifEYMOGwlig=; b=hxdjtRxNNM8VOhVw3ZovAWIdprAMfIu01etTtcr1Rc9dwb7ifiIDhvq0dIAtmSWEmO dTqete5oRX2fqzXRVnIV+TZ1UjX5IvY8HvuA1jODGisNZ1ykFqT5lI/3hswKoVa9M9K0 6/iqrSEprdWagwEydjjWo6XENk6/mjdpYejA2mqju7GeJ2N6kAfPGHfDpp9Hul66S7Yv mrftkcGgU1REpTzJ9/vkKgJ4gUECx+3lFCLDNkLCWA/o0qVq8i1CzuAhjrhMsLjRq97+ QdiS3lPX+o1t7mwVjwIvW2tqUG0on+6OLbTsdZR4jGbh3t0AngO9LZyo1Hu4wXZB66GY B5tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=n1kKeySIcD+glQRF885AiRLiYhxsFU37ifEYMOGwlig=; b=X2Qw2Y4bImsi7Kf8VHV/gELDOJ81/cysAG+ebfev028p8ydZqOH9a1uvS5R72j8t9B TdCRrXdwgT9f+KdLYy5r/ruMKXTQKpWeK/F7qD/40ek3eJ04gTDbEHne+I9kQCEzeAMb kCmyggL37bGh/VeJB2/EsckVCw3zUuy6G46Pu5rq44KvZIYd8jppbpJOlL8jd3z/gV3F tqmeRhVuqLeLuAygXRbkbf1u56V8HwaT6IqAvejRqzXHwXUSz1isO+eL7At5yDmkcy8J ZtBT/GoFRhsDSvRM0IzSGT0brJ6S0Z9JHUjTZwDiIVjZB97vCMq0mYTkhDKBl05qthZE hSFA== X-Gm-Message-State: APzg51C0s5KJEO2cMXI2Q4izv+Hzs+pW4c5gK/KT7/DtLvIllivmOzqK V1t1xPK0mg37q+Dv3g8peFek4Ne+ X-Google-Smtp-Source: ANB0VdaQkO3fg6jiUX3hhvtpYrnksX436diMLnV3p6yi3DDHqdXuJrFUsJRaM+WcjzES9N5OBvrnog== X-Received: by 2002:adf:fb81:: with SMTP id a1-v6mr14211606wrr.219.1537039232192; Sat, 15 Sep 2018 12:20:32 -0700 (PDT) Received: from localhost.localdomain (ARennes-656-1-310-58.w86-214.abo.wanadoo.fr. [86.214.234.58]) by smtp.gmail.com with ESMTPSA id z11-v6sm10210769wrm.94.2018.09.15.12.20.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Sep 2018 12:20:31 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 15 Sep 2018 21:20:05 +0200 Message-Id: <20180915192005.29373-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH 1/1] linuxptp: needs NPTL X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Petr Kulhavy MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" /home/buildroot/autobuild/run/instance-1/output/host/bin/or1k-linux-gcc phc_ctl.o phc.o sk.o util.o clockadj.o sysoff.o print.o version.o -lm -lrt -o phc_ctl phc2sys.o: In function `do_loop': phc2sys.c:(.text+0x18bc): undefined reference to `clock_nanosleep' Fixes: - http://autobuild.buildroot.org/results/a31e0a5ae15e1164115e4e5981ef5fb3c3284bcc Signed-off-by: Fabrice Fontaine --- package/linuxptp/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/linuxptp/Config.in b/package/linuxptp/Config.in index 3e18a0cb13..a32dbde2e1 100644 --- a/package/linuxptp/Config.in +++ b/package/linuxptp/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LINUXPTP bool "linuxptp" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() help The Linux PTP Project is the Precision Time Protocol implementation according to IEEE standard 1588 for Linux. @@ -11,3 +12,6 @@ config BR2_PACKAGE_LINUXPTP not a goal. http://linuxptp.sourceforge.net/ + +comment "linuxptp needs a toolchain w/ NPTL" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL