Bug 3045

Summary: -z now must be part of the linker flags
Product: ACE Reporter: Johnny Willemsen <jwillemsen>
Component: ACE Autoconf SetupAssignee: J.T. Conklin <jtc>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 5.5.10   
Hardware: All   
OS: Solaris   
Bug Depends on:    
Bug Blocks: 3043    

Description Johnny Willemsen 2007-08-15 07:49:54 CDT
on solaris we must use "-z now" as part of the linker flags
Comment 1 Steve Huston 2007-08-15 08:12:20 CDT
Why? What does this do? Is it on all versions/compilers?
Comment 2 Johnny Willemsen 2007-08-15 08:16:10 CDT
see http://docs.sun.com/app/docs/doc/817-1984/6mhm7pl1j?a=view, we already do this with the regular GNU make, not with autoconf
Comment 3 Steve Huston 2007-08-15 08:54:24 CDT
Ok, I see now. The "-z now" was added in response to 2710. Also, please review 2994 which is the same basic issue and was (or is being) fixed correctly rather than forcing a linker option on all use cases. Once 2994 is resolved correctly, you can probably revert the -z now thing in the traditional build config.
Comment 4 Johnny Willemsen 2007-08-15 12:30:12 CDT
Steve, I have had customer problems that where solved by adding "-z now" which didn't had anything todo with 2994. We really should keep "-z now" and add it to the autoconf support. 
Comment 5 Johnny Willemsen 2007-08-17 13:35:33 CDT
Anyone knows the automake variable that can be set to configure the ld flags in general?
Comment 6 Steve Huston 2007-08-17 16:07:01 CDT
LDFLAGS

If you add:

LDFLAGS="-z now $LDFLAGS"

it should get what you want.
Comment 7 Johnny Willemsen 2007-08-18 01:18:55 CDT
Ok, so we could add that then to platform.m4
Comment 8 Johnny Willemsen 2007-12-03 04:15:58 CST
JT, can you have a look at this one?
Comment 9 Johnny Willemsen 2011-10-20 01:57:14 CDT
Closing as wont fix, we don't have resources/funding for autoconf, switching to just regular compilation