Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 182897

Summary: sys-fs/jfsutils-1.1.8 fails to link on uclibc due to undefined reference to `posix_memalign'
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: New packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 182094    
Bug Blocks:    

Description Natanael Copa 2007-06-22 15:00:49 UTC
if i386-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../libfs   -DONE_FILESET_PER_AGGR -D_FILE_OFFSET_BITS=64 -march=i386 -Os -pipe -fomit-frame-pointer -MT mkfs.o -MD -MP -MF ".deps/mkfs.Tpo" -c -o mkfs.o mkfs.c; \
        then mv -f ".deps/mkfs.Tpo" ".deps/mkfs.Po"; else rm -f ".deps/mkfs.Tpo"; exit 1; fi
i386-gentoo-linux-uclibc-gcc -DONE_FILESET_PER_AGGR -D_FILE_OFFSET_BITS=64 -march=i386 -Os -pipe -fomit-frame-pointer   -o jfs_mkfs  initmap.o inodemap.o inodes.o mkfs.o ../libfs/libfs.a -luuid 
initmap.o: In function `verify_last_blocks':
initmap.c:(.text+0x124e): undefined reference to `posix_memalign'
collect2: ld returned 1 exit status
make[4]: *** [jfs_mkfs] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.8/work/jfsutils-1.1.8/mkfs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.8/work/jfsutils-1.1.8'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-fs/jfsutils-1.1.8/work/jfsutils-1.1.8'

!!! ERROR: sys-fs/jfsutils-1.1.8 failed.


correct fix is to upgrade uclibc to 0.9.29.
Comment 1 SpanKY gentoo-dev 2007-09-15 01:16:10 UTC
we'll upgrade then