patchGNU Libtool - Patches: patch #9086, Fix support for Solaris 11 build

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9086: Fix support for Solaris 11 build

Submitter:  Oliver Kiddle <opk>
Submitted:  Wed 17 Aug 2016 11:27:43 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Wed 17 Jan 2024 06:37:21 AM UTC, comment #1: 

thanks, merged now
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=b67d1a2db842c01c051c7e90d7f4c18928d8b555

in the future, please attach git formatted patches instead, and write proper commit messages

Mike Frysinger <vapier>
Group Member
Wed 17 Aug 2016 11:27:43 AM UTC, original submission:  

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.

Oliver Kiddle <opk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #38240:  lt-sol11-nm.diff added by opk (268B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vapier (Posted a comment)
  • -email is unavailable- added by wilx
  • -email is unavailable- added by opk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-17 vapier StatusNone Done
        Open/ClosedOpen Closed
    2017-03-31 wilx Carbon-Copy- Added wilx
    2016-08-17 opk Attached File- Added lt-sol11-nm.diff, #38240

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code