Bug 82721 - Code/symbols duplicated in libpty.so and libspawner.so
Summary: Code/symbols duplicated in libpty.so and libspawner.so
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P5 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 18:19 EST by Mikhail Zabaluev CLA
Modified: 2020-09-04 15:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zabaluev CLA 2005-01-12 18:19:22 EST
The native libraries libpty.so and libspawner.so both link the openpty.o object
file. This results in all the code in openpty.o duplicated in the two DSOs. At
runtime, only one copy will be executed due to how dynamic symbol resolution works.

Would it be possible to link libspawner.so to libpty.so, so that the first uses
the symbols from openpty.o defined in the second, and get rid of the duplication?