From patchwork Mon Jun 11 18:18:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: xu min X-Patchwork-Id: 927842 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.138; helo=whitealder.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="FyY4NV8C"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 414Lqv53wYz9ryk for ; Tue, 12 Jun 2018 04:18:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1D06889368; Mon, 11 Jun 2018 18:18:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BzFmWG+ez7eE; Mon, 11 Jun 2018 18:18:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EBF9E8937B; Mon, 11 Jun 2018 18:18:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D9BF01C1F03 for ; Mon, 11 Jun 2018 18:18:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D6BEA89368 for ; Mon, 11 Jun 2018 18:18:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 443h0UWfARrc for ; Mon, 11 Jun 2018 18:18:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4859A8936A for ; Mon, 11 Jun 2018 18:18:42 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id c128-v6so18743240oig.11 for ; Mon, 11 Jun 2018 11:18:42 -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:in-reply-to:references; bh=GUNwcdB5vNTyC+lKVc8DndSPbdOIWNWh+SShpNEITXY=; b=FyY4NV8CFUpo3RCW/gvfe9pbNg+Lb+d9UqY1tkqAIMyvUAxS01iI8kuyCf46UrlYiB dC/uBz+Y4d7CvYYpynu+X0wt+iI/NY8C7ExHtcf6ac+3yRe33dPnQQc64sZ+hCKRWTJO q/ez3qhZdLtH0tRcYszRy41H4aMuIgQIb7uZSBHMLmzgXLC8OB986mdrhfSleVLjNvcI w2D3OXiHJsjCNiqUrJcaHWgz4cXRqGETaYxlD5jxnYvHJRS/sNwF5vK/7bY0jeP4fSix /OLjOowilEVuw0z+0S4Z0W+/LSCneANJGrBtcqIkrN0Bz66e0TGvakf//Kb3gfAE7rK9 fdhA== 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:in-reply-to :references; bh=GUNwcdB5vNTyC+lKVc8DndSPbdOIWNWh+SShpNEITXY=; b=nRrHAl4q5/T+rLBEoktejn/WwElbr1HgRHI0sppWpBjnn2LzQgVKDVcV8YXlNwbAjv frLFgFvK/VzAksHfXIyXI0hkyVRIJ4oASkK2BwH8dxc2qFIx/YzEtv69454wKKphgaoW 9GFlAIYrhqxkYoD+cgfhFKkrUzTle/fKGIED5icaQupIkcXTNLqzi+BwO7ASQSNlov5l NHezW9lXhhD9Y+sfcgHlDskNxPHcQWftUg1isWUb06/mDqWNYerihOWQiljB7HFucPLR AwY4bu9t4LlZ/aqJk4jpphGSY2u0fqGvOa+r/mf6rNpq4iEAe9u/SRqHHUyP8hjN0JVn zm3A== X-Gm-Message-State: APt69E0mhlGFT6E62zVFYMYXKd+qItyEomjbkIV7qNUUR91LLw/3ljqH Mpw0WJE+DL6JHYZ+eFgoEryDDg== X-Google-Smtp-Source: ADUXVKIfK3kSwii+Ro5NywqCYg7BSAkmNlKuvDUhr8UJ8B7R3pXTTyU8dNspJ7yDCZV77xxGSVGiog== X-Received: by 2002:aca:110c:: with SMTP id 12-v6mr126613oir.303.1528741121421; Mon, 11 Jun 2018 11:18:41 -0700 (PDT) Received: from raspberrypiZeroW.attlocal.net ([2600:1700:a020:57f0:e01a:ae9:29f8:6964]) by smtp.gmail.com with ESMTPSA id w189-v6sm10595353oie.45.2018.06.11.11.18.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 11:18:41 -0700 (PDT) From: Min Xu To: buildroot@uclibc.org Date: Mon, 11 Jun 2018 11:18:23 -0700 Message-Id: <20180611181823.2722-3-xuminready@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180611181823.2722-1-xuminready@gmail.com> References: <20180611181823.2722-1-xuminready@gmail.com> Subject: [Buildroot] [PATCH v2 3/3] shadowsocks-libev: Adding the __sync related dependency 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: Min Xu MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" To fixup libcork linking errors: "undefined reference to `__sync_val_compare_and_swap_4'" Fixes http://autobuild.buildroot.net/results/552b09ffe951c429422529c895f4c3ec723cf5ab http://autobuild.buildroot.net/results/4810526381e15a194767753d324875bfbf5e3dde http://autobuild.buildroot.net/results/9cb76805c2f2952aa434d143831ee03c7d43aa52 http://autobuild.buildroot.net/results/d00c5f9e1e7a6a40fac5763a06977b351b7875da http://autobuild.buildroot.net/results/0612f2dc09a8763fdf2111ee8d0c223c8531262a Signed-off-by: Min Xu --- package/shadowsocks-libev/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/shadowsocks-libev/Config.in b/package/shadowsocks-libev/Config.in index 82c88e9..972e329 100644 --- a/package/shadowsocks-libev/Config.in +++ b/package/shadowsocks-libev/Config.in @@ -1,5 +1,7 @@ config BR2_PACKAGE_SHADOWSOCKS_LIBEV bool "shadowsocks-libev" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # for libcork + depends on BR2_TOOLCHAIN_HAS_SYNC_8 || !BR2_ARCH_IS_64 # for libcork depends on BR2_TOOLCHAIN_HAS_THREADS # require pthreads depends on BR2_USE_MMU # fork() select BR2_PACKAGE_C_ARES