On Fri, Aug 28, 2009 at 21:00, Nicolas Pitre<nico@xxxxxxx> wrote: >> >> Microsoft's compiler and libraries? MacOSX? >> > >> > Are you saying you know those to be platforms with problems, or are you >> > asking whether those platforms will have problems? >> >> Both: MS never had weak/vague linkage, but I don't know about MacOSX. > > This is not about weak or vague linkage. This is plain basic linker > feature where no library object needs to be linked if there is no symbol > to resolve. Maybe I missed something, but wasn't the idea to overwrite gettimeofday with a public gettimeofday, defined in one of the object files? And shouldn't a linker complain regarding duplicated symbols, unless the other (library) symbol is defined as a weak symbol, allowing overriding it with another symbol of stronger linkage? >> I suspect them to have the same deficiency, but I'd be glad to be wrong. > > Are you able to test it? > Only the MS, but it is not interesting. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html