[Bug libc/13008] New: undefined reference to `strdupa' in sysdeps/unix/sysv/linux/pathconf.c:99
karsten at mailinator dot com
sourceware-bugzilla@sourceware.org
Wed Jul 20 15:34:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13008
Summary: undefined reference to `strdupa' in
sysdeps/unix/sysv/linux/pathconf.c:99
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: karsten@mailinator.com
commit 4e5f31c847982997c856f03bbc35134e9fd0f61f added a call to strdupa in
sysdeps/unix/sysv/linux/pathconf.c without adding an #include <string.h>
This breaks builds p.e. on PPC:
/builddir/build/BUILD/glibc-2.14-105-ga6928d5/build-ppc-redhat-linux/libc_pic.os:
In function `distinguish_extX':
/builddir/build/BUILD/glibc-2.14-105-ga6928d5/posix/../sysdeps/unix/sysv/linux/pathconf.c:99:
undefined reference to `strdupa'
collect2: ld returned 1 exit status
make[2]: ***
[/builddir/build/BUILD/glibc-2.14-105-ga6928d5/build-ppc-redhat-linux/libc.so]
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list