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
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 7.99.1 NetBSD 7.99.1 (CUBIETRUCK) #37: Wed Oct 29 15:19:37 CET 2014 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/evbarm/compile/CUBIETRUCK evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:

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;
}


>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index