public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13717] New: ../configure --enable-kernel=2.0.0 shouldn't be possible
@ 2012-02-20 23:31 ttk448 at gmail dot com
  2012-05-14 14:31 ` [Bug build/13717] " jsm28 at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ttk448 at gmail dot com @ 2012-02-20 23:31 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13717

             Bug #: 13717
           Summary: ../configure --enable-kernel=2.0.0 shouldn't be
                    possible
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: minor
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: ttk448@gmail.com
                CC: carlos@systemhalted.org
    Classification: Unclassified


Ignoring the advice in README and trying to enable support for very old kernel
versions, it appears to work:

 ../configure --prefix=/usr/local/glibc_32  \
             --enable-kernel=2.0.0 \
             --with-cpu=i486 --host=i486-linux-gnu \
             CC="gcc -m32 -march=i486"  CXX="g++ -m32 -march=i486"
 [...]
 WARNING: minimum kernel version reset to 2.0.10
 [...]


However, when a test programme is statically linked against this glibc and
executed on an old kernel (2.2.x) it fails:

 user@newsystem:~ $ file ./prog
 ./prog: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
 statically linked, for GNU/Linux 2.0.10, not stripped

 user@oldsystem:~ $ ./prog
 set_thread_area failed when setting up thread-local storage
 Segmentation fault

So instead I guess ./configure should do something like

 WARNING: minimum kernel version reset to 2.6.0

so that the normal "FATAL: kernel too old" error message appears when executed
on any older kernel?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-26 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-20 23:31 [Bug build/13717] New: ../configure --enable-kernel=2.0.0 shouldn't be possible ttk448 at gmail dot com
2012-05-14 14:31 ` [Bug build/13717] " jsm28 at gcc dot gnu.org
2012-05-25 20:48 ` jsm28 at gcc dot gnu.org
2012-08-03 13:48 ` jsm28 at gcc dot gnu.org
2014-06-26 15:20 ` fweimer at redhat dot com

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).