Hello, It has been some time since I needed to compile a kernel and I have this problem now. *** Compiler is too old. What would be the sanest way to do this? Meaning upgrade gcc and friends ? Please see below for details: make menuconfig gives me this: ---------------------------------------------------------------------------------------------------------------- aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make menuconfig *** *** Compiler is too old. *** Your GCC version: 4.9.2 *** Minimum GCC version: 5.1.0 *** scripts/Kconfig.include:44: Sorry, this compiler is not supported. scripts/kconfig/Makefile:48: recipe for target 'menuconfig' failed make[1]: *** [menuconfig] Error 1 Makefile:619: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2 ---------------------------------------------------------------------------------------------------------------- and make -j3 gives me this: ---------------------------------------------------------------------------------------------------------------- aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make -j3 Makefile:661: include/config/auto.conf: No such file or directory Makefile:709: include/config/auto.conf.cmd: No such file or directory SYNC include/config/auto.conf.cmd HOSTCC scripts/kconfig/conf.o HOSTLD scripts/kconfig/conf *** *** Compiler is too old. *** Your GCC version: 4.9.2 *** Minimum GCC version: 5.1.0 *** scripts/Kconfig.include:44: Sorry, this compiler is not supported. scripts/kconfig/Makefile:77: recipe for target 'syncconfig' failed make[2]: *** [syncconfig] Error 1 Makefile:619: recipe for target 'syncconfig' failed make[1]: *** [syncconfig] Error 2 Makefile:731: recipe for target 'include/config/auto.conf.cmd' failed make: *** [include/config/auto.conf.cmd] Error 2 aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ ------------------------------------------------------------------------------------------------------------- I really do not want to install the latest Debian unless there is no other way ? Thank you, Aruna
On Mon, Feb 21, 2022 at 5:53 AM Aruna Hewapathirane <aruna.hewapathirane@gmail.com> wrote:
*** Compiler is too old. *** Your GCC version: 4.9.2 *** Minimum GCC version: 5.1.0
This ML is not for distribution related problems and/or system administration. Please check the documentation of your distro and understand how to keep it updated. I know nobody who these days still uses GCC 4.9. Regards, Fabio
On Mon, Feb 21, 2022 at 6:26 AM FMDF <fmdefrancesco@gmail.com> wrote:
On Mon, Feb 21, 2022 at 5:53 AM Aruna Hewapathirane <aruna.hewapathirane@gmail.com> wrote:
*** Compiler is too old. *** Your GCC version: 4.9.2 *** Minimum GCC version: 5.1.0
This ML is not for distribution related problems and/or system administration.
My apologies I did not know. So what is this ML for ?
Please check the documentation of your distro and understand how to keep it updated.
Thank you I will try to do so.
I know nobody who these days still uses GCC 4.9.
I actually have DOS6.22 and Clipper running in virtual box :)
Regards,
Fabio
Thank you Fabio.
On Sun, 20 Feb 2022 23:52:47 -0500, Aruna Hewapathirane said:
*** Compiler is too old.
What would be the sanest way to do this? Meaning upgrade gcc and friends ?
Well... the answer to the posed question is, of course, "install gcc 5.1 or later" (and even *that* is pretty damned ancient - some of us are chasing problems with building the kernel with gcc 12. gcc 5.1 was released on 4-22-2015). The meta question is what the <expletive> you're running that 4.9.2 (released on 10-30-2014) is still the compiler - and what *other* things on your machine are severely backleveled, particularly security-relevant patches....
On Tue, Feb 22, 2022 at 8:48 PM Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:
On Sun, 20 Feb 2022 23:52:47 -0500, Aruna Hewapathirane said:
*** Compiler is too old.
What would be the sanest way to do this? Meaning upgrade gcc and friends ?
Well... the answer to the posed question is, of course, "install gcc 5.1 or later"
I tried to do that believe me I jumped through lots of hoops but uh uh no cigar.. :(
(and even *that* is pretty damned ancient - some of us are chasing problems with building the kernel with gcc 12. gcc 5.1 was released on 4-22-2015).
Show off, I had no idea there was a gcc 12 ( it is so good to hear from you after many moons Valdis how is the Jag and my warmest regards to miss drove a jag did not crash ? :)
The meta question is what the <expletive> you're running that 4.9.2 (released on 10-30-2014) is still the compiler - and what *other* things on your machine are severely backleveled, particularly security-relevant patches....
Fine you convinced me security is a concern. I got the Debian debian-11.2.0-amd64-netinst.iso and did a: sudo dd if=debian-11.2.0-amd64-netinst.iso of=/dev/sdi bs=1024k and I am typing this from a brand new clean install of 5.10.0-11-amd64 ( Codename: Bullseye) I have a *different* setup. See below :-) NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 100M 0 part ├─sda2 8:2 0 212.2G 0 part ├─sda3 8:3 0 1K 0 part ├─sda5 8:5 0 19.7G 0 part └─sda6 8:6 0 903M 0 part sdb 8:16 0 931.5G 0 disk ├─sdb1 8:17 0 250G 0 part ├─sdb2 8:18 0 250G 0 part ├─sdb3 8:19 0 16.8G 0 part ├─sdb4 8:20 0 1K 0 part ├─sdb5 8:21 0 204G 0 part ├─sdb6 8:22 0 196.9G 0 part ├─sdb7 8:23 0 6.2G 0 part └─sdb8 8:24 0 7.7G 0 part sdc 8:32 0 465.8G 0 disk ├─sdc1 8:33 0 1K 0 part ├─sdc2 8:34 0 232.4G 0 part /media/aruna/linux-next ├─sdc3 8:35 0 232.4G 0 part / └─sdc5 8:37 0 928M 0 part [SWAP] sr0 11:0 1 1024M 0 rom I was running 3.16 something and my setup has a usb dock with a 500GB I boot from. Why ? Just wanted to see if Grub will break ? Sadly as I was already aware Grub does not break :-) Thanks for scaring the sh*ts out of me with the security-relevant pitch. Aruna
On Tue, Feb 22, 2022 at 7:19 PM Aruna Hewapathirane <aruna.hewapathirane@gmail.com> wrote:
On Tue, Feb 22, 2022 at 8:48 PM Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:
On Sun, 20 Feb 2022 23:52:47 -0500, Aruna Hewapathirane said:
*** Compiler is too old.
What would be the sanest way to do this? Meaning upgrade gcc and friends ?
Well... the answer to the posed question is, of course, "install gcc 5.1 or later"
I tried to do that believe me I jumped through lots of hoops but uh uh no cigar.. :(
(and even *that* is pretty damned ancient - some of us are chasing problems with building the kernel with gcc 12. gcc 5.1 was released on 4-22-2015).
Show off, I had no idea there was a gcc 12 ( it is so good to hear from you after many moons Valdis how is the Jag and my warmest regards to miss drove a jag did not crash ? :)
OK. Im picturing Valdis' beard in a top-down E-type I was just perusing this https://www.kernel.org/doc/html/latest/process/changes.html it speaks to minimum versions of everything Its good to next thru a bit, youll find things you didnt know. I dont need a PGP, but I know where to look for info now.
On Monday, 7 March 2022, <jim.cromie@gmail.com> wrote:
On Tue, Feb 22, 2022 at 7:19 PM Aruna Hewapathirane <aruna.hewapathirane@gmail.com> wrote:
On Tue, Feb 22, 2022 at 8:48 PM Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:
On Sun, 20 Feb 2022 23:52:47 -0500, Aruna Hewapathirane said:
*** Compiler is too old.
What would be the sanest way to do this? Meaning upgrade gcc and
friends ?
Well... the answer to the posed question is, of course, "install gcc
5.1 or later"
I tried to do that believe me I jumped through lots of hoops but uh uh no cigar.. :(
(and even *that* is pretty damned ancient - some of us are chasing problems with building the kernel with gcc 12. gcc 5.1 was released on 4-22-2015).
Show off, I had no idea there was a gcc 12 ( it is so good to hear from you after many moons Valdis how is the Jag and my warmest regards to miss drove a jag did not crash ? :)
OK. Im picturing Valdis' beard in a top-down E-type
I was just perusing this https://www.kernel.org/doc/html/latest/process/changes.html it speaks to minimum versions of everything
Its good to next thru a bit, youll find things you didnt know. I dont need a PGP, but I know where to look for info now.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
What distribution are you using, and what version? -Rogério Valentim
On Mon, Mar 7, 2022 at 3:30 AM Rogério Valentim Feitoza da Silva <rogerio.silva3920@gmail.com> wrote:
On Monday, 7 March 2022, <jim.cromie@gmail.com> wrote:
I was just perusing this https://www.kernel.org/doc/html/latest/process/changes.html it speaks to minimum versions of everything
Its good to next thru a bit, youll find things you didnt know. I dont need a PGP, but I know where to look for info now.
What distribution are you using, and what version?
-Rogério Valentim
Im on Fedora-35. so I use dnf install when <bison/flex/whatever> are found missing by make process.
On Sun, Mar 6, 2022 at 10:29 PM <jim.cromie@gmail.com> wrote:
On Tue, Feb 22, 2022 at 7:19 PM Aruna Hewapathirane <aruna.hewapathirane@gmail.com> wrote:
On Tue, Feb 22, 2022 at 8:48 PM Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:
On Sun, 20 Feb 2022 23:52:47 -0500, Aruna Hewapathirane said:
*** Compiler is too old.
What would be the sanest way to do this? Meaning upgrade gcc and
friends ?
Well... the answer to the posed question is, of course, "install gcc
5.1 or later"
I tried to do that believe me I jumped through lots of hoops but uh uh no cigar.. :(
(and even *that* is pretty damned ancient - some of us are chasing problems with building the kernel with gcc 12. gcc 5.1 was released on 4-22-2015).
Show off, I had no idea there was a gcc 12 ( it is so good to hear from you after many moons Valdis how is the Jag and my warmest regards to miss drove a jag did not crash ? :)
OK. Im picturing Valdis' beard in a top-down E-type
It's a classy set of wheels he did send a picture many years ago on kernel newbies irc but I cannot locate this in a hurry. Maybe Valdis if he still has the pic could share ? And if you meet him in real life someday ask him about the hole in his back ? I am not kidding he went through some very serious pain due to a *bug* sadly not a kernel bug which he would have simply squashed effortlessly but something called a 'flesh-eating bug' . Anyways...
I was just perusing this https://www.kernel.org/doc/html/latest/process/changes.html it speaks to minimum versions of everything
Many thanks for sharing.
Its good to next thru a bit, youll find things you didnt know.
I already did :D
I dont need a PGP, but I know where to look for info now.
Thanks again, Aruna
participants (5)
-
Aruna Hewapathirane -
FMDF -
jim.cromie@gmail.com -
Rogério Valentim Feitoza da Silva -
Valdis Klētnieks