Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Compile error when building current riscv64
Sorry if this is spammy, if the right answer is to open a PR I will.
I'm building riscv64 from a current source tree I just downloaded
today. This is the build system:
# uname -a
NetBSD machine 9.3_STABLE NetBSD 9.3_STABLE (GENERIC) #0: Tue May 2
17:25:54 UTC 2023
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
amd64
This was upgraded from nyftp a few days ago.
This is the error (sorry my terminal mangled it a little):
# compile libc/dtoa.o
/usr/src/../tools-current-riscv64/bin/riscv64--netbsd-gcc -O2 -std=gnu99 -W
all -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswit
ch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-
compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-lengt
h -Werror -fstack-protector -Wstack-protector --param ssp-buffer-size=1
--sysroot=/usr/src/../obj-current-riscv64/destdir.riscv -D_LIBC -DLIBC_SCCS -DSY
SLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -I/usr/src/lib/csu/common -DHESIOD -DINET6
-DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -
I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src
/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib
/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/
../../common/lib/libc/arch/riscv/string -I/usr/src/lib/libc/../../common/lib/lib
c/arch/riscv/atomic -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBIN
TERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/sr
c/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/li
bc/arch/riscv/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTA
KE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -c /u
sr/src/lib/libc/gdtoa/dtoa.c -o dtoa.o
/usr/src/lib/libc/gdtoa/dtoa.c: In function '__dtoa':
/usr/src/lib/libc/gdtoa/dtoa.c:262:2: internal compiler error: Illegal instructi
on
262 | ds = (dval(&d2)-1.5)*0.289529654602168 + 0.1760912590558 + i*0.30102999
5663981;
| ^~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** Failed target: dtoa.o
Am I missing something?
Thanks.
Andy
Home |
Main Index |
Thread Index |
Old Index