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

* [Bug build/13717] ../configure --enable-kernel=2.0.0 shouldn't be possible
  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 ` jsm28 at gcc dot gnu.org
  2012-05-25 20:48 ` jsm28 at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-05-14 14:31 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-05-14 14:31:20 UTC ---
As a first step, any claim to support pre-2.2 kernels has been removed by:

commit ffb7875d03e224584fd1e3dc8bb6e90c79ed606e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon May 14 14:11:02 2012 +0000

    Remove pre-2.2 Linux kernel support.

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

* [Bug build/13717] ../configure --enable-kernel=2.0.0 shouldn't be possible
  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
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-05-25 20:48 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-05-25 20:47:46 UTC ---
Any claim to support pre-2.4 kernels has been removed by:

commit 21708942c9b115a91dc03318a5f9e14328c5a71e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri May 25 19:19:30 2012 +0000

    Remove pre-2.4 Linux kernel support.

I still expect that 2.6 is the least version that will actually work, and for
glibc 2.17 we intend to move to Linux 2.6.16 as the minimum kernel version.

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

* [Bug build/13717] ../configure --enable-kernel=2.0.0 shouldn't be possible
  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
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-08-03 13:48 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-08-03 13:48:34 UTC ---
Fixed for glibc 2.17 by:

commit 7aab07e4e57334af621797aa43c2d71ad488b7cd
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Aug 3 13:42:47 2012 +0000

    Remove pre-2.6.0 Linux kernel support (bug 13717).

The minimum configured kernel version is now 2.6.0.  The intent is still to
make 2.6.16 the minimum version, and there is still plenty of compatibility
code for older kernels to remove.

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

* [Bug build/13717] ../configure --enable-kernel=2.0.0 shouldn't be possible
  2012-02-20 23:31 [Bug build/13717] New: ../configure --enable-kernel=2.0.0 shouldn't be possible ttk448 at gmail dot com
                   ` (2 preceding siblings ...)
  2012-08-03 13:48 ` jsm28 at gcc dot gnu.org
@ 2014-06-26 15:20 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-26 15:20 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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