public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/48240] New: libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10
@ 2011-03-22 17:07 ro at gcc dot gnu.org
  2011-04-04 17:58 ` [Bug go/48240] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-22 17:07 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: libgo assertion failure at runtime/mem.c:114 on 64-bit
                    Solaris 10
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: ro@gcc.gnu.org
              Host: *-*-solaris2.10
            Target: *-*-solaris2.10
             Build: *-*-solaris2.10


Unlike Solaris 11/x86, several go and libgo tests fail on 64-bit Solaris 10
(both
SPARC and x86):

FAIL: go.go-torture/execute/array-1.go execution,  -O0 
/vol/gcc/src/hg/trunk/local/libgo/runtime/mem.c:114: libgo assertion failure
runtime: address space conflict: map(f840000000) = fffffb7ffbb7e000

I suppose this is because Solaris < 11 doesn't honor the addr parameter to
mmap(2) without MAP_FIXED (cf. gcc/config/host-solaris.c), but haven't yet
checked in detail.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/48240] libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10
  2011-03-22 17:07 [Bug go/48240] New: libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10 ro at gcc dot gnu.org
@ 2011-04-04 17:58 ` ro at gcc dot gnu.org
  2011-04-05  0:03 ` ian at gcc dot gnu.org
  2011-04-05  0:03 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-04-04 17:58 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2011-04/msg00236.htm
                   |                            |l
   Last reconfirmed|                            |2011.04.04 17:58:19
   Target Milestone|---                         |4.7.0
     Ever Confirmed|0                           |1

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-04-04 17:58:19 UTC ---
Patch posted.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/48240] libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10
  2011-03-22 17:07 [Bug go/48240] New: libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10 ro at gcc dot gnu.org
  2011-04-04 17:58 ` [Bug go/48240] " ro at gcc dot gnu.org
  2011-04-05  0:03 ` ian at gcc dot gnu.org
@ 2011-04-05  0:03 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2011-04-05  0:03 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> 2011-04-05 00:03:43 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/48240] libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10
  2011-03-22 17:07 [Bug go/48240] New: libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10 ro at gcc dot gnu.org
  2011-04-04 17:58 ` [Bug go/48240] " ro at gcc dot gnu.org
@ 2011-04-05  0:03 ` ian at gcc dot gnu.org
  2011-04-05  0:03 ` ian at airs dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at gcc dot gnu.org @ 2011-04-05  0:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2011-04-05 00:02:36 UTC ---
Author: ian
Date: Tue Apr  5 00:02:15 2011
New Revision: 171961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171961
Log:
libgo: Use MAP_FIXED if necessary to grab arena.

>From Rainer Orth.

    PR go/48240
    * configure.ac: Check for mincore.
    * configure: Regenerate.
    * config.h.in: Regenerate.
    * runtime/mem.c: Include unistd.h.
    (addrspace_free): New function.
    (runtime_SysMap): Retry 64-bit runtime_mmap with MAP_FIXED.

Modified:
    trunk/libgo/config.h.in
    trunk/libgo/configure
    trunk/libgo/configure.ac
    trunk/libgo/runtime/mem.c


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-05  0:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 17:07 [Bug go/48240] New: libgo assertion failure at runtime/mem.c:114 on 64-bit Solaris 10 ro at gcc dot gnu.org
2011-04-04 17:58 ` [Bug go/48240] " ro at gcc dot gnu.org
2011-04-05  0:03 ` ian at gcc dot gnu.org
2011-04-05  0:03 ` ian at airs dot com

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