URL: <http://savannah.gnu.org/patch/?9086>
Summary: Fix support for Solaris 11 build Project: GNU Libtool Submitted by: opk Submitted on: Wed 17 Aug 2016 01:27:43 PM CEST Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Trying to build clamav on Solaris 11.3 with the Oracle C compiler, I got the following error: libtool: error: not configured to extract global symbols from dlpreopened files I would have expected a build to use dlopen rather than the preopen fallback so looked for related configure tests that were perhaps returning the wrong answer. The global_symbol_pipe being empty seemed a likely culprit. the last three lines of nm -p on the conftest.o in this test are: 0000000032 T main 0000000016 T nm_test_func 0000000001 C nm_test_var One Solaris 10, I'd get a D instead of a C. Adding C to the list of characters in the symcode variable and building again resulted in a successful build. I've attached a patch to add this C. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 17 Aug 2016 01:27:43 PM CEST Name: lt-sol11-nm.diff Size: 268B By: opk <http://savannah.gnu.org/patch/download.php?file_id=38240> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?9086> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/