GNU bug report logs - #25202
llibtool 2.4.6: ibltdl ends up with an undefined symbol on Solaris 11

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Quanah Gibson-Mount <quanah@HIDDEN>; dated Wed, 14 Dec 2016 23:34:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Dec 2016 23:33:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 14 18:33:34 2016
Received: from localhost ([127.0.0.1]:42179 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cHJ3G-00058o-6S
	for submit <at> debbugs.gnu.org; Wed, 14 Dec 2016 18:33:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35816)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <quanah@HIDDEN>) id 1cHIvf-0004ui-IY
 for submit <at> debbugs.gnu.org; Wed, 14 Dec 2016 18:25:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <quanah@HIDDEN>) id 1cHIvZ-0004q4-4v
 for submit <at> debbugs.gnu.org; Wed, 14 Dec 2016 18:25:38 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50504)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <quanah@HIDDEN>) id 1cHIvY-0004py-Pi
 for submit <at> debbugs.gnu.org; Wed, 14 Dec 2016 18:25:36 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55015)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <quanah@HIDDEN>) id 1cHIvX-0005fN-JC
 for bug-libtool@HIDDEN; Wed, 14 Dec 2016 18:25:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <quanah@HIDDEN>) id 1cHIvS-0004n5-Fe
 for bug-libtool@HIDDEN; Wed, 14 Dec 2016 18:25:35 -0500
Received: from zmcc-5-mx.zmailcloud.com ([192.198.93.228]:58192)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <quanah@HIDDEN>) id 1cHIvS-0004lu-As
 for bug-libtool@HIDDEN; Wed, 14 Dec 2016 18:25:30 -0500
Received: from zmcc-5-mta-1.zmailcloud.com
 (127.37.197.104.bc.googleusercontent.com [104.197.37.127])
 (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by zmcc-5-mx.zmailcloud.com (Postfix) with ESMTPS id BE26E520233
 for <bug-libtool@HIDDEN>; Wed, 14 Dec 2016 18:25:28 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTP id 739F9C1261
 for <bug-libtool@HIDDEN>; Wed, 14 Dec 2016 17:25:28 -0600 (CST)
Received: from zmcc-5-mta-1.zmailcloud.com ([127.0.0.1])
 by localhost (zmcc-5-mta-1.zmailcloud.com [127.0.0.1]) (amavisd-new,
 port 10032) with ESMTP id yu2xfO1rkGJJ for <bug-libtool@HIDDEN>;
 Wed, 14 Dec 2016 17:25:28 -0600 (CST)
Received: from localhost (localhost [127.0.0.1])
 by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTP id 2591BC27FA
 for <bug-libtool@HIDDEN>; Wed, 14 Dec 2016 17:25:28 -0600 (CST)
X-Virus-Scanned: amavisd-new at zmcc-5-mta-1.zmailcloud.com
Received: from zmcc-5-mta-1.zmailcloud.com ([127.0.0.1])
 by localhost (zmcc-5-mta-1.zmailcloud.com [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id oPmys9RxrQyW for <bug-libtool@HIDDEN>;
 Wed, 14 Dec 2016 17:25:28 -0600 (CST)
Received: from [192.168.1.19] (unknown [47.208.148.26])
 by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTPSA id DFD02C1261
 for <bug-libtool@HIDDEN>; Wed, 14 Dec 2016 17:25:27 -0600 (CST)
Date: Wed, 14 Dec 2016 15:25:23 -0800
From: Quanah Gibson-Mount <quanah@HIDDEN>
To: bug-libtool@HIDDEN
Subject: llibtool 2.4.6: ibltdl ends up with an undefined symbol on Solaris 11
Message-ID: <AC485DBD5FE55286F1C6C476@[192.168.1.19]>
X-Mailer: Mulberry/4.0.9a1 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 14 Dec 2016 18:33:33 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Quanah Gibson-Mount <quanah@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Hello,

Attempting to build libtool 2.4.6 with the system provided gcc (Tried 4.7 
and 5.3 which are both avaible via the pkg installer) on Solaris 11.3, the 
compiled libltdl library ends up with an undefined symbol in the shared 
library, making it impossible to link to it, as any attempt results in an 
error.

nm shows:

[393]   |                   0|                   0|NOTY |GLOB |0    |UNDEF 
|lt_libltdl_LTX_preloaded_symbols


Attemps to link to the generated shared library error out with:

configure:15439: gcc -m64 -static-libgcc -lrt -o conftest -g -O2 -fno-lto 
-fno-use-linker-plugin 
-I/export/home/quanah/git/sold-2.4.44/install/i86pc_64/opt/symas/include 
-fno-lto -fno-use-linker-plugin 
-L/export/home/quanah/git/sold-2.4.44/install/i86pc_64/opt/symas/lib/64 
conftest.c -lltdl    >&5
Undefined                       first referenced
 symbol                             in file
lt_libltdl_LTX_preloaded_symbols 
/export/home/quanah/git/sold-2.4.44/install/i86pc_64/opt/symas/lib/64/libltdl.so
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status

I added the flags to disable LTO in case they had any effect, but the 
result is the same with or without them (-fno-lto -fno-use-linker-plugin)

Build works fine on Linux based OSes.

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>





Acknowledgement sent to Quanah Gibson-Mount <quanah@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#25202; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.