GNU bug report logs -
#29183
27.0.50; SIGSEGV on C-g on Windows
Previous Next
Reported by: John Mastro <john.b.mastro <at> gmail.com>
Date: Mon, 6 Nov 2017 22:00:02 UTC
Severity: normal
Tags: fixed
Merged with 29213
Found in version 27.0.50
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 29183 <at> debbugs.gnu.org (full text, mbox):
> From: John Mastro <john.b.mastro <at> gmail.com>
> Date: Tue, 7 Nov 2017 13:24:15 -0800
> Cc: 29183 <at> debbugs.gnu.org
>
> > Can you show a preprocessed version of thread.c, where it does this:
> >
> > static struct thread_state GCALIGNED main_thread;
>
> What's the right invocation to get that?
You need to display it first. Like this:
$ cd src
$ make thread.o -W thread.c V=1
This will compile thread.c and show the full command it uses to do
that. Copy-paste that command at the shell prompt, but this time
replace -c (or add if -c is not there) with -E, and also add
"-o thread.ii" to the command line. Then hit Enter. The file
thread.ii will have the preprocessed source.
> $ gcc --version
> gcc.exe (Rev1, Built by MSYS2 project) 7.2.0
Should be okay, I think. Does the problem go away if you remove
GCALIGNED from that line in thread.c and rebuild?
This bug report was last modified 7 years and 233 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.