Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1291

Severely outdated config.sub in 0.7 distribution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • None
    • Build Process, Deployment
    • None

    Description

      The version of config.sub that is distributed with Thrift 0.7 seems to be from 2003, whereas the one that shipped with 0.6 is from 2008. This is breaking Thrift builds for us on non-standard platforms. For instance:

      $ bash config.sub.0.6 arm-unknown-linux-uclibcgnueabi
      arm-unknown-linux-uclibcgnueabi
      
      $ bash config.sub.0.7 arm-unknown-linux-uclibcgnueabi
      Invalid configuration `arm-unknown-linux-uclibcgnueabi': machine `arm-unknown-linux' not recognized
      

      The first few lines of the files are also instructive:

      $ head -n 7 config.sub.0.6
      #! /bin/sh
      # Configuration validation subroutine script.
      #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
      #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
      #   Free Software Foundation, Inc.
      
      timestamp='2008-01-16'
      
      $ head -n 7 config.sub.0.7
      #! /bin/sh
      # Configuration validation subroutine script.
      #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
      #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
      
      timestamp='2003-06-18'
      

      Attachments

        1. config.sub.0.6
          33 kB
          Diwaker Gupta
        2. config.sub.0.7
          30 kB
          Diwaker Gupta

        Activity

          People

            jfarrell Jake Farrell
            diwaker Diwaker Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: