<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJy1Vc2O0zAQfpr0MmrkOk2bHnIolKKVAKFdXsCJJ41Zxy62QylPz9gpW20BcYCNotiOxzPfN39urDzXO-VFo5U5wPbh3T343o5agrEBGgQBDr-MyuGAJkBnHYw-ig5eGLAG9g7x1cMuz9guY9vpe68OfSAFJ1B0RCjt4aRCfxFZscublp965YF0qaC-owNaRMOtHY4iqEZjOgloCCHKCaAwEhplhFPok6SKW0nu492bP1hBaHtsH-EkPAgp6YAygBxlxZhccV6u1k1RblaV4OuuWlfLNSu7ZlktNqwrn7G76-AOpD2ZgxMSIZBqdI4cEyx56yScif7RthVan0nUI2bF9rewMr6EPON7kdsxvKg_7keTYAlzPonz9G-__bR9R9DgtSUe7Fsh5UI0RSU3DYuGCRPYDsTxqFVL1inaTpgD5vDBmjmphmZUWmbF_kbfexysOz88kWgpVSKLYRDH5C_fC3IgDEkuvz0tHklidBgdeqEzsZl30WikSzuUsI-X30eFt0pucprYPFI-mqRSjD6Gjf6luN0epfi6i7dGIwn-292rjL-G4M6Q8bXHADJpxzm5Q9pBfZ-cY7uO9n_mSrGjt1qseDlNPzrbovcX0hBd0Vmt7ck_ZQdcnqdQlA1jbH6NTEtL2qeMGb2jb28HpAEH4UOceNfGrxiOGj3NtP460BBr9XmW_WIpqb5awubFLOFzTvhynPCGU_e_LOV5_vtyfuo1GeexqGiIzcbFuP9aXzF5qQmlgsDWUlr_lE1l9pfgxFacMOUzWRdyU2zETIyht66eGM1Gp-s-hGNKML6n90AWxyanorrSi8P86OxnbAMtlfdjYl8W1BNnfY0b5IUscSWkKJrVYrOSshNkrmSyWK-7mRYNal9nJVUJN0hNP6qgeVbuZv-OQNWccc4Wi_WCjDKWV6JcViUvq0IWZcsxWzIirHQe9eTWHWauTiqb8eBpUysf_HVTeK8OBjEBJoRBBY11us6mq-p6qU3tJTWQS8OdJXB1QvYDLBlBxQ>53256</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            msan fails on FreeBSD with ASLR enabled
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          emaste
      </td>
    </tr>
</table>

<pre>
    Disabling ASLR should not be a requirement for using msan on FreeBSD.

Right now it fails with
```
This sanitizer is not compatible with enabled ASLR and binaries compiled with PIE
```
The check was added in e2ed800d622567b35968a27f8784705fb48190f5.

If I downgrade the error to a warning locally I see:
```
$ ./a.out
This sanitizer is not compatible with enabled ASLR and binaries compiled with PIE
Running anyway
FATAL: Code 0x3dd1ab38d9b0 is out of application range. Non-PIE build?
FATAL: MemorySanitizer can not mmap the shadow memory.
FATAL: Make sure to compile with -fPIE and to link with -pie.
FATAL: Disabling ASLR is known to cause this error.
FATAL: If running under GDB, try 'set disable-randomization off'.
==81625==Process memory map follows:
        0x3dd1ab35b000-0x3dd1ab38c000   /usr/home/emaste/src/samples/llvm/msan/a.out
        0x3dd1ab38c000-0x3dd1ab3eb000   /usr/home/emaste/src/samples/llvm/msan/a.out
        0x3dd1ab3eb000-0x3dd1ab3ec000   /usr/home/emaste/src/samples/llvm/msan/a.out
        0x3dd1ab3ec000-0x3dd1ab3ef000   /usr/home/emaste/src/samples/llvm/msan/a.out
...
```

The "Code" address 0x3dd1ab38d9b0 is within the second address range 0x3dd1ab38c000-0x3dd1ab3eb000 for a.out.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VduO2zgM_RrnhYihyLHjPPghbZpigO6imOkPyBYdqyNLqSQ3m379UnI6waRd7EsnEKwbRfIcXtJaeWn2yotWK3OE3dOnR_CDnbQEYwO0CAIcfpuUwxFNgN46mHwUHb0wYA0cHOK7p32esX3GdvP3UR2HQArOoOiJUNrDWYXhKlKx60jbL4PyQLpUUD_QAW2i4c6OJxFUqzG9BDTkIcrZQWEktMoIp9AnSRWvktznhw__YQWhG7B7hrPwIKSkB8oAcpQ1Y7LivKw2bVFuq1rwTV9v6vWGlX27rldb1pev0D308ADSns3RCYkQSDU6R8QES2ydhTORH207ofWFRD1iVux-61bG15Bn_CByO4U35eNxMsktYS5ncZnPDrsvu0_kGry3hIP9U0i5Em1Ry23LomHyCWwP4nTSqiPrFG0nzBFz-NuaJamGdlJaZsXhTt9fOFp3eXoB0VGqRBTjKE6JLz8IIhDGJJffvxbPJDE5jIRe4cxoln00GuHSDSXs8_X4pPBeyV1OE5pnykeTVIrJx7DRWYrb_VOKr7uyNRlJ7n_cv8v4ewjuAhnfeAwgk3ZcEh3SjurHTI7te7r_mSvFnka9qng5Lz8726H3V9AQqeit1vbsX7IDrr-XUJQtY2x5i0xHW7qnjJm8o-9gR6QJR-FDXHjXxa8YTxo9rbT-PtIUa_V1lv1iKam-WcL2zSzha0z4dpjwDlP_pyzlef77cn7pNRnnsahois3Gxbj_Wl8xeakJpYLAzlJa_5RNZfY_wYmtOPmUL2RTyG2xFYuggsYmtea57d4a9FwqqRiuzWMxOd0MIZxSAvIDjSPJTG1ORXeDH6flydmv2AXaKu-nxE5ZUM9cDI2okPVdwVeIq7pAvu656KqqqFpW1JsWF1q0qH2TlVRF3CD9KUQVtM7K_UI1nHHOVqvNihAwlteiXNclL-tCFmXHMVszCpDSefQjt-64cE1yqZ2Oni618sHfLoX36mgQkznSL6YwWNfMMV4ky03y_F8jbywI">