Bug 689415

Summary: rebuild failure
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: yabootAssignee: David Woodhouse <dwmw2>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: andrew, dwmw2, jskala, pnasrat, tony
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-10 12:29:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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 !