Bug#358637: libip* should be compiled with -fPIC.

2006-06-18 Thread Sebastian Hagen
> Either iptables-dev needs to provide a shared library, or it > should provide a pic version of the static library. Unfortunately, providing a single shared library isn't possible in this case. libiptc.a is an ar archive of two object files: libip4tc.o and libip6tc.o. These two files contain a few

Bug#358637: libip* should be compiled with -fPIC.

2006-04-18 Thread Kurt Roeckx
Hi, Policy 10.2 says that a static library should get build without -fPIC. Only shared libraries should get build with -fPIC. Either iptables-dev needs to provide a shared library, or it should provide a pic version of the static library. >From http://release.debian.org/etch_rc_policy.txt: (

Bug#358637: libip* should be compiled with -fPIC; attempt to link the current libiptc.a binary into a shared library on amd64 causes an R_X86_64_32S relocation error

2006-03-23 Thread Sebastian Hagen
Package: iptables-dev Version: 1.3.3-2 Severity: normal Tags: patch I'm trying to link a shared library (specifically, a Python C Module) against libiptc.a. This works fine on x86. On amd64, however, the linking fails with a R_X86_64_32S relocation error; specifically: gcc -pthread -shared build/