Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e6412702edd0e82142e096d977ed9091f087b409
Ticket: 3599098fffffffffffffffffffffffffffffffff
platform::identify returns wrong result for glibc-2.17
User & Date: pawel_sikora on 2013-01-01 12:53:26
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    # rpm -q glibc
    glibc-2.17-1.i686
    glibc-2.17-1.x86_64
    
    # echo 'package require platform; set p [platform::identify]; puts $p' | tclsh
    linux-glibc6.-x86_64
                     ^^^ should be 2.17 instread of "6."
    
    the recent glibc versions allows to ./conifgure --with-pkgversion=PKG' (use PKG in the version string in place of "GNU libc").
    so finally, the /lib64/libc-2.17.so returns e.g.:
    
    $ /lib64/libc-2.17.so 
    GNU C Library (glibc-6:2.17-1) stable release version 2.17, by Roland McGrath et al.
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.7.2 20121104 (release).
    Compiled on a Linux 3.7.0 system on 2012-12-26.
    Available extensions:
            crypt add-on version 2.1 by Michael Glad and others
            GNU Libidn by Simon Josefsson
            Native POSIX Threads Library by Ulrich Drepper et al
            BIND-8.2.3-T5B
    libc ABIs: UNIQUE IFUNC
    For bug reporting instructions, please see:
    <http://bugs.pld-linux.org/>.
    
    
    tcl's platform packages needs better regexp for matching libc version.
    
  4. foundin changed to: "obsolete: 8.5.13"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "pawel_sikora"
  10. subsystem changed to: "None"
  11. title changed to:
    platform::identify returns wrong result for glibc-2.17
    
  12. type changed to: "Bug"