amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64

Dieter freebsd at sopwith.solgatos.com
Fri Sep 26 15:17:13 UTC 2008


> Note that libgcov needs to be recompiled with -fPIC.
> The R_X86_64_32 issue is systematic on amd64. When you build a shared
> object, better make sure that all .o are compiled with -fPIC.

So shouldn't the system come with both static and shared versions
of all the libraries?


More information about the freebsd-amd64 mailing list