Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406609 - sys-apps/e2fsprogs fails when using old glibc with new kernel headers due to missing fallocate()
Summary: sys-apps/e2fsprogs fails when using old glibc with new kernel headers due to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 15:36 UTC by Ortwin Glueck
Modified: 2012-03-05 05:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ortwin Glueck 2012-03-02 15:36:06 UTC
It requires the fallocate syscall which is only supported from glibc-2.10. I encountered that when upgrading a dated Gentoo installation with glibc-2.9. e2fsprogs should force a glibc upgrade.

../lib/libext2fs.so: undefined reference to `fallocate'
collect2: ld returned 1 exit status
make[2]: *** [e2fsck] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.42/work/e2fsprogs-1.42/e2fsck'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.42/work/e2fsprogs-1.42'
make: *** [all] Error 2
emake failed


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2012-03-05 05:27:45 UTC
no, it shouldn't.  it has logic for dealing with missing fallocate(), but the logic goes wrong when you have new kernel headers.