libgtest.a needs to be built with -fPIC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtest (Debian) |
Fix Released
|
Unknown
|
|||
gtest (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently, only the shared library version of libgtest is compiled with -fPIC, but the shared library is not distributed. This creates a problem when linking with other code compiled with -fPIC:
cndougla@
libtool: link: g++ -DDUMMY_
/usr/bin/ld: /usr/lib/
/usr/lib/
collect2: ld returned 1 exit status
Related branches
Changed in gtest (Debian): | |
status: | Unknown → Won't Fix |
Changed in gtest (Debian): | |
status: | Won't Fix → Fix Released |
This bug was fixed in the package gtest - 1.6.0-1ubuntu1
---------------
gtest (1.6.0-1ubuntu1) precise; urgency=low
* Build all libraries with -fPIC (LP: #949244)
-- Chase Douglas <email address hidden> Wed, 07 Mar 2012 11:28:38 -0800