Well, I looked at your message and understood the trouble.. You set glibclibdir to lib64 and hope it will find /usr/lib/crt1.o . I fail to understand how it worked for you.. Maybe emacs over glibc2.5 somehow uses other dependencies.. OK, I think that what I have just committed will fix the problem.