|
2009-04-24
| ||
| 09:20 | • Closed ticket [2468684fff]: --enable-64bit doesn't work on Solaris Intel 10 ... artifact: 73c27b8f05 user: sf-robot | |
|
2009-04-10
| ||
| 01:59 | • Ticket [2468684fff]: 4 changes artifact: fda26f26b3 user: das | |
| 01:20 | • Ticket [2468684fff]: 4 changes artifact: 19ca3e2df2 user: dgp | |
| 01:14 | • Pending ticket [2468684fff]. artifact: 81d734921b user: dgp | |
|
2009-04-07
| ||
| 06:08 | • Ticket [2468684fff]: 6 changes artifact: d681638c7a user: andreas_kupries | |
|
2009-04-04
| ||
| 02:03 | • Ticket [2468684fff]: 1 change artifact: 4c056f7546 user: dgp | |
|
2008-12-29
| ||
| 00:54 | • Ticket [2468684fff]: 2 changes artifact: e7785b1fee user: dgp | |
|
2008-12-26
| ||
| 20:08 | • Ticket [2468684fff]: 4 changes artifact: 1d4d805665 user: vbwagner | |
| 20:08 | • Add attachment sol10-intel-configure.patch to ticket [2468684fffffffff|... artifact: 691c05c46c user: vbwagner | |
| 13:08 | • New ticket [2468684fff] --enable-64bit doesn't work on Solaris Intel 10 with... artifact: 9b6685cf3e user: vbwagner | |
--enable-64bit doesn't work on Solaris Intel 10 with GCC
Closed / Invalid2468684fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-26 13:08:35
Solaris Intel 10 supports 64-bit programs as well as Solaris sparc do. While GCC provided by sunfreeware or cleanly build from sources doesn't enable 64-bit mode by default, Sun provides package SUNWgcc, which contains patched gcc 3.4.6, which supports 64-bit mode. However, Tcl configure doesn't know about ability to build 64-bit version of Tcl on Solaris Intel 10 (and above) platform. It explicitely test for output of Solaris isainfo utility to be equal to "sparcv9 sparc", while "amd64 i386" is 64-bit platform as well. Attached patch made against configure script of tcl8.4.18 fixes this problem (problem still exists in tcl8.5.6)
vbwagnerplain2008-12-26 20:08:35
File Added - 306656: sol10-intel-configure.patch
dgp Ticket [2468684fff]: 2 changes
[History diff]2008-12-29 00:54:21
dgp Ticket [2468684fff]: 1 change
[History diff]2009-04-04 02:03:23
andreas_kupriesplain2009-04-07 06:08:56
Ok, this patch seems to be out of date.
Looking at the tcl.m4 file of all Tcl branch heads I find that the check for 'sparcv9 sparc' is always followed by a check for 'amd64 i386' which does what the patch purports to be doing, as far as I can tell.
8.4: line 1871 - sparc check
line 1894 - amd64 check
8.5: line 1901 - sparc
line 1923 - amd64
8.6: line 1878 - sparc
line 1900 - amd64
Contrary to what I said on the chat I was unable to fully test the patch on our build box, because the gcc we have on that box is apparently not 64bit enabled. I might be able to install the patched SUNWgcc, not today anymore however.
I was able to check the native compiler
The unpatched sources are generating proper 64bit executables.
The patched sources don't.
dgpplain2009-04-10 01:14:06
We cannot use the contributed patch. It patches "configure" which is a generated file. We would need a corrsponding patch for configure.in and tcl.m4, the sources from which configure is generated. Our development logs show: 2008-06-12 Daniel Steffen <[email protected]>... * unix/tcl.m4 (SunOS-5.11): fix 64bit amd64 support with gcc & Sun cc. * unix/configure: autoconf-2.59 so we would expect things to work properly starting with release Tcl 8.5.3, yet you report failure for either 8.5.5 or 8.5.6 (not clear). Please give the 8.5.6 release another check, and if it is failing, see what details you can offer for why the Steffen commit didn't take care of things for you.
dgpplain2009-04-10 01:20:40
The Steffen patch supports 64 bit builds on arch "amd64 i386" running SunOS-5.11 or higher, it appears. Is the bug here that it is possible to support SunOS-5.10 as well?
dasplain2009-04-10 01:59:36
it is certainly very possible that it is only a matter of adjusting the glob pattern to also match 5.10 in my patch to get support for that release, I would have only enabled my changes on the earliest solaris version I had easy access to at the time, for fear of breaking something on earlier releases...
sf-robotplain2009-04-24 09:20:18
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.
Attachments:
- sol10-intel-configure.patch [download] added by vbwagner on 2008-12-26 20:08:35. [details]