* 32bit glibc 2.30 and kernel 4.9.259: FATAL: kernel too old
@ 2021-03-04 14:34 Michael Brunnbauer
2021-03-04 15:03 ` Florian Weimer
0 siblings, 1 reply; 4+ messages in thread
From: Michael Brunnbauer @ 2021-03-04 14:34 UTC (permalink / raw)
To: libc-help
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]
hi all,
I still have a 32bit glibc 2.30 lying around to run older programs that I
did not get around to recompile. After upgrading from Kernel 4.9.255 to
4.9.259, they all fail with "FATAL: kernel too old". This seems to be a
message from the loader.
The suspicion offers itself that this is because the revision/patch number
cannot be represented with a byte any more.
Any idea what's going on and how to fix it?
Regards,
Michael Brunnbauer
--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Straße 11a
++ 81379 München
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: München, HRB Nr.142452 (Handelsregister B München)
++ USt-IdNr. DE221033342
++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32bit glibc 2.30 and kernel 4.9.259: FATAL: kernel too old
2021-03-04 14:34 32bit glibc 2.30 and kernel 4.9.259: FATAL: kernel too old Michael Brunnbauer
@ 2021-03-04 15:03 ` Florian Weimer
2021-03-04 15:19 ` Michael Brunnbauer
0 siblings, 1 reply; 4+ messages in thread
From: Florian Weimer @ 2021-03-04 15:03 UTC (permalink / raw)
To: Michael Brunnbauer; +Cc: libc-help
* Michael Brunnbauer:
> I still have a 32bit glibc 2.30 lying around to run older programs that I
> did not get around to recompile. After upgrading from Kernel 4.9.255 to
> 4.9.259, they all fail with "FATAL: kernel too old". This seems to be a
> message from the loader.
>
> The suspicion offers itself that this is because the revision/patch number
> cannot be represented with a byte any more.
>
> Any idea what's going on and how to fix it?
How has this particular glibc been built?
Thanks,
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32bit glibc 2.30 and kernel 4.9.259: FATAL: kernel too old
2021-03-04 15:03 ` Florian Weimer
@ 2021-03-04 15:19 ` Michael Brunnbauer
2021-03-04 15:21 ` Florian Weimer
0 siblings, 1 reply; 4+ messages in thread
From: Michael Brunnbauer @ 2021-03-04 15:19 UTC (permalink / raw)
To: Florian Weimer; +Cc: libc-help
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
Hallo Florian,
On Thu, Mar 04, 2021 at 04:03:03PM +0100, Florian Weimer wrote:
> How has this particular glibc been built?
On 2019-10-30 apparently with gcc 7.3.0 and binutils 2.33.1 using:
mkdir compile
cd compile
echo "CFLAGS += -march=i686" > configparms
../configure --prefix=/usr --enable-kernel=4.9.190 --host=i686-pc-linux-gnu --disable-experimental-malloc
/usr/include/linux/version.h is:
#define LINUX_VERSION_CODE 264643
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
It seems the headers from Kernel 4.9.195 were installed.
Regards,
Michael Brunnbaur
--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Straße 11a
++ 81379 München
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: München, HRB Nr.142452 (Handelsregister B München)
++ USt-IdNr. DE221033342
++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32bit glibc 2.30 and kernel 4.9.259: FATAL: kernel too old
2021-03-04 15:19 ` Michael Brunnbauer
@ 2021-03-04 15:21 ` Florian Weimer
0 siblings, 0 replies; 4+ messages in thread
From: Florian Weimer @ 2021-03-04 15:21 UTC (permalink / raw)
To: Michael Brunnbauer; +Cc: libc-help
* Michael Brunnbauer:
> Hallo Florian,
>
> On Thu, Mar 04, 2021 at 04:03:03PM +0100, Florian Weimer wrote:
>> How has this particular glibc been built?
>
> On 2019-10-30 apparently with gcc 7.3.0 and binutils 2.33.1 using:
>
> mkdir compile
> cd compile
> echo "CFLAGS += -march=i686" > configparms
> ../configure --prefix=/usr --enable-kernel=4.9.190 --host=i686-pc-linux-gnu --disable-experimental-malloc
>
> /usr/include/linux/version.h is:
> #define LINUX_VERSION_CODE 264643
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>
> It seems the headers from Kernel 4.9.195 were installed.
Just build with --enable-kernel=4.9.0, then the issue should go away.
Thanks,
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-04 15:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 14:34 32bit glibc 2.30 and kernel 4.9.259: FATAL: kernel too old Michael Brunnbauer
2021-03-04 15:03 ` Florian Weimer
2021-03-04 15:19 ` Michael Brunnbauer
2021-03-04 15:21 ` Florian Weimer
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 read-only IMAP folder(s) and NNTP newsgroup(s).