<< Back to previous view

[PCC-298] libpcc for shared objects is missing Created: 12/Apr/11  Updated: 01/May/14

Status: Open
Project: pcc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Gregory McGarry Assignee: Anders Magnusson
Resolution: Unresolved Votes: 0
Environment: ubuntu i386 v8.04

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.

Comment by Anders Magnusson [ 01/May/14 01:35 PM ]
Do you have a simple example of what fails here so that we can fix it?
Generated at Fri Oct 20 21:45:54 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.