Subject: Re: bin/34815: Profiling is broken in -current
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 10/14/2006 19:20:02
The following reply was made to PR bin/34815; it has been noted by GNATS.
From: Christian Biere <christianbiere@gmx.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/34815: Profiling is broken in -current
Date: Sat, 14 Oct 2006 21:19:21 +0200
Andreas Gustafsson wrote:
> $ 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)
Workaround: Remove any references to argc and argv.
--
Christian