On Mon, Sep 12, 2016 at 01:18:32AM +0200, Balint Reczey wrote: > During a rebuild of all packages in sid, gdcm > failed to build on amd64 with patched GCC and dpkg. The root > cause seems to be that libPapyrus3.a is shipped as a non-PIC library.
That cannot be the root cause. Debian Policy [1] is to build static
libs without -fPIC
10.2 Libraries
[...] As to the static libraries, the common case is not to have
relocatable code, since there is no benefit, unless in specific
cases; therefore the static version must not be compiled with the
-fPIC flag. Any exception to this rule should be discussed on the
mailing list [email protected], and the reasons for
compiling with the -fPIC flag must be recorded in the file
README.Debian.
[1] https://www.debian.org/doc/debian-policy/ch-files.html#s-libraries
-Steve
signature.asc
Description: PGP signature

