gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mieee -o .libs/ifo_dump ifo_dump.o ../dvdread/.libs/libdvdread.so -ldl ../dvdread/.libs/libdvdread.so: undefined reference to `__open64_2' collect2: ld returned 1 exit status make[2]: *** [ifo_dump] Error 1 make[2]: Leaving directory `/home/oliver/cvs/F-8/libdvdread/libdvdread-0.9.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/oliver/cvs/F-8/libdvdread/libdvdread-0.9.7' make: *** [all] Error 2 [oliver@gosa libdvdread-0.9.7]$ rpm -qf /usr/include/bits/fcntl2.h glibc-headers-2.6.90-21
You either need to kill the open64 line in sysdeps/unix/sysv/linux/alpha/syscalls.list, or add sysdeps/unix/sysv/linux/alpha/open64_2.c and copy there code from .../linux/open64.c and add it to ../linux/alpha/Makefile.
Jakub. Since you're glibc packager. Can you provide the fix/patch? Or do you think it might be better to get the new glibc 2.7 running first? And/or can you provide the fix for 2.7?
Retest this with the current rawhide code.