From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id E242E385842B for ; Wed, 27 Apr 2022 18:55:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E242E385842B Received: by mail-oi1-x235.google.com with SMTP id 12so2938279oix.12 for ; Wed, 27 Apr 2022 11:55:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=dO7z3rojIhQFbChdJqs4h2JqmodLaTY6iY/9xU0fJoo=; b=pByc34w+9y1EqPt/NFjl+lDdKDyCb/+2kXo5kSi6Xjut4/BOTTJUxIZ30ZSSdIjwiv iFyJdRUSqxB+uiqq1HNLgqDqBa4JrLshyGBr+9aGg8dp6N8mTuq2JgS+2XjH7G2UzIRT JGbtBg9REzQb83/LHbmdxNM0e023ADx95R6WPFUM4qwKLfZ8F2Nruk9lXngsqvkuGZGh jrKyBmZKW8oFWbCZc9uOgzamBVqtkD/MYS2z+UmXSYHp65YikECglDbUZNaMhC8a5b1X YGvmIYArNMx3FuIwGaoJOEaFtN/TRbOrVsaVqNBwAVfX5THKLMVEK8BFGLnw+YIegJpG i8mA== X-Gm-Message-State: AOAM533WKXpwp4RE0JhoU1zeZdZtoCKabZ9Bir3M4ZIbPK7qWGOUjHQ7 f1Zu1WpfNN7ZRWzcag655y3MjqFju4/18A== X-Google-Smtp-Source: ABdhPJx8QwDLPDZ8pPBKPkHdpu1udneCRQPlEMREG4MKPWmISHetG8nxAWqAq2u7m/ESwMUByO8kvw== X-Received: by 2002:a05:6808:14c3:b0:323:2a51:a22f with SMTP id f3-20020a05680814c300b003232a51a22fmr13340440oiw.248.1651085747232; Wed, 27 Apr 2022 11:55:47 -0700 (PDT) Received: from ?IPV6:2804:431:c7ca:4214:b613:182d:cdde:5f86? ([2804:431:c7ca:4214:b613:182d:cdde:5f86]) by smtp.gmail.com with ESMTPSA id x21-20020a4a6215000000b0033993dc1d65sm7028360ooc.8.2022.04.27.11.55.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 11:55:46 -0700 (PDT) Message-ID: <4e75d72f-2d4d-372f-744e-441f8b39306d@linaro.org> Date: Wed, 27 Apr 2022 15:55:44 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: glibc with kernel-4.14 headers on riscv Content-Language: en-US To: Florian Weimer , Abhishek Kumar Cc: "libc-help@sourceware.org" References: <87o80nj76w.fsf@oldenburg.str.redhat.com> From: Adhemerval Zanella In-Reply-To: <87o80nj76w.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2022 18:55:49 -0000 On 27/04/2022 04:50, Florian Weimer via Libc-help wrote: > * Abhishek Kumar: > >> I am woking on kernel-4.14 to give support for riscv (fu540 plateform) >> ,I am using glibc2.27 for my kernel after build the kernel when >> booting it at boot time it is giving me error "FATAL: kernel too old", >> so please suggest me which glibc version I should use for my >> kernel-4.14 so that it will be compatible for riscv. > > Kernel support was added to mainline Linux in version 4.15, so that's > the baseline that glibc supports. You'll either have to use a mainline > kernel, or port glibc to the custom kernel. The idea is also to remove these kernel checks for glibc 2.36 [1]. [1] https://patchwork.sourceware.org/project/glibc/list/?series=7675