On Sep 3, 2014, at 11:41 AM, Andy Polyakov <ap...@openssl.org> wrote:

>> In the ld man page, I could find help for option +nosectionmerge.
>>           +nosectionmerge
>>                          With the -r option, allow procedures to be
>>                          positioned independently.  The default is to merge
>>                          all procedures into a single section.
>> [This is what I have in my man page]
>> 
>> If default is merge, do we really need to use option +sectionmerge in
>> the LD fla
> 
> Yes. Despite what manual page says, it didn't do the sectionmerge (which
> was resulting in crash upon startup). So do patch.
> 
>> has the behavior changed in any patch recently?
>> What is the impact if i remove it?
> 

The behavior has changed several times, and often.  :)

> Who can possibly answer these questions? Only HP, so talk to them. The
> only thing known experimentally is that B.12.56 (see with ld -V) works,
> while B.12.49 doesn’t

HP has a track record of breaking ld every so often, which is why I recommended 
making sure you’ve got the latest patch (yeah, that sometimes means my advice 
will break things :( ).  The default is supposed to be +sectionmerge on Itanium 
(but not PA-RISC — or do I have that backwards?), but as Andy says, that’s not 
really true.  You can remove it, and if you’ve got a properly working ld, 
you’ll probably be OK, but be aware that sometimes your binary linked with 
openssl libraries will crash on start-up.  Also note that if you don’t use 
+sectionmerge, use of fastbind is highly discouraged — it’ll probably crash and 
corrupt your executable. :)  And if you want to look at the man page, note that 
manual pages have separate patches from HP, and worse, the ld man page patch is 
usually a few months behind the cumulative linker patch (the one that updates 
ld), so even if you have the latest of both installed, the man page might still 
be wrong.  And don’t think you can get away with “ld +help” that’s not always 
up to date, either (but it’s more likely to be correct than the man page). :(  
Unfortunately, I don’t have access to any HP-UX boxes right now, so I can’t 
check more directly.

TOM

>> I could not find any help for zlinux. Any help is much appreciated.
> 
> zLinux is not explicitly validated, it should be possible to resort for
> ./config no-asm.
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       openssl-dev@openssl.org
> Automated List Manager                           majord...@openssl.org
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to