[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29183: 27.0.50; SIGSEGV on C-g on Windows
From: |
John Mastro |
Subject: |
bug#29183: 27.0.50; SIGSEGV on C-g on Windows |
Date: |
Wed, 8 Nov 2017 10:35:06 -0800 |
Eli Zaretskii <eliz@gnu.org> wrote:
>> > 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.
Ah, thanks. After preprocessing, that line becomes:
static struct thread_state __attribute__ ((aligned (8))) main_thread;
>> $ 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?
Yep, the SIGSEGV is gone if I remove GCALIGNED from that line.
Thanks
John
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, John Mastro, 2017/11/06
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Eli Zaretskii, 2017/11/06
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, John Mastro, 2017/11/07
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Eli Zaretskii, 2017/11/07
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, John Mastro, 2017/11/07
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Eli Zaretskii, 2017/11/07
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows,
John Mastro <=
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Eli Zaretskii, 2017/11/08
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Paul Eggert, 2017/11/08
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, John Mastro, 2017/11/08
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Paul Eggert, 2017/11/08
- bug#29183: 27.0.50; SIGSEGV on C-g on Windows, John Mastro, 2017/11/09
bug#29183: 27.0.50; SIGSEGV on C-g on Windows, Davor Rotim, 2017/11/09