Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-931

"malloc returned something that is in RVM address space" on Mac OS X Lion

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2
    • Component/s: Operating System: OSX
    • Labels:
      None

      Description

      Mac OS X Lion runs a 64-bit kernel by default, and introduced changes to gcc to deal with Address Space Layout Randomisation. By default, gcc on 64-bit Lion builds "position independent executables". This appears to cause a bunch of "malloc returned something that is in RVM address space" warnings when running on that configuration. The attached patch fixes this by building with the position independent executable setting turned off on x86_64-osx. This was the default setting for gcc on Mac OS X before Lion.

        Gliffy Diagrams

          Attachments

            Activity

            dgrove David Grove created issue -
            dgrove David Grove made changes -
            Field Original Value New Value
            Workflow jira [ 17310 ] X10 Workflow [ 18554 ]
            dgrove David Grove made changes -
            Attachment osx-lion-pie.patch [ 11009 ]
            dgrove David Grove made changes -
            Priority Minor [ 7 ] Low [ 4 ]

              People

              • Assignee:
                dgrove David Grove
                Reporter:
                jbornholt James Bornholt
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: