|
2002-02-25
| ||
| 00:01 | • Ticket [521707ffff] IRIX 6 linker options status still Closed with 6 other c... artifact: 22461b1a48 user: jenglish | |
|
2002-02-24
| ||
| 05:18 | • Closed ticket [521707ffff]. artifact: 5c8678c7c5 user: mdejong | |
|
2002-02-23
| ||
| 11:00 | • Add attachment autoconf.patch to ticket [521707ffff] artifact: f047f2e663 user: jenglish | |
| 11:00 | • Ticket [521707ffff] IRIX 6 linker options status still Open with 4 other cha... artifact: 41cac17209 user: jenglish | |
| 04:00 | • New ticket [521707ffff]. artifact: 9a41be86a0 user: jenglish | |
IRIX 6 linker options
Closed / Accepted521707ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-02-23 04:00:50
On IRIX 6, ./configure adds "-n32" to CFLAGS but links with "-32". The two ABIs are not compatible, so the link fails. "-n32" is the recommended ABI for IRIX 6; the attached patch to tcl.m4 changes LDFLAGS to use -n32 as well. (P.S.: with the exception of the above, configure; make; make install still works flawlessly on IRIX 5 & 6 as of today's CVS HEAD.) (P.P.S: the same change should probably be made to tk/unix/tcl.m4 as well).
jenglishplain2002-02-23 11:00:52
File Added - 18272: autoconf.patch
mdejongplain2002-02-24 05:18:47
Logged In: YES user_id=90858 This patch seems ok, but I was a little throw off by the fact that the IRIX64-6.* branch did not include -mabi=n32 in the CFLAGS. I don't have an IRIX box to test this on so I am going to commit it and ask that you double check that it works on the systems you have access to.
jenglishplain2002-02-25 00:01:38
Logged In: YES user_id=68433 > I was a little throw off by the fact that > the IRIX64-6.* branch did not include > -mabi=n32 in the CFLAGS. Hm. '-n32' is the default ABI, unless it's overridden on the command line, or by an environment variable. Maybe it would make sense to specify it explicitly in both places, or leave it unspecified altogether. If I get a chance later this week I'm going to try getting --enable-64bit working on this platform; I'll revisit this issue then. -mabi=n32 is apparently how GCC spells this; the native IRIX compiler doesn't recognize this flag (only -n32, -32, and -64). Anyway, I've (re-)tested it on IRIX 6 and IRIX 5 and it still works OK.
Log in (anonymous is fine) to add a comment.
Attachments:
- autoconf.patch [download] added by jenglish on 2002-02-23 11:00:52. [details]