David Friedman | e23031c | 2015-05-22 03:20:03 -0700 | [diff] [blame] | 1 | ndk=true |
| 2 | page.template=sdk |
smain@google.com | 0178321 | 2015-04-10 20:45:28 -0700 | [diff] [blame] | 3 | |
David Friedman | d580302 | 2015-05-25 21:53:23 -0700 | [diff] [blame] | 4 | |
David Friedman | e23031c | 2015-05-22 03:20:03 -0700 | [diff] [blame] | 5 | ndk.mac64_download=android-ndk-r10e-darwin-x86_64.bin |
| 6 | ndk.mac64_bytes=388937326 |
| 7 | ndk.mac64_checksum=2cb8893a5701603519d38a7e04c50e81 |
| 8 | |
| 9 | ndk.linux64_download=android-ndk-r10e-linux-x86_64.bin |
| 10 | ndk.linux64_bytes=401522849 |
| 11 | ndk.linux64_checksum=19af543b068bdb7f27787c2bc69aba7f |
| 12 | |
| 13 | ndk.linux32_download=android-ndk-r10e-linux-x86.bin |
| 14 | ndk.linux32_bytes=394281908 |
| 15 | ndk.linux32_checksum=c3edd3273029da1cbd2f62c48249e978 |
| 16 | |
| 17 | ndk.win64_download=android-ndk-r10e-windows-x86_64.exe |
| 18 | ndk.win64_bytes=419616132 |
| 19 | ndk.win64_checksum=8412bb4991a95e08fda50b5a44d95df7 |
| 20 | |
| 21 | ndk.win32_download=android-ndk-r10e-windows-x86.exe |
| 22 | ndk.win32_bytes=396563176 |
| 23 | ndk.win32_checksum=1a82445baaf62aec3a46386ab1e5772c |
| 24 | |
David Friedman | d580302 | 2015-05-25 21:53:23 -0700 | [diff] [blame] | 25 | |
| 26 | |
David Friedman | e23031c | 2015-05-22 03:20:03 -0700 | [diff] [blame] | 27 | page.title=NDK Downloads |
David Friedman | d580302 | 2015-05-25 21:53:23 -0700 | [diff] [blame] | 28 | @jd:body |
| 29 | |
| 30 | |
| 31 | <div id="tos" style="display:none;width:760px;height:0;margin:0 auto"> |
| 32 | |
| 33 | <div id="download" class="ndk" style=" |
| 34 | z-index: 99; |
| 35 | width: 720px; |
| 36 | position: absolute; |
| 37 | margin: -70px 0; |
| 38 | padding: 14px; |
| 39 | background: white; |
| 40 | border: 1px solid #999; |
| 41 | box-shadow: -10px 10px 50px #888; |
| 42 | -moz-box-shadow: -10px 10px 50px #888; |
| 43 | -webkit-box-shadow: -10px 10px 50px #888;"> |
| 44 | <p>Before installing the Android NDK, you must agree to the following terms and conditions.</p> |
| 45 | <div class="sdk-terms" style="width:auto" onfocus="this.blur()"> |
| 46 | <h2 class="norule">Terms and Conditions</h2> |
| 47 | This is the Android Software Development Kit License Agreement |
| 48 | |
| 49 | <h3>1. Introduction</h3> |
| 50 | 1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and |
| 51 | specifically including the Android system files, packaged APIs, and Google APIs add-ons) is |
| 52 | licensed to you subject to the terms of this License Agreement. This License Agreement forms a |
| 53 | legally binding contract between you and Google in relation to your use of the SDK. |
| 54 | |
| 55 | 1.2 “Android” means the Android software stack for devices, as made available under the Android |
| 56 | Open Source Project, which is located at the following URL: http://source.android.com/, as updated |
| 57 | from time to time. |
| 58 | |
| 59 | 1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 |
| 60 | Amphitheatre Parkway, Mountain View, CA 94043, United States. |
| 61 | |
| 62 | |
| 63 | <h3>2. Accepting this License Agreement</h3> |
| 64 | 2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the |
| 65 | SDK if you do not accept this License Agreement. |
| 66 | |
| 67 | 2.2 By clicking to accept, you hereby agree to the terms of this License Agreement. |
| 68 | |
| 69 | 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred |
| 70 | from receiving the SDK under the laws of the United States or other countries including the country |
| 71 | in which you are resident or from which you use the SDK. |
| 72 | |
| 73 | 2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other |
| 74 | entity, you represent and warrant that you have full legal authority to bind your employer or such |
| 75 | entity to this License Agreement. If you do not have the requisite authority, you may not accept |
| 76 | the License Agreement or use the SDK on behalf of your employer or other entity. |
| 77 | |
| 78 | |
| 79 | <h3>3. SDK License from Google</h3> |
| 80 | 3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, |
| 81 | royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop |
| 82 | applications to run on the Android platform. |
| 83 | |
| 84 | 3.2 You agree that Google or third parties own all legal right, title and interest in and to the |
| 85 | SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property |
| 86 | Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, |
| 87 | and any and all other proprietary rights. Google reserves all rights not expressly granted to you. |
| 88 | |
| 89 | 3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement. |
| 90 | Except to the extent required by applicable third party licenses, you may not: (a) copy (except for |
| 91 | backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create |
| 92 | derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile |
| 93 | handset or any other hardware device except a personal computer, combine any part of the SDK with |
| 94 | other software, or distribute any software or device incorporating a part of the SDK. |
| 95 | |
| 96 | 3.4 You agree that you will not take any actions that may cause or result in the fragmentation of |
| 97 | Android, including but not limited to distributing, participating in the creation of, or promoting |
| 98 | in any way a software development kit derived from the SDK. |
| 99 | |
| 100 | 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source |
| 101 | software license are governed solely by the terms of that open source software license and not this |
| 102 | License Agreement. |
| 103 | |
| 104 | 3.6 You agree that the form and nature of the SDK that Google provides may change without prior |
| 105 | notice to you and that future versions of the SDK may be incompatible with applications developed |
| 106 | on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) |
| 107 | providing the SDK (or any features within the SDK) to you or to users generally at Google's sole |
| 108 | discretion, without prior notice to you. |
| 109 | |
| 110 | 3.7 Nothing in this License Agreement gives you a right to use any of Google's trade names, |
| 111 | trademarks, service marks, logos, domain names, or other distinctive brand features. |
| 112 | |
| 113 | 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including |
| 114 | copyright and trademark notices) that may be affixed to or contained within the SDK. |
| 115 | |
| 116 | |
| 117 | <h3>4. Use of the SDK by You</h3> |
| 118 | 4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under |
| 119 | this License Agreement in or to any software applications that you develop using the SDK, including |
| 120 | any intellectual property rights that subsist in those applications. |
| 121 | |
| 122 | 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) |
| 123 | this License Agreement and (b) any applicable law, regulation or generally accepted practices or |
| 124 | guidelines in the relevant jurisdictions (including any laws regarding the export of data or |
| 125 | software to and from the United States or other relevant countries). |
| 126 | |
| 127 | 4.3 You agree that if you use the SDK to develop applications for general public users, you will |
| 128 | protect the privacy and legal rights of those users. If the users provide you with user names, |
| 129 | passwords, or other login information or personal information, you must make the users aware that |
| 130 | the information will be available to your application, and you must provide legally adequate |
| 131 | privacy notice and protection for those users. If your application stores personal or sensitive |
| 132 | information provided by users, it must do so securely. If the user provides your application with |
| 133 | Google Account information, your application may only use that information to access the user's |
| 134 | Google Account when, and for the limited purposes for which, the user has given you permission to |
| 135 | do so. |
| 136 | |
| 137 | 4.4 You agree that you will not engage in any activity with the SDK, including the development or |
| 138 | distribution of an application, that interferes with, disrupts, damages, or accesses in an |
| 139 | unauthorized manner the servers, networks, or other properties or services of any third party |
| 140 | including, but not limited to, Google or any mobile communications carrier. |
| 141 | |
| 142 | 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or |
| 143 | to any third party for) any data, content, or resources that you create, transmit or display |
| 144 | through Android and/or applications for Android, and for the consequences of your actions |
| 145 | (including any loss or damage which Google may suffer) by doing so. |
| 146 | |
| 147 | 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or |
| 148 | to any third party for) any breach of your obligations under this License Agreement, any applicable |
| 149 | third party contract or Terms of Service, or any applicable law or regulation, and for the |
| 150 | consequences (including any loss or damage which Google or any third party may suffer) of any such |
| 151 | breach. |
| 152 | |
| 153 | |
| 154 | <h3>5. Your Developer Credentials</h3> |
| 155 | 5.1 You agree that you are responsible for maintaining the confidentiality of any developer |
| 156 | credentials that may be issued to you by Google or which you may choose yourself and that you will |
| 157 | be solely responsible for all applications that are developed under your developer credentials. |
| 158 | |
| 159 | |
| 160 | <h3>6. Privacy and Information</h3> |
| 161 | 6.1 In order to continually innovate and improve the SDK, Google may collect certain usage |
| 162 | statistics from the software including but not limited to a unique identifier, associated IP |
| 163 | address, version number of the software, and information on which tools and/or services in the SDK |
| 164 | are being used and how they are being used. Before any of this information is collected, the SDK |
| 165 | will notify you and seek your consent. If you withhold consent, the information will not be |
| 166 | collected. |
| 167 | |
| 168 | 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in |
| 169 | accordance with Google's Privacy Policy. |
| 170 | |
| 171 | |
| 172 | <h3>7. Third Party Applications</h3> |
| 173 | 7.1 If you use the SDK to run applications developed by a third party or that access data, content |
| 174 | or resources provided by a third party, you agree that Google is not responsible for those |
| 175 | applications, data, content, or resources. You understand that all data, content or resources which |
| 176 | you may access through such third party applications are the sole responsibility of the person from |
| 177 | which they originated and that Google is not liable for any loss or damage that you may experience |
| 178 | as a result of the use or access of any of those third party applications, data, content, or |
| 179 | resources. |
| 180 | |
| 181 | 7.2 You should be aware the data, content, and resources presented to you through such a third |
| 182 | party application may be protected by intellectual property rights which are owned by the providers |
| 183 | (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, |
| 184 | distribute or create derivative works based on these data, content, or resources (either in whole |
| 185 | or in part) unless you have been specifically given permission to do so by the relevant owners. |
| 186 | |
| 187 | 7.3 You acknowledge that your use of such third party applications, data, content, or resources may |
| 188 | be subject to separate terms between you and the relevant third party. In that case, this License |
| 189 | Agreement does not affect your legal relationship with these third parties. |
| 190 | |
| 191 | |
| 192 | <h3>8. Using Android APIs</h3> |
| 193 | 8.1 Google Data APIs |
| 194 | |
| 195 | 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be |
| 196 | protected by intellectual property rights which are owned by Google or those parties that provide |
| 197 | the data (or by other persons or companies on their behalf). Your use of any such API may be |
| 198 | subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or |
| 199 | create derivative works based on this data (either in whole or in part) unless allowed by the |
| 200 | relevant Terms of Service. |
| 201 | |
| 202 | 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you |
| 203 | shall retrieve data only with the user's explicit consent and only when, and for the limited |
| 204 | purposes for which, the user has given you permission to do so. |
| 205 | |
| 206 | |
| 207 | <h3>9. Terminating this License Agreement</h3> |
| 208 | 9.1 This License Agreement will continue to apply until terminated by either you or Google as set |
| 209 | out below. |
| 210 | |
| 211 | 9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK |
| 212 | and any relevant developer credentials. |
| 213 | |
| 214 | 9.3 Google may at any time, terminate this License Agreement with you if: |
| 215 | (A) you have breached any provision of this License Agreement; or |
| 216 | (B) Google is required to do so by law; or |
| 217 | (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated |
| 218 | its relationship with Google or ceased to offer certain parts of the SDK to you; or |
| 219 | (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country |
| 220 | in which you are resident or from which you use the service, or the provision of the SDK or certain |
| 221 | SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. |
| 222 | |
| 223 | 9.4 When this License Agreement comes to an end, all of the legal rights, obligations and |
| 224 | liabilities that you and Google have benefited from, been subject to (or which have accrued over |
| 225 | time whilst this License Agreement has been in force) or which are expressed to continue |
| 226 | indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall |
| 227 | continue to apply to such rights, obligations and liabilities indefinitely. |
| 228 | |
| 229 | |
| 230 | <h3>10. DISCLAIMER OF WARRANTIES</h3> |
| 231 | 10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE |
| 232 | SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. |
| 233 | |
| 234 | 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE |
| 235 | SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR |
| 236 | COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. |
| 237 | |
| 238 | 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS |
| 239 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, |
| 240 | FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
| 241 | |
| 242 | |
| 243 | <h3>11. LIMITATION OF LIABILITY</h3> |
| 244 | 11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS |
| 245 | LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, |
| 246 | INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY |
| 247 | LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN |
| 248 | AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. |
| 249 | |
| 250 | |
| 251 | <h3>12. Indemnification</h3> |
| 252 | 12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless |
| 253 | Google, its affiliates and their respective directors, officers, employees and agents from and |
| 254 | against any and all claims, actions, suits or proceedings, as well as any and all losses, |
| 255 | liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or |
| 256 | accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes |
| 257 | any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of |
| 258 | any person or defames any person or violates their rights of publicity or privacy, and (c) any |
| 259 | non-compliance by you with this License Agreement. |
| 260 | |
| 261 | |
| 262 | <h3>13. Changes to the License Agreement</h3> |
| 263 | 13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. |
| 264 | When these changes are made, Google will make a new version of the License Agreement available on |
| 265 | the website where the SDK is made available. |
| 266 | |
| 267 | |
| 268 | <h3>14. General Legal Terms</h3> |
| 269 | 14.1 This License Agreement constitutes the whole legal agreement between you and Google and |
| 270 | governs your use of the SDK (excluding any services which Google may provide to you under a |
| 271 | separate written agreement), and completely replaces any prior agreements between you and Google in |
| 272 | relation to the SDK. |
| 273 | |
| 274 | 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is |
| 275 | contained in this License Agreement (or which Google has the benefit of under any applicable law), |
| 276 | this will not be taken to be a formal waiver of Google's rights and that those rights or remedies |
| 277 | will still be available to Google. |
| 278 | |
| 279 | 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any |
| 280 | provision of this License Agreement is invalid, then that provision will be removed from this |
| 281 | License Agreement without affecting the rest of this License Agreement. The remaining provisions of |
| 282 | this License Agreement will continue to be valid and enforceable. |
| 283 | |
| 284 | 14.4 You acknowledge and agree that each member of the group of companies of which Google is the |
| 285 | parent shall be third party beneficiaries to this License Agreement and that such other companies |
| 286 | shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that |
| 287 | confers a benefit on (or rights in favor of) them. Other than this, no other person or company |
| 288 | shall be third party beneficiaries to this License Agreement. |
| 289 | |
| 290 | 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST |
| 291 | COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE |
| 292 | LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. |
| 293 | |
| 294 | 14.6 The rights granted in this License Agreement may not be assigned or transferred by either you |
| 295 | or Google without the prior written approval of the other party. Neither you nor Google shall be |
| 296 | permitted to delegate their responsibilities or obligations under this License Agreement without |
| 297 | the prior written approval of the other party. |
| 298 | |
| 299 | 14.7 This License Agreement, and your relationship with Google under this License Agreement, shall |
| 300 | be governed by the laws of the State of California without regard to its conflict of laws |
| 301 | provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located |
| 302 | within the county of Santa Clara, California to resolve any legal matter arising from this License |
| 303 | Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for |
| 304 | injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. |
| 305 | |
| 306 | |
| 307 | <em>November 13, 2012</em> |
| 308 | </div> |
| 309 | |
| 310 | |
| 311 | |
| 312 | <div id="sdk-terms-form"> |
| 313 | <p> |
| 314 | <input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> |
| 315 | <label id="agreeLabel" for="agree">I have read and agree with the above terms and conditions</label> |
| 316 | </p> |
| 317 | <p><a href="" class="button disabled ndk" id="downloadForRealz" onclick="return onDownloadNdkForRealz(this);"></a></p> |
| 318 | </div> |
| 319 | |
| 320 | |
| 321 | |
| 322 | </div> |
| 323 | </div> |
| 324 | |
| 325 | <div id="qv-wrapper"> |
| 326 | <div id="qv"> |
| 327 | <h2>In this document</h2> |
| 328 | |
| 329 | <ol> |
| 330 | <li><a href="#Downloads">Downloads</a></li> |
| 331 | <li><a href="#rel">Release Notes</a></li> |
| 332 | </ol> |
| 333 | </div> |
| 334 | </div> |
| 335 | |
| 336 | <p>Select, from the table below, the NDK package suitable for your development platform.</p> |
| 337 | |
| 338 | |
| 339 | <h2 id="Downloads">Downloads</h2> |
| 340 | |
| 341 | |
| 342 | <script> |
| 343 | $('#Downloads').after($('#download-table')); |
| 344 | </script> |
| 345 | |
| 346 | <h2 id="rel">Release Notes</h2> |
| 347 | |
| 348 | <p>Android NDK, Revision 10e</a> <em>(May 2015)</em></p> |
| 349 | <dl> |
| 350 | <dt>Important changes:</dt> |
| 351 | <dd> |
| 352 | <ul> |
| 353 | <li>Integrated the workaround for Cortex-A53 Erratum 843419 into the |
| 354 | {@code aarch64-linux-android-4.9} linker. For more information on this workaround, see |
| 355 | <a href="https://sourceware.org/ml/binutils/2015-03/msg00446.html">Workaround for cortex-a53 |
| 356 | erratum 843419.</a></li> |
| 357 | |
| 358 | <li>Added Clang 3.6; {@code NDK_TOOLCHAIN_VERSION=clang} now picks that version |
| 359 | of Clang by default.</li> |
| 360 | |
| 361 | <li>Removed Clang 3.4.</li> |
| 362 | |
| 363 | <li>Removed GCC 4.6.</li> |
| 364 | |
| 365 | <li>Implemented multithreading support in {@code ld.gold} for all architectures. It can |
| 366 | now link with or without support for multithreading; the default is to do it without. |
| 367 | <ul> |
| 368 | <li>To compile with multithreading, use the {@code --threads} option.</li> |
| 369 | <li>To compile without multithreading, use the {@code --no-threads} option.</li> |
| 370 | </ul> |
| 371 | </li> |
| 372 | |
| 373 | <li>Upgraded GDB/gdbserver to 7.7 for all architectures.</li> |
| 374 | |
| 375 | <li>Removed the NDK package for 32-bit Darwin.</li> |
| 376 | </ul> |
| 377 | </dd> |
| 378 | <dl> |
| 379 | |
| 380 | |
| 381 | <dt>Important bug fixes:</dt> |
| 382 | <dd> |
| 383 | <ul> |
| 384 | <li>Fixed a crash that occurred when there were OpenMP loops outside of the main thread.</li> |
| 385 | |
| 386 | <li>Fixed a GCC 4.9 internal compiler error (<i>ICE</i>) that occured when the user declared |
| 387 | {@code #pragma GCC optimize ("O0")}, but had a different level of optimization specified |
| 388 | on the command line. The {@code pragma} takes precedence.</li> |
| 389 | |
| 390 | <li>Fixed an error that used to produce a crash with the following error message: |
| 391 | <pre> |
| 392 | in add_stores, at var-tracking.c:6000 |
| 393 | </pre> |
| 394 | </li> |
| 395 | |
| 396 | <li>Implemented a workaround for a Clang 3.5 issue in which LLVM auto-vectorization |
| 397 | generates {@code llvm.cttz.v2i64()}, an instruction with no counterpart in the ARM |
| 398 | instruction set.</li> |
| 399 | </ul> |
| 400 | </dd> |
| 401 | |
| 402 | <dt>Other bug fixes:</dt> |
| 403 | <dd> |
| 404 | <ul> |
| 405 | <li>Made the following header and library fixes:</li> |
| 406 | <ul> |
| 407 | <li>Fixed {@code PROPERTY_*} in {@code media/NdkMediaDrm.h}.</li> |
| 408 | <li>Fixed {@code sys/ucontext.h} for {@code mips64}.</li> |
| 409 | <li>Dropped the Clang version check for {@code __builtin_isnan} and |
| 410 | {@code __builtin_isinf}.</li> |
| 411 | <li>Added {@code android-21/arch-mips/usr/include/asm/reg.h} |
| 412 | and {@code android-21/arch-mips64/usr/include/asm/reg.h}.</li> |
| 413 | </ul> |
| 414 | </li> |
| 415 | |
| 416 | <li>Fixed a spurious array-bounds warning that GCC 4.9 produced for x86, and reenabled the |
| 417 | array bounds warning that GCC 4.9 had produced for ARM. The warning for ARM had |
| 418 | previously been unconditionally disabled.</li> |
| 419 | |
| 420 | <li>Fixed Clang 3.5 for {@code mips} and {@code mips64} to create a writable |
| 421 | {@code .gcc_except_table} section, thus matching GCC behavior. This change allows you |
| 422 | to avoid the following linker warning: |
| 423 | |
| 424 | <pre> |
| 425 | .../ld: warning: creating a DT_TEXTREL in a shared object |
| 426 | </pre> |
| 427 | </li> |
| 428 | |
| 429 | <li>Backported a fix for {@code compiler-rt} issues that were causing crashes when Clang |
| 430 | compiled for {@code mips64}. For more information, see LLVM Issue |
| 431 | <a href="http://llvm.org/bugs/show_bug.cgi?id=20098">20098</a>.</li> |
| 432 | |
| 433 | <li>Fixed Clang 3.5 crashes that occurred on non-ASCII comments. (Issue |
| 434 | <a href="https://code.google.com/p/android/issues/detail?id=81440">81440</a>)</li> |
| 435 | |
| 436 | <li>Fixed {@code stlport collate::compare} to return {@code -1} and {@code 1}. Previously, |
| 437 | it had returned arbitrary signed numbers.</li> |
| 438 | |
| 439 | <li>Fixed {@code ndk-gdb} for 64-bit ABIs. (Issue |
| 440 | <a href="https://code.google.com/p/android/issues/detail?id=118300">118300</a>)</li> |
| 441 | |
| 442 | <li>Fixed the crash that the HelloComputeNDK sample for RenderScript was producing on |
| 443 | Android 4.4 (Android API level 19). For more information, see |
| 444 | <a href="http://stackoverflow.com/questions/28057049/targeting-pre-lollipop-devices-using-renderscript-from-ndk-c">this page</a>.</li> |
| 445 | |
| 446 | <li>Fixed {@code libc++ __wrap_iter} for GCC. For more information, see LLVM Issue |
| 447 | <a href="http://llvm.org/bugs/show_bug.cgi?id=22355">22355</a>.</li> |
| 448 | |
| 449 | <li>Fixed {@code .asm} support for ABI {@code x86_64}.</li> |
| 450 | |
| 451 | <li>Implemented a workaround for the GCC 4.8 {@code stlport} issue. (Issue |
| 452 | <a href="https://android-review.googlesource.com/#/c/127773">127773</a>)</li> |
| 453 | |
| 454 | <li>Removed the trailing directory separator {@code \\} from the project path in Windows. |
| 455 | (Issue <a href="https://code.google.com/p/android/issues/detail?id=160584">160584</a>) |
| 456 | </li> |
| 457 | |
| 458 | <li>Fixed a {@code no rule to make target} error that occurred when compiling a single |
| 459 | {@code .c} file by executing the {@code ndk-build.cmd} command from {@code gradle}. (Issue |
| 460 | <a href="https://code.google.com/p/android/issues/detail?id=66937">66937</a>)</li> |
| 461 | |
| 462 | <li>Added the {@code libatomic.a} and {@code libgomp.a} libraries that had been missing from |
| 463 | the following host toolchains: |
| 464 | <ul> |
| 465 | <li>{@code aarch64-linux-android-4.9}</li> |
| 466 | <li>{@code mips64el-linux-android-4.9}</li> |
| 467 | <li>{@code mipsel-linux-android-4.9}</li> |
| 468 | <li>{@code x86_64-4.9}</li> |
| 469 | </ul> |
| 470 | </ul> |
| 471 | </dd> |
| 472 | |
| 473 | <dt>Other changes:</dt> |
| 474 | <dd> |
| 475 | <ul> |
| 476 | <li>Added {@code ld.gold} for {@code aarch64}. The default linker remains {@code ld.bfd}. |
| 477 | To explicitly enable {@code ld.gold}, add {@code -fuse-ld=gold} to the |
| 478 | {@code LOCAL_LDFLAGS} or {@code APP_LDFLAGS} variable.</li> |
| 479 | |
| 480 | <li>Built the MIPS and MIPS64 toolchains with {@code binutils-2.25}, which provides improved |
| 481 | R6 support.</li> |
| 482 | |
| 483 | <li>Made {@code -fstandalone-debug} (full debug info) a default option for Clang.</li> |
| 484 | |
| 485 | <li>Replaced {@code -fstack-protector} with {@code -fstack-protector-strong} for |
| 486 | the ARM, AArch64, X86, and X86_64 toolchains for GCC 4.9, Clang 3.5, and |
| 487 | Clang 3.6.</li> |
| 488 | |
| 489 | <li>Added the {@code --package} command-line switch to {@code ndk-gdb} to allow the build |
| 490 | system to override the package name. (Issue |
| 491 | <a href="https://code.google.com/p/android/issues/detail?id=56189">56189</a>)</li> |
| 492 | |
| 493 | <li> Deprecated {@code -mno-ldc1-stc1} for MIPS. This option may not work with the new |
| 494 | {@code -fpxx} and {@code -mno-odd-spreg} options, or with the FPXX ABI.</li> |
| 495 | |
| 496 | <li>Added MIPS MSA and R6 detection to {@code cpu-features}.</li> |
| 497 | |
| 498 | </ul> |
| 499 | </dd> |
| 500 | |
| 501 | </dl> |