Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439988 (PR33135) - sys-devel/gcc: add -fno-finite-math-only fix for SuperH targets
Summary: sys-devel/gcc: add -fno-finite-math-only fix for SuperH targets
Status: RESOLVED FIXED
Alias: PR33135
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: sh Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR33135
Whiteboard:
Keywords:
Depends on:
Blocks: 363963
  Show dependency tree
 
Reported: 2012-10-28 18:55 UTC by Raúl Porcel (RETIRED)
Modified: 2012-11-25 03:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2012-10-28 18:55:23 UTC
sh4-unknown-linux-gnu-gcc  drand48_r.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -pipe -Wstrict-prototypes      -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE  -I../include -I/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-sh4-unknown-linux-gnu-nptl/stdlib -I/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-sh4-unknown-linux-gnu-nptl -I../sysdeps/sh/elf -I../nptl/sysdeps/unix/sysv/linux/sh/sh4 -I../sysdeps/unix/sysv/linux/sh/sh4 -I../nptl/sysdeps/unix/sysv/linux/sh -I../sysdeps/unix/sysv/linux/sh -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/sh -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sh/sh4/fpu -I../sysdeps/sh/sh4 -I../nptl/sysdeps/sh -I../sysdeps/sh -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/sh4-unknown-linux-gnu/4.5.3/include -isystem /usr/lib/gcc/sh4-unknown-linux-gnu/4.5.3/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-sh4-unknown-linux-gnu-nptl/stdlib/drand48_r.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-sh4-unknown-linux-gnu-nptl/stdlib/drand48_r.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-sh4-unknown-linux-gnu-nptl/stdlib/drand48_r.o
In file included from ../include/math.h:3:0,
                 from drand48_r.c:21:
../math/math.h:424:31: fatal error: bits/math-finite.h: No such file or directory
compilation terminated.
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-sh4-unknown-linux-gnu-nptl/stdlib/drand48_r.o] Error 1
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2012-10-28 18:58:56 UTC
See URL
Comment 2 SpanKY gentoo-dev 2012-11-13 05:47:12 UTC
i'd just backport the fixes to gcc-4.6/gcc-4.7 rather than change glibc
Comment 3 SpanKY gentoo-dev 2012-11-25 03:35:57 UTC
looks like the fix is in 4.7.2 already, so i've pushed it out in 4.6.3 and queued it in all the other 4.6.x and 4.7.x versions