NetBSD-Bugs archive

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

port-arm/49337: __popcountsi2() triggers illegal instruction

>Number:         49337
>Category:       port-arm
>Synopsis:       __popcountsi2() triggers illegal instruction
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 30 08:40:00 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.1
The NetBSD Foundation, Inc.
System: NetBSD 7.99.1 NetBSD 7.99.1 (CUBIETRUCK) #37: Wed Oct 29 15:19:37 CET 2014 evbarm
Architecture: earmv7hfeb
Machine: evbarm

fc-cache dumps core with an invalid instruction.
This simple test program reproduces it:

#include <stdio.h>

int __popcountsi2(int);

int main(int argc, char **argv)
	int i = 1;

	printf("popcount(%d) = %d\n", i, __popcountsi2(i));

	return 0;



Home | Main Index | Thread Index | Old Index