[Bug 201287] xfsprogs 4.17 and later can't be built as static binaries anymore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=201287

Jeff Mahoney (jeffm@xxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeffm@xxxxxxxx

--- Comment #2 from Jeff Mahoney (jeffm@xxxxxxxx) ---
This isn't an xfsprogs problem at all.  It's a glibc change:

$ cat tmp.c
#define _GNU_SOURCE
#include <grp.h>
#include <stdio.h>

int
main(void)
{
        struct group *grp;

        grp = getgrnam("users");

        return grp != NULL;
}

$ cc tmp.c -static
/tmp/ccPA29iG.o: In function `main':
tmp.c:(.text+0xe): warning: Using 'getgrnam' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux