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

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).