Issue Details (XML | Word | Printable)

Key: PCC-298
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Gregory McGarry
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

libpcc for shared objects is missing

Created: 12/Apr/11 08:37 AM   Updated: 01/May/14 01:35 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Environment: ubuntu i386 v8.04

 Description  « Hide
Building binaries with 64-bit math will resolve __moddi3() without a problem.

However, building a shared library will not link against libpcc.a to resolve the symbol.

Maybe we should build all functions in libpcc with PIC, and link shared libraries against libpcc.a too.

I cannot remember why I removed libpcc.a from the link line in cc.c. Maybe because the objects are not compiled PIC.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 01/May/14 01:35 PM
Do you have a simple example of what fails here so that we can fix it?