Bug 199535 - net-proxy/oops tries to link against static library to build shared object
Bug#: 199535 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-proxy@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: net-proxy/oops tries to link against static library to build shared object
Keywords:  
Status Whiteboard: 
Opened: 2007-11-18 14:34 0000
Description:   Opened: 2007-11-18 14:34 0000
redir.c: In function ‘redir’:
redir.c:379: warning: dereferencing type-punned pointer might break
strict-aliasing rules
redir.c:415: warning: dereferencing type-punned pointer might break
strict-aliasing rules
redir.c:431: warning: dereferencing type-punned pointer might break
strict-aliasing rules
ld: /usr/lib/libpcreposix.a(pcreposix.o): relocation R_X86_64_32S against `a
local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libpcreposix.a: could not read symbols: Bad value
make[2]: *** [redir.so] Error 1
make[1]: *** [modules] Error 2
make: *** [all] Error 2

Of course linking a static library to build a shared object does not work on
AMD64.

------- Comment #1 From Alin Năstac 2007-11-20 21:08:40 0000 -------
Fixed in cvs, without revision bump.