NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/49425: internal compiler error compiling riscv userland



>Number:         49425
>Category:       toolchain
>Synopsis:       internal compiler error compiling riscv userland
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 28 15:40:00 +0000 2014
>Originator:     Reinoud Zandijk
>Release:        NetBSD 7.99.1
>Organization:
NetBSD
	
>Environment:
	
	
System: NetBSD diablo.13thmonkey.org 7.99.1 NetBSD 7.99.1 (GENERIC) #1: Thu Oct 30 21:35:29 CET 2014 reinoud%diablo.13thmonkey.org@localhost:/usr/sources/cvs.netbsd.org/src-clean/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

While trying to build the NetBSD userland part using 
   ./build.sh -a riscv64 -m riscv -u build

The compilation terminates with:

dependall ===> lib/../external/gpl3/gcc/lib/libasan
#   compile  libasan/asan_allocator2.o
/usr/sources/cvs.netbsd.org/src-clean/obj/tooldir.NetBSD-7.99.1-amd64/bin/riscv64--netbsd-c++
-frandom-seed=5fba94ba -O2 -Werror
--sysroot=/usr/sources/cvs.netbsd.org/src-clean/obj/destdir.riscv
-I/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/include
-I/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer
-c
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/asan/asan_allocator2.cc
-o asan_allocator2.o
In file included from
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_atomic.h:56:0,
                 from
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mutex.h:15,
                 from
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/asan/asan_thread_registry.h:19,
                 from
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/asan/asan_allocator2.cc:22:
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_atomic_clang.h:
In function '__asan::AsanChunk*
__asan::GetAsanChunkByAddr(__sanitizer::uptr)':
/usr/sources/cvs.netbsd.org/src-clean/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_atomic_clang.h:92:3:
internal compiler error: in gen_lowpart_general, at rtlhooks.c:59
   v = __sync_lock_test_and_set(&a->val_dont_use, v);
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/Misc/send-pr.html> for instructions.


	
>How-To-Repeat:
Just try to compile with -current src tree
	
>Fix:
	
internal gcc issue or hopefully fixed with gcc 4.9 ?

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index