apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55690] New: Linux kernel version check broken
Date Tue, 22 Oct 2013 16:44:29 GMT

            Bug ID: 55690
           Summary: Linux kernel version check broken
           Product: APR
           Version: HEAD
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: Arfrever.FTA@GMail.Com

configure.in contains broken check of Linux kernel version:

case $host in
        os_version=`uname -r | sed -e 's/\(.\)\.\(.\)\.\(.\).*/\1\2\3/'`

It fails with all kernels >=3.10.0.
It also treats e.g. 2.6.3 and 2.6.32 as the same version.

./configure prints:

checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
checking for /dev/zero... yes
checking for mmap that can map /dev/zero... yes
./configure: line 21360: test: 3.10.17-gentoo: integer expression expected
decision on anonymous shared memory allocation method... 4.4BSD-style mmap()
./configure: line 21672: test: 3.10.17-gentoo: integer expression expected
decision on namebased memory allocation method... SysV IPC shmget()
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message