Subject: bin/34815: Profiling is broken in -current
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Andreas Gustafsson <gson@gson.org>
List: netbsd-bugs
Date: 10/14/2006 19:10:00
>Number: 34815
>Category: bin
>Synopsis: Profiling is broken in -current
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 14 19:10:00 +0000 2006
>Originator: Andreas Gustafsson
>Release: NetBSD 4.99.3
>Organization:
>Environment:
System: NetBSD guava.gson.org 4.99.3 NetBSD 4.99.3 (GENERIC) #0: Mon Sep 25 00:54:38 EEST 2006 root@guru.araneus.fi:/usr/build/1007/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Programs compiled with -pg dump core.
>How-To-Repeat:
$ cat test.c
#include <stdio.h>
int
main(int argc, char **argv) {
printf("Hello from %s\n", argv[0]);
return 0;
}
$ cc -pg test.c
$ ./a.out
Segmentation fault (core dumped)
>Fix:
I wish I knew.