This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13008] New: undefined reference to `strdupa' in sysdeps/unix/sysv/linux/pathconf.c:99
- From: "karsten at mailinator dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 20 Jul 2011 15:34:23 +0000
- Subject: [Bug libc/13008] New: undefined reference to `strdupa' in sysdeps/unix/sysv/linux/pathconf.c:99
- Auto-submitted: auto-generated
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.