NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51586: internal compiler error
The following reply was made to PR bin/51586; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/51586: internal compiler error
Date: Mon, 31 Oct 2016 03:54:19 +0000
On Mon Oct 31 03:45:00 +0000 2016 DOYASHIKI Shinichi wrote:
> int main()
> {
> printf("compiler ok\n");
> return 0;
> }
> $ make main
> cc -O2 -o main main.c
> cc: internal compiler error: Segmentation fault (program as received signal 11)
>
> :
>
> (gdb) bt
> #0 0x000076e5b530c056 in strcmp () from /usr/lib/libc.so.12
> #1 0x000000002b03b358 in md_begin ()
> #2 0x000000002b05df26 in main ()
Curious... can you extract the generated assembly, and find the exact
way it's invoking as? If you run as directly on the assembly file with
the same arguments, does it still crash?
(use -S to compile to assembly, -v to show the invocation)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index