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

 
 

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

Submitted by:  None
Submitted on:  Thu 30 Dec 2004 07:54:14 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 2 - MinorStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup