Bug 432779 - Fails to build with gcc43
Summary: Fails to build with gcc43
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dietlibc
Version: rawhide
Hardware: powerpc
OS: Linux
low
low
Target Milestone: ---
Assignee: Enrico Scholz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-ExcludeArch-ppc64, F-ExcludeArch-ppc64 F-ExcludeArch-ppc
TreeView+ depends on / blocked
 
Reported: 2008-02-14 11:19 UTC by Enrico Scholz
Modified: 2008-02-14 22:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-14 22:41:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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