From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4883C433C1 for ; Mon, 29 Mar 2021 04:58:19 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4ECA56195A for ; Mon, 29 Mar 2021 04:58:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4ECA56195A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1lQjyH-0008IS-Q6; Mon, 29 Mar 2021 00:57:49 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lQjyE-0008IN-St for kernelnewbies@kernelnewbies.org; Mon, 29 Mar 2021 00:57:47 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 736C810D6; Mon, 29 Mar 2021 00:57:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 29 Mar 2021 00:57:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WCwmXBfwxR9OCpKt/xBBrd/PVQA peqoERiYWkeKCig4=; b=bXslO2k30r4ICu09YniX1STBeLugylhfRRmtAEqj50m eI8KKhGizrPpyLKaVrZDQNSpZZ0ZKPdNAM0FBchdWi3sFLDBWwn1c65QJ6poIvE4 X9J6H1jyuOfdz4lwbED8THPriX34qBg2tbXvE+CoBMuaTPzwGFZ4HT4xKG+TPwsc 4xN6ODAS2Y/hld1kXbZP4Uw0JGoeqhId65029YPNxVozbXE6Ebfn7/BxAsV3ig7S o9VfdSmrlXUWJp806d2qroM4jqKxVYV2U/Q4eenBF2SkubKEQXpSDNbNy0t4xZ37 9dgf/7vFk9yNI1sB7C4nFJldvzyK630vML9tBKS7eRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=WCwmXB fwxR9OCpKt/xBBrd/PVQApeqoERiYWkeKCig4=; b=ZoxRb5dCmQMgdQeO8KxntH X5p/bq9VwJzdwE9p36BbUlkLqz1PJZdXNNaf+D6Xvy1tgxJxlydlC12oLMqNY8uH vcHJLt7kt4/Yng0x1CKNATAbhYWqFAeh5BQkOpkmsLgaLweulPJBqnVhbnREO+3J ISfNe6n/DA22E2eMiligdT4fJEVuc3iu0+ak+OI4WNKp2p7ODr0tvbrct+q1cQCA ZCqtuGCZ2oPkl070N6M5D8nAKZwJcAzSTjj8vgTybw0WppkVWlBN2nzZsEjWgmuw wrwyMaLUTK5q0jeDIMqM+R9toJO/USJt6aJikbaGwQ6xlER5X1HJj9E5e+cfkLVg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehjedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdortddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeefueeuke ekteejieeitdfftefhhfeihffgteeludetvdelhefgvdehtddtffelgfenucffohhmrghi nhepghhithhhuhgsrdgtohhmnecukfhppeekfedrkeeirdejgedrieegnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghh rdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 4750D24005B; Mon, 29 Mar 2021 00:57:39 -0400 (EDT) Date: Mon, 29 Mar 2021 06:57:37 +0200 From: Greg KH To: Fawad Lateef Subject: Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help. Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies , linux-kernel@vger.kernel.org, kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > Hi > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > NAND driver, I am stuck with the sunxi kernel 3.4.xxx version. (Repo > here: https://github.com/linux-sunxi/linux-sunxi) Please work with the vendor that is forcing you to use this obsolete and insecure kernel version. You are paying for that support, and they are the only ones that can support you. > I am currently using buildroot-2016 and gcc-5.5 for building the > kernel and every other package needed. > > Now the requirement is to move to the latest version of gcc-9.x, so > that we can have glibc++ provided by the gcc-9.1 toolchain. > > Main problem for moving to later versions of buildroot is the kernel > 3.4 which we couldn't to work with gcc-6 a few years ago _but_ now the > gcc-9.1 requirement is mandatory so now have to look into compiling > linux-3.4 with gcc-9.1 or above. > > Now I need some help. > > -- Is it realistic to expect 3.4 kernel compiling and boot > successfully with gcc-9.1? No. It took a lot of work and effort just to get the 4.4.y kernel to work with that gcc version. Again, please work with the company that you are already paying for support from, they can do this for you. good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies