Bug 6650

Summary: glibc-2.8 does not include creat64() on alpha
Product: glibc Reporter: Mike Frysinger <vapier>
Component: portsAssignee: Roland McGrath <roland>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs, toolchain
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: alpha-linux-gnu Target:
Build: Last reconfirmed:

Description Mike Frysinger 2008-06-17 03:35:22 UTC
the current code base assumes that all 64bit ports provide __NR_creat.  this is
done by sysdeps/unix/sysv/linux/wordsize-64/creat64.c being a stub which means
the previous symbol location in io/creat64.c is not used.  other 64bit ports use
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list to make creat64 an alias to
the creat function, thus overriding the io/creat.c file.  since alpha lacks
__NR_creat, the creat line in syscalls.list is ignored, leaving alpha with
io/creat.o declaring creat (and not creat64), and io/creat64.o declaring no
symbols at all.
Comment 1 Ulrich Drepper 2008-11-26 23:25:36 UTC
Alpha is not in the main tree anymore since we have no maintainer.  Somebody has
to step up and volunteer to be the maintainer of the alpha ports tree or nothing
will happen.
Comment 2 Matt Turner 2010-05-04 02:24:41 UTC
Richard Henderson fixed this with commit c7b880234d5 to glibc-ports.git. Marking
as fixed.