Bug 689415 - rebuild failure
Summary: rebuild failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yaboot
Version: 15
Hardware: ppc
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-21 12:40 UTC by Karsten Hopp
Modified: 2011-05-10 12:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-10 12:29:51 UTC
Type: ---


Attachments (Terms of Use)

Description Karsten Hopp 2011-03-21 12:40:05 UTC
Description of problem:
rebuild with latest gcc fails:
second/fs_reiserfs.c:621:54: warning: operation on 'depth' may be undefined [-Wsequence-point]
ld -Ttext 0x200000 -Bstatic  second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o second/sha256crypt.o second/sha512crypt.o lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/stpncpy.o lib/strstr.o second/md5.o second/fs_xfs.o second/fs_reiserfs.o -lext2fs `gcc -m32 -print-libgcc-file-name` -o second/yaboot
/usr/lib/libext2fs.a(inode.o): In function `ext2fs_open_inode_scan':
(.text+0x3b8): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(openfs.o): In function `ext2fs_open2':
(.text+0x2e8): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(rw_bitmaps.o): In function `write_bitmaps':
(.text+0xec): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(rw_bitmaps.o): In function `write_bitmaps':
(.text+0x280): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(rw_bitmaps.o): In function `read_bitmaps':
(.text+0x548): undefined reference to `posix_memalign'


Complete logs are available at
https://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=145379

Comment 1 Andrew Engelbrecht 2011-04-01 19:51:58 UTC
If it's any help, I tried building ver. 1.3.15, 1.3.16, and the latest version of yaboot in the git repo. They all compiled successfully (on Debian Squeeze.) The version of e2fslibs-dev on my 32-bit PPC machine is: 1.41.12-2.

Comment 2 Tony Breeds 2011-04-12 02:54:56 UTC
Please try the build at:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=189646

Comment 3 Karsten Hopp 2011-05-10 12:29:51 UTC
I was able to build  yaboot-1.3.16-4.fc15 with Tony's patch. Thanks !


Note You need to log in before you can comment on or make changes to this bug.