Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35472 - linux-2.4.23-aa1 can't compile with xfs
Summary: linux-2.4.23-aa1 can't compile with xfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-09 13:16 UTC by Cahya
Modified: 2003-12-09 15:25 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 Cahya 2003-12-09 13:16:06 UTC
If I enable XFS with linux-2.4.23-aa1, I got following error during compile:

        /usr/src/linux-2.4.23-aa1/arch/i386/lib/lib.a
/usr/src/linux-2.4.23-aa1/lib/lib.a /usr/src/linux-2.4.23-aa1/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
fs/fs.o(.text+0x76f0e): In function `posix_acl_xfs_to_xattr':
: undefined reference to `qsort'
fs/fs.o(.text+0x8234d): In function `xfs_attr_shortform_list':
: undefined reference to `qsort'
fs/fs.o(.text+0xa03b7): In function `xfs_dir2_sf_to_block':
: undefined reference to `qsort'
fs/fs.o(.text+0xa8828): In function `xfs_dir_shortform_getdents':
: undefined reference to `qsort'
make: *** [vmlinux] Error 1

qsort.o is not included in fs/xfs/support/Makefile, is that ok?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jarkko Haapalainen 2003-12-09 14:12:03 UTC
Same problems here and it can be fixed adding qsort.o to xfs's Makefile. Read here: http://seclists.org/lists/linux-kernel/2003/Oct/0755.html

best regards,
 Jarkko Haapalainen
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-12-09 15:25:24 UTC
Fixed in CVS for -r1, thanks for filing the bug, even though this is upstream...