Bug 13008 - undefined reference to `strdupa' in sysdeps/unix/sysv/linux/pathconf.c:99
Summary: undefined reference to `strdupa' in sysdeps/unix/sysv/linux/pathconf.c:99
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.14
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
Depends on:
Reported: 2011-07-20 15:34 UTC by Karsten Hopp
Modified: 2014-06-27 12:53 UTC (History)
0 users

See Also:
Last reconfirmed:
fweimer: security-


Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Hopp 2011-07-20 15:34:00 UTC
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:
In function `distinguish_extX':
undefined reference to `strdupa'
collect2: ld returned 1 exit status
make[2]: ***
Comment 1 Ulrich Drepper 2011-07-20 16:16:04 UTC
This sysstem is not for build problems.

*** This bug has been marked as a duplicate of bug 333 ***