Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 22 Mar 2014 12:12:23 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Cc: Rich Felker <dalias@...ifal.cx>
Subject: Re: Build on linux 2.6 and run on linux 2.4?

* John Mudd <johnbmudd@...il.com> [2014-03-21 16:16:29 -0400]:
> $ test_malloc
> FATAL: kernel too old
> Segmentation fault

this is printed by glibc

glibc can be built with --enable-kernel=x.y.z to set the minimal
compatible kernel version (it spends an extra uname syscall on this
at startup)

and there is a gnu elf note section with linux os abi that contains
a minimum kernel version (readelf or file(1) can print it), i guess
that comes from binutils

so you may be able to change those and then it will "work"

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.