This may be a general PIC issue. The following code generates indirect function calls:
The linker complains that that this isn't valid PIC code. It can be changed to this:
Need to check how this is handled on powerpc and update i386 target accordingly.
It's interesting that this piece of code fails, while pcc-tests/tests/c/codgen/types2.c works okay.