From patchwork Thu Mar 2 17:51:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1750929 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PSJZ237GQz1yWw for ; Fri, 3 Mar 2023 04:51:21 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3AC2341B65; Thu, 2 Mar 2023 17:51:18 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3AC2341B65 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hP06en1GE77I; Thu, 2 Mar 2023 17:51:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 5691A41B3B; Thu, 2 Mar 2023 17:51:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5691A41B3B X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 2E5CE1BF387 for ; Thu, 2 Mar 2023 17:51:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 12E6D61388 for ; Thu, 2 Mar 2023 17:51:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 12E6D61388 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EsL288LgBjQH for ; Thu, 2 Mar 2023 17:51:13 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5C5BD61385 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by smtp3.osuosl.org (Postfix) with ESMTPS id 5C5BD61385 for ; Thu, 2 Mar 2023 17:51:13 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id r19-20020a05600c459300b003eb3e2a5e7bso2026530wmo.0 for ; Thu, 02 Mar 2023 09:51:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677779470; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4Lp6mODIs+ed1SuAIvv6NGGSTh6Pdyowft+1qWV5ols=; b=WB7BZLJ8wQ2XHMOLsSj15nNqS0rn1Lyf24shc9/R3HwmjNy6NrU7em/ovh3tJ2URwy aVZ3faAQ+eMnUG0olXIPWuchtA+FbDUDFWDYpC1GdwLvifZMjRzkSzryyVod7u6Svy5N 0I3XaiSjkET4dl0y0G99FamKi7sV4QpDG1feonpdJQTR46zu6Swn9UBUNTF/w0x8XZMl 46m6D165g9hlIPLWiJCVCakYxC27DZlqZfZkXjXlsKyLbI+/AQaFyVFmbpS3eW7pDkU3 Axbcpvs2KI2M5sRHCjddU51uPTFqh5d4LJLedAqo2dX+SbUeXVji2UfV33Jxjfu669Tw dvQg== X-Gm-Message-State: AO0yUKXV97WlCfFrp4hqZQSuWk2McUUvsC975dHgSk5kVqovLGAwnABX /sqziuE9pfgxw4EnDzfFZ+XjM5r0l8I= X-Google-Smtp-Source: AK7set9oNWWS7Zg9/LL4aWDFh1O3QLuO80fUVLZ53NEkQkGED4AxOkU8C+rTXsnWFsvgGr6avGhHGw== X-Received: by 2002:a05:600c:3ac9:b0:3e7:6a59:d9d3 with SMTP id d9-20020a05600c3ac900b003e76a59d9d3mr7809551wms.37.1677779470465; Thu, 02 Mar 2023 09:51:10 -0800 (PST) Received: from kali.home (lfbn-ren-1-787-165.w83-197.abo.wanadoo.fr. [83.197.114.165]) by smtp.gmail.com with ESMTPSA id f7-20020a05600c44c700b003e2232d0960sm207884wmo.23.2023.03.02.09.51.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 09:51:09 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 2 Mar 2023 18:51:07 +0100 Message-Id: <20230302175107.32479-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677779470; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4Lp6mODIs+ed1SuAIvv6NGGSTh6Pdyowft+1qWV5ols=; b=QxjvwJik+3cQLc5BJdncx/t3iw55xmZb2EcMuYLpSu+IoIpYNRzMHQMbjJPuZW1sGw 35qFRcWIf5LWRm1RbrCKTRRavdb0VDKGXWulEfqXD5eJ5eoQCqYtnRXIVkaGIVBIz/EJ xmj8//c3ckvA9fva9uvQtlJ5xWWOh5xD21gUqKgLbjdnMkLhTzgq/Loey1BhFV9Zctkw P8fznxHopy7ECYeg/ADeJIIGriZW2ODvTJuxyDRlzUcKSnmfp97ecNMwmj+0nUYG1c4V qWSJF/xTVPaWyqCygUB1xZrQyeA3Nj4q8KFCAuWdZKy3vowT8driismOu5rpdSika01E 2yJQ== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=QxjvwJik Subject: [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode X-BeenThere: buildroot@buildroot.org 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: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fix the following build failure: /tmp/cckXvlOO.s:352: Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb mode Fixes: - http://autobuild.buildroot.org/results/fdedcc8f68651ec34417d609b40effbac456c80d Signed-off-by: Fabrice Fontaine --- package/opus/opus.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/opus/opus.mk b/package/opus/opus.mk index 2fa929c7df..1372711038 100644 --- a/package/opus/opus.mk +++ b/package/opus/opus.mk @@ -12,6 +12,13 @@ OPUS_INSTALL_STAGING = YES OPUS_CFLAGS = $(TARGET_CFLAGS) +# opus has some assembly function that is not present in Thumb mode: +# Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb mode +# so, we desactivate Thumb mode +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) +OPUS_CFLAGS += -marm +endif + ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) OPUS_CFLAGS += -O0 endif