Object files and static libraries (.a) are not ABI-compatible with a new libc. The only guarantee you get is that (correct) shared objects (.so) that worked before will continue to work. If you have static libraries, you need to recompile them from source using the new libc's headers if you want to link against a new libc.