Skip to content
Snippets Groups Projects
  1. Apr 01, 2020
  2. Mar 31, 2020
  3. Mar 17, 2020
  4. Mar 14, 2020
    • Dan Albert's avatar
      Kick the build. · 579aadae
      Dan Albert authored
      Test: None
      Bug: None
      Change-Id: I787ba2cd841737bc16f0918ddaff11fb0f32defe
      579aadae
  5. Mar 12, 2020
  6. Mar 11, 2020
    • Dan Albert's avatar
      Configure macOS targets depending on OS. · 349907d5
      Dan Albert authored
      I've added separate builds for our 10.8 and 10.10 machines while we
      work out our 10.10 build issues. Unfortunately the 10.10 machines
      can't build for 10.8 and the 10.8 machines can't build for 10.9, so we
      need to handle them differently.
      
      Test: None
      Bug: None
      Change-Id: I6df3d8a663ccb214e3b829cd158e1d10ddb6a037
      349907d5
    • Dan Albert's avatar
      Kick the build. · 34892c10
      Dan Albert authored
      Test: None
      Bug: None
      Change-Id: I6759543b2ea3fbf9146014e4b112ffbb6ceecff9
      34892c10
  7. Mar 10, 2020
    • Dan Albert's avatar
      Back to 10.8. · a664ab3b
      Dan Albert authored
      Get a green build to use as comparison.
      
      Test: None
      Bug: None
      Change-Id: I94eb0498014e25f5a08c82cb754d7de5179b8dd2
      a664ab3b
    • Dan Albert's avatar
      Copy logs to dist directory even on success. · 17caf722
      Dan Albert authored
      Hard to figure out what's failing when we don't know what success
      looks like...
      
      Test: None
      Bug: None
      Change-Id: I567eda8750ee2ff4059fe00f927718158672e3ce
      17caf722
  8. Mar 07, 2020
    • Dan Albert's avatar
      Attempt to fix build on macOS 10.10. · db669320
      Dan Albert authored
      GCC (our GCC, anyway) always prints a warning to stderr on newer
      versions of macOS. Disable stderr checking in AC_CHECK_HEADERS for
      Mac.
      
      Test: autoconf, treehugger
      Bug: None
      Change-Id: If22e92928f8f9fa4abebff5a4640fc118e293088
      db669320
  9. Mar 06, 2020
  10. Mar 05, 2020
    • Dan Albert's avatar
      Update macOS deployment target to 10.9. · 4f6a469c
      Dan Albert authored
      Targeting 10.9 from a 10.10 bot is the configuration the NDK is
      currently using.
      
      It seems that to update to anything newer we probably need to change
      how we're configuring binutils. I think this is related to the fact
      that `xcode-select --install` no longer installs the sysroot to
      /usr/local/include, and that's probably what our old GCC prebuilts are
      expecting.
      
      Bug: http://b/143105198
      Test: None
      Change-Id: I70aff99e82b5f856037d9859b74dbabe2fe4853f
      Exempt-From-Owner-Approval: janitorial
      4f6a469c
  11. Mar 03, 2020
    • Dan Albert's avatar
      Fix build, hopefully. · 480744b9
      Dan Albert authored
      The build server we're currently on doesn't have anything newer than a
      10.8 SDK.
      
      Test: build servers
      Bug: None
      Exempt-From-Owner-Approval: build fix
      Change-Id: I3260303505b0e6c30d5b9d7d16c6f9abb9af3303
      480744b9
  12. Feb 28, 2020
  13. Feb 27, 2020
    • Dan Albert's avatar
      Kick the build. · d40b4316
      Dan Albert authored
      Test: None
      Bug: None
      Change-Id: I6ccaaae25e6d11be0a3e59b9951ca945a286648d
      d40b4316
  14. Feb 26, 2020
    • Dan Albert's avatar
      Kick the build. · 8966ca71
      Dan Albert authored
      Test: None
      Bug: None
      Change-Id: Ibc80455fe8345e79b43807f83e7071369949a894
      8966ca71
  15. Feb 21, 2020
    • Dan Albert's avatar
      Kick the build. · 077a559f
      Dan Albert authored
      Test: None
      Bug: None
      Change-Id: I219d884c29a8d73f92a77ec930bed30a9e3a04e4
      077a559f
  16. Sep 21, 2019
    • Dan Albert's avatar
      Fix bug for copying winpthread on Windows. · 6f40a53b
      Dan Albert authored
      This was broken when I changed this API. ld can't be run from the
      arch-specific bin directory because this is missing.
      
      Test: Build, check that winpthread is copied
      Bug: None
      Change-Id: Ia01e88624b0e66edc5563c931bdfbea174d2a131
      8 tags
      6f40a53b
  17. Aug 09, 2019
  18. Jul 03, 2019
    • Tiancong Wang's avatar
      Fix a bug on gold linker. · 71b0f9d8
      Tiancong Wang authored
      Gold linker by default turns on the --fix-arm1176 option. It has
      missing cases for TAG_CPU_ARCH_V8 and various other arm v8
      architectures. The result of this causes gold using v4t stubs for
      arm v8 cpus, which results in measurable code-size and performance
      impact. See https://sourceware.org/bugzilla/show_bug.cgi?id=24642
      for more details on the bug.
      
      This patches extend the condition to be any TAGs larger than v7,
      instead of checking the tag individually. It enables any future
      updates on the tags. All the tag are defined in include/elf/arm.h.
      
      Bug: b/134709902
      Test: ./checkbuild.by passes, after the ../prebuilt/ndk/binutils is updated with newly built binutils.
      
      Change-Id: I66277f62db1b1377b19f0e6d056f3b2d0a6f129b
  19. Jun 13, 2019
    • Dan Albert's avatar
      Remove support for 32-bit Windows. · 5006aa6d
      Dan Albert authored
      Test: ./build.py --arch arm64 --host windows64
      Bug: None
      Exempt-From-Owner-Approval: janitorial
      Change-Id: I4403dd0e1d406b65577a3af0b96b9b4cb95c5c53
      5006aa6d
  20. Jun 04, 2019
  21. Mar 23, 2019
  22. Nov 15, 2018
  23. Oct 09, 2018
    • Pirama Arumuga Nainar's avatar
      Align __CTOR_LIST__ to 4 bytes for windows x86 · 2245cc50
      Pirama Arumuga Nainar authored
      Bug: http://b/117439724
      
      Without specifying alignment, if __CTOR_LIST__ is not aligned to 4
      bytes, we end up with garbage after the -1.  This causes access
      violations in __do_global_ctors.
      
      The 64-bit version aligns it to 8 bytes (ld/scrpittempl/pep.sc).
      
      Test: With this fix, AOSP Windows tools built with Clang + MinGW +
      libc++ no longer crash.
      
      Change-Id: I76be11a265cdcf272d740fa8715024f1f6df3e1b
      19 tags
      2245cc50
  24. Jul 18, 2018
  25. Jul 13, 2018
    • Yunlian Jiang's avatar
      Fix aarch64 --no-apply-dynamic-relocs option. · 49e1641c
      Yunlian Jiang authored
      This option is intended to make gold not apply link-time values for
      absolution relocations which have dynamic relocations emitted for
      them, in order to workaround an android dynamic loader bug in old
      versions of android.
      
      Unfortunately, it also had the side-effect of breaking debug data,
      because the dynamic relocations are not used for non-ALLOC sections,
      but the flag was also suppressing the static relocation.
      
      This fix was proposed by jyknight@ and it fixed the problem by filtering
      out non-ALLOC sections with the --no-apply-dynamic-relocs option.
      
      BUG: 70838247
      TEST: Debug info appears with --no-apply-dynamic-relocs
  26. Jul 12, 2018
  27. Jul 10, 2018
    • Logan Chien's avatar
      Fix dwarf_reader.cc for C++11 · fcb56510
      Logan Chien authored
      This commit replaces `std::make_pair<int, std::string>(dirindex, path)`
      with `std::make_pair(dirindex, path)` because C++11 replaces
      `std::make_pair<T, V>(T t, V v)` with
      `std::make_pair<T, V>(T &&t, V &&v)`.
      
      This commit removes explicit template arguments because forward
      references are only available during template arguments deduction.  If
      the explicit template arguments are specified, the argument `t` and `v`
      will become R-value references, which can not bind to an L-value.
      
      Test: It builds with clang++ (or g++) with CXXFLAGS="-std=c++11"
      Change-Id: I79eb94552445354f7e7bff02169879195c7f6283
  28. Jun 20, 2018
  29. Jun 02, 2018
  30. Jun 01, 2018
  31. Apr 07, 2018
  32. Apr 06, 2018
    • Ryan Prichard's avatar
      Windows: enable gold threading, copy libwinpthread-1.dll · 2485f18b
      Ryan Prichard authored
      Copy libwinpthread-1.dll alongside the binutils executables on Windows.
      
      The install_winpthreads function is copied from llvm_android:
      https://android.googlesource.com/toolchain/llvm_android/+/bd22d9779676661ae9571972dcd744c42c70ffd0/build.py#1063
      
      Most C++ MinGW programs need libpthread, because even libstdc++'s
      "operator new" pulls in EH code, which calls into libpthread. Currently,
      the ld.gold.exe and dwp.exe binaries need libwinpthread-1.dll, which is
      not generally in the PATH, so the binaries don't run.
      
      Previously, the Android GCC build of binutils linked ld.gold.exe and
      dwp.exe with -static, which selected the static libpthread.a. Packaging
      libwinpthread-1.dll alongside the binaries ensures that ld.gold.exe and
      the LLVMgold plugin use the same copy of the winpthreads runtime, which
      might be important.
      
      Test: ./toolchain/binutils/build.py --arch arm64 --host win64
      Test: ./toolchain/binutils/build.py  --arch arm64 --host win
      Test: ./toolchain/binutils/build.py --arch arm64  --host linux
      Test: ./toolchain/binutils/build.py --arch x86 --host win64
      Bug: none
      Change-Id: I5fc2d38b67c72fa4760be1c2688ef88479759160
      6 tags
      2485f18b
  33. Mar 28, 2018
Loading