public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ian at wasabisystems dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug pch/14940] PCH largefile test fails on various platforms
Date: Sat, 17 Jul 2004 14:43:00 -0000	[thread overview]
Message-ID: <20040717144334.29951.qmail@sourceware.org> (raw)
In-Reply-To: <20040413135721.14940.ian@wasabisystems.com>


------- Additional Comments From ian at wasabisystems dot com  2004-07-17 14:43 -------
I should add that always using MAP_FIXED will cause the new mmap to clobber any
existing memory maps, which will lead to silent failure if the GC code (or the
library malloc code) happens to have mapped any portion of that memory space. 
So using MAP_FIXED does not work in general.  For an example of how it can be
used on some systems, see gcc/config/host-solaris.c, which uses mincore() to
explicitly check whether anything else is mapped in that address space.  But
note that that code does not work on, e.g., GNU/Linux, because mincore() does
not work as expected--it does not detect anonymous maps.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940


  parent reply	other threads:[~2004-07-17 14:43 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-13 14:48 [Bug pch/14940] New: " ian at wasabisystems dot com
2004-04-13 16:35 ` [Bug pch/14940] " ebotcazou at gcc dot gnu dot org
2004-04-13 16:55 ` pinskia at gcc dot gnu dot org
2004-04-13 19:48 ` geoffk at gcc dot gnu dot org
2004-04-14 18:49 ` ljrittle at gcc dot gnu dot org
2004-07-17  4:09 ` pinskia at gcc dot gnu dot org
2004-07-17  4:10 ` pinskia at gcc dot gnu dot org
2004-07-17  4:21 ` dave at hiauly1 dot hia dot nrc dot ca
2004-07-17 14:20 ` ian at wasabisystems dot com
2004-07-17 14:43 ` ian at wasabisystems dot com [this message]
2004-07-17 15:43 ` ebotcazou at gcc dot gnu dot org
2004-07-17 17:10 ` dave at hiauly1 dot hia dot nrc dot ca
2004-07-18 10:00 ` ebotcazou at gcc dot gnu dot org
2004-07-18 12:26 ` ian at wasabisystems dot com
2004-07-18 16:03 ` dave at hiauly1 dot hia dot nrc dot ca
2004-07-20 17:49 ` pinskia at gcc dot gnu dot org
2004-08-21 17:05 ` pinskia at gcc dot gnu dot org
2004-08-31 14:20 ` dave at hiauly1 dot hia dot nrc dot ca
2004-10-12 19:56 ` jgrimm2 at us dot ibm dot com
2004-11-04  4:57 ` phython at gcc dot gnu dot org
2004-11-04  7:09 ` ebotcazou at gcc dot gnu dot org
2004-11-09 12:35 ` cvs-commit at gcc dot gnu dot org
2004-11-23  2:30 ` cvs-commit at gcc dot gnu dot org
2004-11-27 16:57 ` cvs-commit at gcc dot gnu dot org
2004-11-30  3:11 ` cvs-commit at gcc dot gnu dot org
     [not found] <20040413135721.14940.ian@airs.com>
2005-02-11 12:03 ` jsm28 at gcc dot gnu dot org
2005-02-11 12:48 ` dave at hiauly1 dot hia dot nrc dot ca
2005-02-13 20:05 ` ebotcazou at gcc dot gnu dot org
2005-02-15 23:42 ` cvs-commit at gcc dot gnu dot org
2005-08-02 19:04 ` cvs-commit at gcc dot gnu dot org
2005-08-04 17:41 ` dave at hiauly1 dot hia dot nrc dot ca
2005-08-04 17:54 ` ian at airs dot com
2005-08-04 18:04 ` dave at hiauly1 dot hia dot nrc dot ca
2005-08-07  2:48 ` cvs-commit at gcc dot gnu dot org
     [not found] <bug-14940-1313@http.gcc.gnu.org/bugzilla/>
2005-12-14 19:25 ` brett dot albertson at stratech dot com
2007-03-27  3:32 ` mmitchel at gcc dot gnu dot org
2007-05-08 21:06 ` mmitchel at gcc dot gnu dot org
2010-03-01 12:45 ` ro at gcc dot gnu dot org
2010-03-01 14:07 ` ro at gcc dot gnu dot org
2010-03-01 18:18 ` ro at gcc dot gnu dot org
2010-06-02 17:29 ` ro at gcc dot gnu dot org
2010-07-12 11:57 ` ro at gcc dot gnu dot org
2010-07-13  9:06 ` ro at gcc dot gnu dot org
2010-07-13  9:07 ` ro at gcc dot gnu dot org
     [not found] <bug-14940-4@http.gcc.gnu.org/bugzilla/>
2011-02-15  9:52 ` ro at gcc dot gnu.org
2011-02-15  9:58 ` ro at gcc dot gnu.org
2011-02-15 10:09 ` ro at gcc dot gnu.org
2015-05-31  6:22 ` asmwarrior at gmail dot com
2015-06-27 18:28 ` xricht17 at stud dot fit.vutbr.cz
2015-06-28  8:53 ` asmwarrior at gmail dot com
2015-07-09 18:47 ` xricht17 at stud dot fit.vutbr.cz
2020-11-11 15:30 ` julien.ruffin at ivu dot de
2021-05-19 17:37 ` redi at gcc dot gnu.org
2022-05-10  4:52 ` lh_mouse at 126 dot com
2022-05-10  4:59 ` pinskia at gcc dot gnu.org
2022-05-10  5:05 ` lh_mouse at 126 dot com
2022-05-10  5:15 ` pinskia at gcc dot gnu.org
2022-05-10  8:51 ` jakub at gcc dot gnu.org
2023-03-01 13:47 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040717144334.29951.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).