On Fri, 11 Sep 2009, Bisz István wrote: > The problem is solved with 'export HB_USER_CFLAGS=-fpic' magic as it is > recommended in a document from Red Hat. I verified the new harbour.so with > eu-findtextrel and the errors are gone. > Any comment of this issue is useful, as I see. Maybe the '-fpic' flag should > be the default and without, the option.
we've been over this several times. due to some (in certain cases, mathematically signidficant) speed penalty, przemek doesn't like pic (just try speedtst.prg with and without, it does show). btw ypou should really be using -fPIC, rather than -fpic. i don't think it actually matters on x86 or x64, but doesn't hurt to get used to it. > > ?SELinux is preventing demoqt from loading > > /usr/local/lib/harbour/libharbour-2.0.0.so which requires text > relocation.? > > It has always been in this way. > > If I run eu-findtextrel I get 81094 lines of: > > either the file containing the function '_init' or the file containing > the function 'HB_FUN_HB_GT_TRM' is not compiled with -fpic/-fPIC > ... > either the file containing the function 'hb_macroExprNewFunCall' or > the file containing the function 'hb_macroerror' is not compiled with > -fpic/-fPIC -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
