From patchwork Sun Jan 3 20:19:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1421922 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=gmx.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=YKfeUsXy; 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 4D899X6Z6Jz9sSC for ; Mon, 4 Jan 2021 07:20:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 30BDA20502; Sun, 3 Jan 2021 20:20:10 +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 nO14E2w96iT7; Sun, 3 Jan 2021 20:20:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BA7A3203F6; Sun, 3 Jan 2021 20:20:07 +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 A90C21BF30F for ; Sun, 3 Jan 2021 20:20:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A5AA58527F for ; Sun, 3 Jan 2021 20:20:05 +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 PAxqv-VwfoDf for ; Sun, 3 Jan 2021 20:20:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5773084F27 for ; Sun, 3 Jan 2021 20:20:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609705200; bh=OUHGc3j/NdcIKfT2NDQfozQYFASM/xwM/RffL5ANTqc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=YKfeUsXygWBtvjpST7BRJUvSmWjtEgficmS9nFriZO6lWIYN96jOFc+G5fpSO+roo WzjMXMbmvQ4Su1j9ePqmQelRze8VNsIvuDrclW8SMY9PUp2bDkJmqmOH0x086v1UH1 NQ6OsB/in4eOXjeOwGG9Tsu6ZS4ygWFPx7RMfznY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.fritz.box ([62.216.208.91]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTRMi-1kZ67H44Z2-00ToM1; Sun, 03 Jan 2021 21:20:00 +0100 From: Peter Seiderer To: buildroot@busybox.net Date: Sun, 3 Jan 2021 21:19:58 +0100 Message-Id: <20210103201959.4035-1-ps.report@gmx.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:mH0GaV9M4Mf9NAlr03FJMSGZ0CU+hBLcu+HzewMwBoYZQqBm6n2 myx3Hbm1JH5n4aq3/cMPot1ZO4Ax5bRBP2iDaDrSM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QRBdc0969yw== Subject: [Buildroot] [PATCH v1 1/2] package/quickjs: needs host gcc >= 4.9 (C11/stdatomic.h) X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.net/results/c7882cc2d66984350f54d619f39cfee5065d941a gcc -g -Wall -MMD -MF .obj/libregexp.host.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2020-11-08\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/libregexp.host.o libregexp.c quickjs.c:112:23: fatal error: stdatomic.h: No such file or directory #include ^ compilation terminated. Signed-off-by: Peter Seiderer --- package/quickjs/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/quickjs/Config.in b/package/quickjs/Config.in index 886cbd4db6..5c3b068c3a 100644 --- a/package/quickjs/Config.in +++ b/package/quickjs/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_QUICKJS # No way to check for fenv support. depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h + depends on BR2_HOST_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_USE_MMU # fork() help QuickJS is a small and embeddable Javascript engine. @@ -12,6 +13,7 @@ config BR2_PACKAGE_QUICKJS https://bellard.org/quickjs/ -comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, dynamic library" +comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_4_9