mainGNU Libtool - Support: sr #103719, catching unresolved symbols at...

 
 

sr #103719: catching unresolved symbols at link time, and template instantiation

Submitter:  None
Submitted:  Thu 30 Dec 2004 07:54:14 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 30 Dec 2004 07:54:14 PM UTC, original submission:  

I'm converting to the use of libtool for my C++ libraries.
These libraries tend to have inter-library dependencies.  Libtool does not catch when my library has unresolved symbols due to a missing dependency (or any other reason).
In my previous build system, I used a "prelink stage" for checking for unresolved symbols and instantiating templates.
For g++, this is about as simple as replacing the '-shared' option with the following, as a pre-link before the real link:

-Wl,-defsym,main=0x0,-defsym,MAIN__=0x0

Since it's treated as an executable rather than a library, complete symbol checking and template instantiation occur.

I would like to see libtool provide a similar capability, even if only when g++ is used.  Without this, it is very difficult to determine missing dependencies in a library.

I am currently using libtool 1.5.2

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code