the ebuild does 'append-flags -fPIC' ... this is clearly wrong
I'm pretty sure it appends -fPIC to CFLAGS due to other packages linking to the current stable as a shared object and the current cdk is an foo.a only. But the next release of cdk is supposed to be a lib.a and lib.so so things that attempt to link shared will get proper shared behavior. I think this was done for another bug that was being marked stable that was regressing.
cdk-5 produces a .so and a .a but the ebuild still does 'append-flags -fPIC'
I think licq is the testcase for removing the extra call to append-flags on x86
I just tested removing ``append-flags -fPIC`` from cdk-5.0.20051230, licq compiled and ran fine. Is there anything else to test?
By the way, from cdk's Makefile.in: .c.os: @RULE_CC@ @ECHO_CC@$(CC) $(CFLAGS) $(CPPFLAGS) -c -fPIC $< -o $@ I guess this should cover all shared libs, right?
ok, fixed in cdk-5.0.20060220.ebuild since that's the current testing