public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
@ 2014-01-31 15:46 kyle at redhat dot com
2014-01-31 15:49 ` [Bug pch/60010] " kyle at redhat dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: kyle at redhat dot com @ 2014-01-31 15:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
Bug ID: 60010
Summary: AArch64: sigsegv in cc1plus using pch without defining
TRY_EMPTY_VM_SPACE
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: pch
Assignee: unassigned at gcc dot gnu.org
Reporter: kyle at redhat dot com
Created attachment 32002
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32002&action=edit
add TRY_EMPTY_VM_SPACE define for __aarch64__
Building Fedora with randomize_vm_space on, we've noticed segmentation faults
in cc1plus when precompiled headers are used. While I was debugging the PCH
internals, Jakub kindly pointed out that AArch64 would probably need a
TRY_EMPTY_VM_SPACE define to start looking for free memory at, instead of the
default 0. (I suspect that buffer_size needs to be bigger than 32MB now.)
Attached is a patch that survived rebuilding our easiest reproducing test-case
(wxGTK) 30 times without issue.
Thanks, Kyle M.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug pch/60010] AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
@ 2014-01-31 15:49 ` kyle at redhat dot com
2014-01-31 16:49 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kyle at redhat dot com @ 2014-01-31 15:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
--- Comment #1 from Kyle McMartin <kyle at redhat dot com> ---
https://bugzilla.redhat.com/show_bug.cgi?id=1058991
Just FYI, this is RHBZ#1058991.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug pch/60010] AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
2014-01-31 15:49 ` [Bug pch/60010] " kyle at redhat dot com
@ 2014-01-31 16:49 ` pinskia at gcc dot gnu.org
2014-01-31 18:29 ` kyle at redhat dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-01-31 16:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Host| |aarch64*-*-*
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Can you submit the patch to gcc-patches@ after reading
http://gcc.gnu.org/contribute.html?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug pch/60010] AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
2014-01-31 15:49 ` [Bug pch/60010] " kyle at redhat dot com
2014-01-31 16:49 ` pinskia at gcc dot gnu.org
@ 2014-01-31 18:29 ` kyle at redhat dot com
2014-02-14 14:14 ` rearnsha at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kyle at redhat dot com @ 2014-01-31 18:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
--- Comment #3 from Kyle McMartin <kyle at redhat dot com> ---
Will do. Thanks much, Andrew. (I'll use you ChangeLog from adding it for mips
as a template.)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug pch/60010] AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
` (2 preceding siblings ...)
2014-01-31 18:29 ` kyle at redhat dot com
@ 2014-02-14 14:14 ` rearnsha at gcc dot gnu.org
2014-07-02 14:06 ` ktkachov at gcc dot gnu.org
2014-07-02 15:18 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-02-14 14:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Fri Feb 14 14:14:03 2014
New Revision: 207785
URL: http://gcc.gnu.org/viewcvs?rev=207785&root=gcc&view=rev
Log:
PR pch/60010
2014-02-14 Kyle McMartin <kyle@redhat.com>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/host-linux.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug pch/60010] AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
` (3 preceding siblings ...)
2014-02-14 14:14 ` rearnsha at gcc dot gnu.org
@ 2014-07-02 14:06 ` ktkachov at gcc dot gnu.org
2014-07-02 15:18 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-02 14:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktkachov at gcc dot gnu.org
--- Comment #5 from ktkachov at gcc dot gnu.org ---
Can this be closed now?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug pch/60010] AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
` (4 preceding siblings ...)
2014-07-02 14:06 ` ktkachov at gcc dot gnu.org
@ 2014-07-02 15:18 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-07-02 15:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60010
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed. Including for ilp32.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-07-02 15:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31 15:46 [Bug pch/60010] New: AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE kyle at redhat dot com
2014-01-31 15:49 ` [Bug pch/60010] " kyle at redhat dot com
2014-01-31 16:49 ` pinskia at gcc dot gnu.org
2014-01-31 18:29 ` kyle at redhat dot com
2014-02-14 14:14 ` rearnsha at gcc dot gnu.org
2014-07-02 14:06 ` ktkachov at gcc dot gnu.org
2014-07-02 15:18 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).