NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/53768: sh ieeefp.h is broken
>Number: 53768
>Category: bin
>Synopsis: sh ieeefp.h is broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 09 12:20:00 +0000 2018
>Originator: coypu
>Release: NetBSD 8.99.25
>Organization:
>Environment:
NetBSD planets 8.99.25 NetBSD 8.99.25 (GENERIC) #0: Sun Nov 4 22:54:59 IST 2018 fly@planets:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
libtool: compile: shle--netbsdelf-c++ --sysroot=/home/fly/sh3/destdir.evbsh3/ -I/current/gcc/libstdc++-v3/../libgcc -I/tmp/build/shle--netbsdelf/libstdc++-v3/include/shle--netbsdelf -I/tmp/build/shle--netbsdelf/libstdc++-v3/include -I/current/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=c++locale.lo -g -O2 -fimplicit-templates -c c++locale.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o c++locale.o
mv -f .deps/list_read.Tpo .deps/list_read.Plo
In file included from /home/fly/sh3/destdir.evbsh3/usr/include/evbsh3/ieeefp.h:3,
from /home/fly/sh3/destdir.evbsh3/usr/include/ieeefp.h:12,
from c++locale.cc:40:
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'fp_except __FPE(int)':
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:62:13: error: 'FE_DIVBYZERO' was not declared in this scope
62 | if (__fe & FE_DIVBYZERO)
| ^~~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:64:13: error: 'FE_INEXACT' was not declared in this scope
64 | if (__fe & FE_INEXACT)
| ^~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:66:13: error: 'FE_INVALID' was not declared in this scope; did you mean 'EINVAL'?
66 | if (__fe & FE_INVALID)
| ^~~~~~~~~~
| EINVAL
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:68:13: error: 'FE_OVERFLOW' was not declared in this scope; did you mean 'EOVERFLOW'?
68 | if (__fe & FE_OVERFLOW)
| ^~~~~~~~~~~
| EOVERFLOW
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:70:13: error: 'FE_UNDERFLOW' was not declared in this scope; did you mean 'UNDERFLOW'?
70 | if (__fe & FE_UNDERFLOW)
| ^~~~~~~~~~~~
| UNDERFLOW
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'int __FEE(fp_except)':
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:81:11: error: 'FE_DIVBYZERO' was not declared in this scope
81 | __fe |= FE_DIVBYZERO;
| ^~~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:83:11: error: 'FE_INEXACT' was not declared in this scope
83 | __fe |= FE_INEXACT;
| ^~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:85:11: error: 'FE_INVALID' was not declared in this scope; did you mean 'EINVAL'?
85 | __fe |= FE_INVALID;
| ^~~~~~~~~~
| EINVAL
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:87:11: error: 'FE_OVERFLOW' was not declared in this scope; did you mean 'EOVERFLOW'?
87 | __fe |= FE_OVERFLOW;
| ^~~~~~~~~~~
| EOVERFLOW
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:89:11: error: 'FE_UNDERFLOW' was not declared in this scope; did you mean 'UNDERFLOW'?
89 | __fe |= FE_UNDERFLOW;
| ^~~~~~~~~~~~
| UNDERFLOW
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'fp_rnd __FPR(int)':
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:98:7: error: 'FE_TONEAREST' was not declared in this scope
98 | case FE_TONEAREST:
| ^~~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:100:7: error: 'FE_DOWNWARD' was not declared in this scope
100 | case FE_DOWNWARD:
| ^~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:102:7: error: 'FE_UPWARD' was not declared in this scope
102 | case FE_UPWARD:
| ^~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:104:7: error: 'FE_TOWARDZERO' was not declared in this scope
104 | case FE_TOWARDZERO:
| ^~~~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'int __FER(fp_rnd)':
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:117:10: error: 'FE_TONEAREST' was not declared in this scope
117 | return FE_TONEAREST;
| ^~~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:119:10: error: 'FE_DOWNWARD' was not declared in this scope
119 | return FE_DOWNWARD;
| ^~~~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:121:10: error: 'FE_UPWARD' was not declared in this scope
121 | return FE_UPWARD;
| ^~~~~~~~~
/home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:123:10: error: 'FE_TOWARDZERO' was not declared in this scope
123 | return FE_TOWARDZERO;
| ^~~~~~~~~~~~~
>How-To-Repeat:
try to build GCC.
>Fix:
Home |
Main Index |
Thread Index |
Old Index