On May 24, 2013, at 12:02 AM, Alexander Ivchenko <aivch...@gmail.com> wrote: > *ping* > > 2013/4/11 Alexander Ivchenko <aivch...@gmail.com>: >> Hi, >> >> The same motivation as for: >> http://gcc.gnu.org/ml/gcc-cvs/2013-03/msg00786.html >> >> "Since -fpic option is turned on by default in Android we have certain test >> fails. The reason for that is that those tests rely on the >> availability of functions, defined in them >> and with -fpic compiler conservatively assumes that they are >> AVAIL_OVERWRITABLE." >> >> In case of tm we have that in here: >> >> 4461| /* If we aren't seeing the final version of the function we don't >> 4462| know what it will contain at runtime. */ >> 4463| if (cgraph_function_body_availability (node) < AVAIL_AVAILABLE) >> 4464+> return true; >> 4465| >> >> (gdb) p cgraph_function_body_availability (node) >> $54 = AVAIL_OVERWRITABLE
So, normally I would just approve it. This is the last chance to answer the question, is that reasonable? So, I'd like a linker/cgraph person to say, yes, indeed, that is reasonable. If yes, then Ok. I can't help but think that merely having -fpic doesn't actually change something like linkage or the fact something is, or is not defined.