Bug 2660 - ppc builds with --without-fp broken for glibc 2.4
Summary: ppc builds with --without-fp broken for glibc 2.4
Status: RESOLVED DUPLICATE of bug 2444
Alias: None
Product: glibc
Classification: Unclassified
Component: ports (show other bugs)
Version: 2.4
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 21:19 UTC by Khem Raj
Modified: 2019-04-10 08:44 UTC (History)
1 user (show)

See Also:
Host: powerpc-*-linux
Target: powerpc-*-linux
Build: i686-pc-linux-gnu
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khem Raj 2006-05-15 21:19:16 UTC
Currently, building ppc toolchain with soft float/nofpu is broken. The same
builds fine with FPU enabled.

I get following compile time error 


ppc_405-gcc  ../ports/sysdeps/powerpc/nofpu/sim-full.c -c -std=gnu99 -O2 -Wall
-Winline -Wwrite-strings -finline-limit-10000 -fmerge-all-constants -g
-msoft-float -mnew-mnemonics -Wstrict-prototypes -mlong-double-128  -fpic   
-I../include -I/home/build/BUILD/glibc-2.4.90/objdir/soft-fp
-I/home/build/BUILD/glibc-2.4.90/objdir -I../sysdeps/powerpc/powerpc32/elf
-I../sysdeps/powerpc/elf -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../nptl/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc
-I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../ports/sysdeps/powerpc/nofpu
-I../nptl/sysdeps/powerpc -I../ports/sysdeps/powerpc -I../sysdeps/powerpc
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I..
-I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC
-DSHARED     -o /home/build/BUILD/glibc-2.4.90/objdir/soft-fp/sim-full.os -MD
-MP -MF /home/build/BUILD/glibc-2.4.90/objdir/soft-fp/sim-full.os.dt -MT
/home/build/BUILD/glibc-2.4.90/objdir/soft-fp/sim-full.os
../ports/sysdeps/powerpc/nofpu/sim-full.c:1: warning: -msoft-float and
-mlong-double-128 not supported
../ports/sysdeps/powerpc/nofpu/sim-full.c:1: warning: -msoft-float and
-mlong-double-128 not supported
In file included from ../ports/sysdeps/powerpc/nofpu/sim-full.c:22:
./soft-fp.h:38:25: error: sfp-machine.h: No such file or directory
In file included from ../ports/sysdeps/powerpc/nofpu/sim-full.c:22:
./soft-fp.h:38:25: error: sfp-machine.h: No such file or directory
Comment 1 Lior Balkohen 2006-05-15 21:44:47 UTC
Subject: Re:  New: ppc builds with --without-fp broken for glibc 2.4

I reported something similar.  Have a look at bug #2444.  I've been
told that nofpu for long double is on Steven's list :)
Comment 2 Dwayne Grant McConnell 2006-05-16 14:06:58 UTC

*** This bug has been marked as a duplicate of 2444 ***