Bug 432779

Summary: Fails to build with gcc43
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: dietlibcAssignee: Enrico Scholz <rh-bugzilla>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-14 22:41:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 238953, 179260    

Description Enrico Scholz 2008-02-14 11:19:39 UTC
Description of problem:

Trying to build dietlibc on ppc/ppc64 fails on the first invocation of the
generated 'diet' program; there

| $ strace -f -s9999 bin-ppc/diet gcc -D__dietlibc__ -O2 -g -pipe -Wall
| ...
| execve("/usr/sbin/-D__dietlibc__", ["-D__dietlibc__", "-O2", "-g", ...

happens where i386/x86_64 platforms do

| execve("/usr/sbin/gcc", ["gcc", "-nostdlib", "-static", ..., "-D__dietlibc__",
"-O2", "-g", ...


I suspect there are problems with alloca(), but can not debug it further. Hence,
I am going to exclude ppc/ppc64 for now.


Version-Release number of selected component (if applicable):

dietlibc-0.31-1.20080212.fc9.src.rpm
gcc-4.3.0-0.7   


How reproducible:

100%


Additional info:

http://koji.fedoraproject.org/koji/getfile?taskID=424813&name=build.log

Comment 1 Enrico Scholz 2008-02-14 22:41:08 UTC
fixed; optimized string functions were buggy on big-endian.