Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6258521rwl; Mon, 9 Jan 2023 06:16:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXtKyAtAAl47pNOqC4+6D6Ap9lyeuLrcpNp3c4WoMgAm19jomki47irQ0WFQwSpiPpLoZMB3 X-Received: by 2002:a17:907:d388:b0:846:cdd9:d29 with SMTP id vh8-20020a170907d38800b00846cdd90d29mr51705986ejc.28.1673273788357; Mon, 09 Jan 2023 06:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673273788; cv=none; d=google.com; s=arc-20160816; b=loGKRWGchcszFQsTYJS1Uf96xZHXmTODzyQsFxcnqyi+ugyAs+nWhTCPGflcl1RLUh CyjWkzClB3B9sZ7IhMIDFQWkJDuxwUs9gF1erfPPtWDgeLgFP78fM1ZntwdzYMDRgLce zHc3rKVCEeCKN/389F0qVgUnXSBD0LgK1KIj7lNsouZV+RQgUfURoNzmK2oR5eid3hhQ UbmVvyHOgRhqW/uM/K/v3aADIZhUpQhlNRw35KnGSTBdz4mkuMX6Fhv4bnPpq6qFwnfY SS+ngQoRgG1PlPuBblNqIKUeb4MpDbelUOmlfhOxhmixqYCmmVgkZBNKz4eopx3Zi06L NF5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter:secumail-id :dkim-signature; bh=2CAE5nDlU3WnX6dCAQfL+pGigcE2PnMzpODrFw25AGo=; b=I7dZt0EC7bWgEMeiCjdjW8DXKD/4jBBYmCCq+iybEn7FuAjU2YN0JOahKmtfnksU3t EZAmPHYmohauKY5Buj1CA1HtuiJZoSNtc+k9CwAy+xjxRcKDtZz/BHFOZNUQB0FxwcSi jx/yB3g0/XkR8r1LFDdQrW/rVtUeM1Qb7c0QyweQZMq7RgRXjXjJ8pxtrlzKg78ocgeB CrSYnZ0yoOw9MZKQVtxLZCq7Xxb9d4EO+VlboHBQ2sy7qD5UMaxmya3RzYaYufkmkwIR rYyFeq723SMg6wkWUBaSFMhOGos3Vyq+LeEr+4qljFxp3eUaRF+RLcZ3oXJ4aAuCSEHO +CrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=sec-sig-email header.b="YZ+jS6/1"; dkim=neutral (body hash did not verify) header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=XjT0yLLB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=kalray.eu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb12-20020a170907960c00b007c1633cea0csi10342637ejc.513.2023.01.09.06.16.15; Mon, 09 Jan 2023 06:16:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kalray.eu header.s=sec-sig-email header.b="YZ+jS6/1"; dkim=neutral (body hash did not verify) header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=XjT0yLLB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237256AbjAINVs (ORCPT + 52 others); Mon, 9 Jan 2023 08:21:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237212AbjAINVW (ORCPT ); Mon, 9 Jan 2023 08:21:22 -0500 Received: from fx405.security-mail.net (smtpout140.security-mail.net [85.31.212.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C65A7203F for ; Mon, 9 Jan 2023 05:21:20 -0800 (PST) Received: from localhost (fx405.security-mail.net [127.0.0.1]) by fx405.security-mail.net (Postfix) with ESMTP id A164E335EE8 for ; Mon, 9 Jan 2023 14:21:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kalray.eu; s=sec-sig-email; t=1673270478; bh=VTyAgBvawac4uHB7eMyMDicCX2xLvVfQ11WRs4OqUgg=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=YZ+jS6/1Ma7JCmcJ3+OEDQF6/jdcWUhHaMCMCUIMiS/QRA3hvieFeCchl43TWG6g4 8uzP1OQwFTqJST5NGfflnAynHPXH43mmkQhylk6XZiFnOpe64YOUPMjH/EHaBa+r6X XNQwFD9kMcy8gj0OVjfaZ+Y+swU0mq962ckt9ZPA= Received: from fx405 (fx405.security-mail.net [127.0.0.1]) by fx405.security-mail.net (Postfix) with ESMTP id 382DC335EA5; Mon, 9 Jan 2023 14:21:18 +0100 (CET) Received: from zimbra2.kalray.eu (unknown [217.181.231.53]) by fx405.security-mail.net (Postfix) with ESMTPS id 1E46D335E6D; Mon, 9 Jan 2023 14:21:17 +0100 (CET) Received: from zimbra2.kalray.eu (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTPS id D765927E03FF; Mon, 9 Jan 2023 14:21:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id B3B4327E03FA; Mon, 9 Jan 2023 14:21:16 +0100 (CET) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RFDkxXP_U9mz; Mon, 9 Jan 2023 14:21:16 +0100 (CET) Received: from [192.168.37.161] (unknown [192.168.37.161]) by zimbra2.kalray.eu (Postfix) with ESMTPSA id 46FC927E03F5; Mon, 9 Jan 2023 14:21:16 +0100 (CET) X-Virus-Scanned: E-securemail Secumail-id: <18db.63bc14cd.171d3.0> DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu B3B4327E03FA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1673270476; bh=pFwL+Y0S0qo0MF7wO/awAfpxvBk+/1wXJh5pVmIIW2g=; h=Message-ID:Date:MIME-Version:To:From; b=XjT0yLLBY18QxivMgV9uczq9z+HpKf5TnyecD/FGL3y5WOfaxlypJyAxpZ8saNN2c xkoB4C8EPYxurJyqIoGRHgJxE+LjZeyAAIvw8YYk1DjcyoP679xtmnwZh9BbBCh3Ku YVP4+a/ZNoUFvoUsbRjrSO4n7fz2l6dahOcJsTh0= Message-ID: <6570d22d-ee19-f8b1-6fb4-bf8865ec4142@kalray.eu> Date: Mon, 9 Jan 2023 14:21:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [RFC PATCH 00/25] Upstream kvx Linux port Content-Language: en-us To: Jeff Xie Cc: Arnd Bergmann , Albert Ou , Alexander Shishkin , Andrew Morton , "Aneesh Kumar K.V" , Ard Biesheuvel , Arnaldo Carvalho de Melo , Boqun Feng , bpf@vger.kernel.org, Christian Brauner , devicetree@vger.kernel.org, Eric Biederman , Eric Paris , Ingo Molnar , Jan Kiszka , Jason Baron , Jiri Olsa , Jonathan Corbet , Josh Poimboeuf , Kees Cook , Kieran Bingham , Krzysztof Kozlowski , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-audit@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-pm@vger.kernel.org, linux-riscv@lists.infradead.org, Marc Zyngier , Mark Rutland , Masami Hiramatsu , Namhyung Kim , Nick Piggin , Oleg Nesterov , Palmer Dabbelt , Paul Moore , Paul Walmsley , Peter Zijlstra , Rob Herring , Sebastian Reichel , Steven Rostedt , Thomas Gleixner , Waiman Long , Will Deacon , Alex Michon , Ashley Lesdalons , Benjamin Mugnier , Clement Leger , Guillaume Missonnier , Guillaume Thouvenin , Jean-Christophe Pince , Jonathan Borne , Jules Maselbas , Julian Vetter , Julien Hascoet , Julien Villette , Louis Morhet , Luc Michel , Marc =?utf-8?b?UG91bGhpw6hz?= , Marius Gligor , Samuel Jones , Thomas Costis , Vincent Chardon References: <20230103164359.24347-1-ysionneau@kalray.eu> From: Yann Sionneau In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-ALTERMIMEV2_out: done X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeff, On 1/7/23 07:25, Jeff Xie wrote: > Hi, > > On Wed, Jan 4, 2023 at 1:01 AM Yann Sionneau wrote: >> [snip] >> >> A kvx toolchain can be built using: >> # install dependencies: texinfo bison flex libgmp-dev libmpc-dev libmpfr-dev >> $ git clone https://github.com/kalray/build-scripts >> $ cd build-scripts >> $ source last.refs >> $ ./build-kvx-xgcc.sh output > I would like to build the kvx-xgcc to compile and test the linux > kernel, but it reported a compile error. > I wonder what version of gcc you are using. > > My build environment: > VERSION="20.04.2 LTS (Focal Fossa)" > gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) > > > Compile error: > $ ./build-kvx-xgcc.sh output > > ../../binutils/libiberty/fibheap.c: In function ‘fibheap_replace_key_data’: > ../../binutils/libiberty/fibheap.c:38:24: error: ‘LONG_MIN’ undeclared > (first use in this function) > 38 | #define FIBHEAPKEY_MIN LONG_MIN > | ^~~~~~~~ > [snip] What SHA1 of https://github.com/kalray/build-scripts are you using? We are building our toolchain on Ubuntu 18.04 / 20.04 and 22.04 without issues, I don't understand why it does not work for you, although indeed the error log you are having pops out on my search engine and seems to be some well known issue. If the build-script does not work for you, you can still use the pre-built toolchains generated by the GitHub automated actions: https://github.com/kalray/build-scripts/releases/tag/v4.11.1 ("latest" means 22.04) I hope it will work for you. Regards, -- Yann