| Ticket UUID: | 220224 | |||
| Title: | Incorrect SHLIB_LD for SunOS4 & gcc | |||
| Type: | Bug | Version: | final: 8.1.1 | |
| Submitter: | welch | Created on: | 2000-10-31 23:01:39 | |
| Subsystem: | 84. Unix Build | Assigned To: | hobbs | |
| Priority: | 1 Zero | Severity: | ||
| Status: | Closed | Last Modified: | 2002-04-07 06:27:15 | |
| Resolution: | Remind | Closed By: | hobbs | |
| Closed on: | 2002-04-06 23:27:15 | |||
| Description: |
OriginalBugID: 2576 Bug
Version: 8.1.1
SubmitDate: '1999-08-18'
LastModified: '2000-04-14'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
Machine: Sparc
ClosedDate: '2000-04-14'
Name:
David Wilson
ReproducibleScript:
When building on Tk 8.1.1. on SunOS 4 using gcc 2.7.2 (having specified
--enable-gcc --enable-shared to configure) the tk shared library failed
to
build with unresolved symbols. This is probably because SHLIB_LD was set
to
'ld', while it should be gcc -shared when using gcc (and probably ld -G
when
using other compilers on a number of platforms).
ObservedBehavior:
Does not build
DesiredBehavior:
The Makefile created by configure should set the correct options.
We need a specific patch that is known to work correctly for
the SunOS env, as we have no access to one and don't want to
potentially break a build.
-- 04/14/2000 hobbs
| |||
| User Comments: |
hobbs added on 2002-04-07 06:27:15:
Logged In: YES user_id=72656 OK, so this leads back to my original response. Unless someone comes forth with a SunOS4 system and a known working patch, we'll let this close itself. dgp added on 2002-04-06 22:23:20: Logged In: YES user_id=80530 Re-opened. The basic complaint here, translated to the HEAD, is that the SC_CONFIG_CFLAGS in tcl.m4 sets up the linker to be used, SHLIB_LD, based solely on the operating system. This report alleges that the choice of linker should also depend, at least in some situations on the chosen compiler. This dependence can be added in easily though. See the Linux*) and GNU*) and NetBSD-*|FreeBSD-[[1-2]].*|OpenBSD-*) branches for examples where other things were tested. The specific report is that using an old gcc compiler on an old Sun OS (Sun-OS 4!) a different choice of linker needs to be made. I can't verify that. I can't even verify that there are SunOS4 machines still in use anywhere. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki