Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.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 smtp.lore.kernel.org (Postfix) with ESMTPS id E7681EB64DC for ; Sun, 9 Jul 2023 16:43:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 8D6706072A; Sun, 9 Jul 2023 16:43:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 8D6706072A 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 Qxmje-I9_NTg; Sun, 9 Jul 2023 16:43:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id D178C606F5; Sun, 9 Jul 2023 16:43:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D178C606F5 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id BF3A91BF423 for ; Sun, 9 Jul 2023 16:43:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9871B606F5 for ; Sun, 9 Jul 2023 16:43:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 9871B606F5 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 p5r74Ea2o07X for ; Sun, 9 Jul 2023 16:43:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 529E1606EC Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by smtp3.osuosl.org (Postfix) with ESMTPS id 529E1606EC for ; Sun, 9 Jul 2023 16:43:10 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qIXV5-000AC0-BX for buildroot@uclibc.org; Sun, 09 Jul 2023 18:43:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: buildroot@uclibc.org From: Bernd Kuhls Date: Sun, 09 Jul 2023 18:42:31 +0200 Message-ID: References: <20230709095058.1547133-1-bernd@kuhls.net> <20230709182938.00cef6ca__21548.8254021452$1688920206$gmane$org@windsurf> Mime-Version: 1.0 User-Agent: Pan/0.148 (Chamechaude; a70bd74) Subject: Re: [Buildroot] [PATCH 1/2] package/fwts: Fix build with BR2_OPTIMIZE_0 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Am Sun, 9 Jul 2023 18:29:38 +0200 schrieb Thomas Petazzoni via buildroot: > I've applied, but of course it isn't really nice. Has this issue been > reported upstream? Hi Thomas, yes, back in 2017: https://bugs.launchpad.net/fwts/+bug/1687049 That bug report was solved by using -O2. Investigating further I found https://gcc.gnu.org/bugzilla/show_bug.cgi? id=102502#c4 which, to the best of my limited C knowledge, indicates that some assert code will not work with -O0 by design. At this point I stopped my research and disabled -O0 ;) Regards, Bernd _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot