[Bug other/38783] [Regression] - The triplet i386-pc-solaris2.11 is ambiguous
--- Comment #3 from rob1weld at aol dot com 2009-01-23 12:25 --- From: Ben Elliston b...@air.net.au To: rob1w...@aol.com Sent: Thu, 22 Jan 2009 8:12 pm Subject: Re: Patch for config.guess Hi Rob, Thanks for your report. The script config.guess lumps together many of Sun's Operating Systems into one identifier. To save attempting to parse all the names of the various versions it is easier to rely on the Kernel version number. This is discussed here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38783 I read the bug report. Solaris is no different to other operating systems that we have detected in config.guess for many years. We have traditionally tried to strike a balance between providing enough information for GNU packages that care (ie. GCC) and providing too much information (such as the specific build number of the kernel). If there are specific kernel problems that you are trying to work around, it is usually more reliable to have a configure test that switches on the config.guess triplet and then actually detects the presence of the problem. Cheers, Ben Thanks for considering my request and reading my Bug Report over at gcc's Bugzilla. ... tried to strike a balance between providing enough information for GNU packages that care (ie. GCC) and providing too much information ... Agreed. It would not have been great to make the Identifier larger and it would certainly not have been pretty, but there is a lot of overlap between different OSes. Since My Operating System is correctly reported (or you could file a Bug Report) I have nothing to worry about. The people who program gcc (and other software) will simply have to figure out from the given Identifier which OS they are dealing with and know what to test for. Thanks, Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38783
[Bug other/38783] [Regression] - The triplet i386-pc-solaris2.11 is ambiguous
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-09 20:10 --- This is a bug in either config.guess or uname so this is not a GCC issue. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38783
[Bug other/38783] [Regression] - The triplet i386-pc-solaris2.11 is ambiguous
--- Comment #2 from rob1weld at aol dot com 2009-01-10 03:08 --- OK, I'm going to propose: # gdiff -Naur config.BACKUP2.guess config.guess --- config.BACKUP2.guess2009-01-09 19:01:21.178338502 -0800 +++ config.guess2009-01-09 19:04:59.921763936 -0800 @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -timestamp='2008-12-19' +timestamp='2009-01-09' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -344,7 +344,7 @@ SUN_ARCH=x86_64 fi fi - echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}.${UNAME_VERSION}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38783