This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: util-linux build fails with glibc HEAD


Indeed yes, as I'd just discovered. Adding #include <errno.h>
to pivot_root.c fixes the problem

Andries, please apply this trivial fix to util-linux/mount/pivot_root.c

Andrew Walrond

Jeff Bailey wrote:
Your code probably doesn't #include <errno.h>.  Make sure that it does
that.  The old glibc used to allow non-standards compliant code to
compile and work.  Recent glibcs aren't as permissive.  Note that old
binaries run against the new glibc will fail (either silently or at
startup time, depending on whether the bug related to that has been
fixed or not)

Tks,
Jeff Bailey



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