This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13008] New: undefined reference to `strdupa' in sysdeps/unix/sysv/linux/pathconf.c:99


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]