kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Fawad Lateef <fawadlateef@gmail.com>
Cc: kernelnewbies <kernelnewbies@nl.linux.org>,
	linux-kernel@vger.kernel.org,
	kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.
Date: Mon, 29 Mar 2021 06:57:37 +0200	[thread overview]
Message-ID: <YGFeQUuAaKgeaqCA@kroah.com> (raw)
In-Reply-To: <CAGgoGu77PEEAJped5bnw4q8rFeDMebL92YWGDGFfNp_ZAnpJ8Q@mail.gmail.com>

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

  parent reply	other threads:[~2021-03-29  4:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28 20:20 Compiling kernel-3.4.xxx with gcc-9.x. Need some help Fawad Lateef
2021-03-28 20:49 ` Andy Shevchenko
2021-03-28 21:02   ` Fawad Lateef
2021-03-29  4:57 ` Greg KH [this message]
2021-03-29 19:20   ` Fawad Lateef
2021-03-29 19:35     ` Greg KH
2021-03-29 20:06     ` Arnd Bergmann
2021-03-30 13:23       ` Fawad Lateef
2021-03-30 13:40         ` Greg KH
2021-04-18 17:23           ` Fawad Lateef
2021-04-18 17:25           ` Fawad Lateef
2021-04-18 18:36             ` Willy Tarreau
2021-03-30 14:22         ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YGFeQUuAaKgeaqCA@kroah.com \
    --to=greg@kroah.com \
    --cc=fawadlateef@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).