Severely outdated config.sub in 0.7 distribution
------------------------------------------------
Key: THRIFT-1291
URL: https://issues.apache.org/jira/browse/THRIFT-1291
Project: Thrift
Issue Type: Bug
Components: Build Process, Deployment
Affects Versions: 0.7
Reporter: Diwaker Gupta
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:
{noformat}
$ 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
{noformat}
The first few lines of the files are also instructive:
{noformat}
$ 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'
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira