Hi,
The new -fPIC patch does work as long as the package generates a .so
(tested with minimal-kde-desktop crystal build), but there are also
problems with packages generating a .a only. Example:
libcrack.a provided by cracklib is compiled without -fPIC (after reverting
my "-fPIC by hand" patch of course).
pam_cracklib.so provided by pam tries to link with libcrack.a -> Fails,
because libcrack.a(fascist.o) was compiled without -fPIC.
I think of 2 possible solutions:
1) Enabling forcefpic also for packages, which provide .a files.
2) Enabling forcefpic for packages, which provide .a files and are
dependencies for packages providing .so files.
I prefer solution 1, because solution 2 could prevent compiling programs
not known to the rock build system or added after building the package
providing the .a file.
Regards,
Bernhard
_______________________________________________
rock-devel mailing list
https://www.rocklinux.net/mailman/listinfo/rock-devel