libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #111161] aix-soname behavior inconsistent


From: Ileana Dumitrescu
Subject: [sr #111161] aix-soname behavior inconsistent
Date: Tue, 10 Dec 2024 11:31:28 -0500 (EST)

Follow-up Comment #1, sr #111161 (group libtool):

Thank you for your bug submission.

Without immediate access to AIX, I reproduced this issue by removing the host
constraint for the macro in ltoptions.m4, by editing a test file to use
LT_INIT([aix-soname=svr4]), and by cleaning the testsuite's cache.

While this may be an incorrect assumption, autoconf is probably reordering
configure. It would be best to have the default set for variable
'enable_shared' before processing _LT_WITH_AIX_SONAME, but I am not sure how
best to implement that. The macro _LT_WITH_AIX_SONAME does not have a
dependency on any other macros being defined or called before processing, but
this does not seem like a good solution.

As a temporary "fix", I have attached a patch that will warn the user if
enable_shared has not been set. This patch also adds AC_MSG_CHECKING for
"which variant of shared library versioning to provide" to inform the user,
even if the default is set. LT_INIT with 'aix-soname=svr4' should work as
expected if 'shared' is supplied before it, like LT_INIT([shared
aix-soname=svr4]).

(file #56689)

    _______________________________________________________

Additional Item Attachment:

File name: aix-soname-behaviour-inconsistent.diff Size: 1KiB

<https://file.savannah.gnu.org/file/aix-soname-behaviour-inconsistent.diff?file_id=56689>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f13d333523abc00b8bb10e20cbe61e83bc26ec2a.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111161>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]