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:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

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 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.12