We have built our code using gcc4.1.2, and we have used function "lstat64" that is defined in the "sys/stat.h" system header file and also defined in a third party library that we use.
When we "nm" our executable, we find that:
W lstat64
My question Is: why gcc marked it as a weak function?
Also, we have ported our code to gcc4.4.4, we found that the new gcc did not marked the function as "weak", it marked it as undefined?
Why this change in behavior?