Bug 400741

Summary: glibc's fcntl2 open redirects seem to be wrong for alpha
Product: [Fedora] Fedora Reporter: Oliver Falk <oliver>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 8CC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-13 09:42:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Falk 2007-11-27 11:19:21 UTC
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

Comment 1 Jakub Jelinek 2007-11-27 15:43:43 UTC
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.

Comment 2 Oliver Falk 2007-12-03 08:41:11 UTC
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?

Comment 3 Ulrich Drepper 2008-07-29 06:22:59 UTC
Retest this with the current rawhide code.