Commits on Mar 20, 2023

  1. Update to 15.0.0-rc2

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    18fe22b View commit details
    Browse the repository at this point in the history
  2. Update to 15.0.0-rc3

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    eadd2c3 View commit details
    Browse the repository at this point in the history
  3. Switch to 15.0.0 final

    Signed-off-by: Brian Cain <brian.cain@gmail.com>
    androm3da authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    73d43d4 View commit details
    Browse the repository at this point in the history
  4. Update to 15.0.3

    This commit includes a patch to the QEMU test suite.
    The tcg/multiarch/linux/linux-test.c file fails to
    compile under -Wall with LLVM 15.0.3
    
    This is likely due to [recent improvements][1] to the
    -Wno-unused-but-set-variable diagnostic to fix false
    negatives when post/pre increment/decrement operator
    are involved.
    
    The patch simply deletes the unused variable since
    the semantics of the test will remain the same.
    
    [1]: llvm/llvm-project#54595 (comment)
    
    Signed-off-by: Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com>
    mukilan-quic authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    3b90290 View commit details
    Browse the repository at this point in the history
  5. Update to 15.0.5

    Signed-off-by: Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com>
    mukilan-quic authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    2e8be8d View commit details
    Browse the repository at this point in the history
  6. Update to 15.0.6

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    2ea09c7 View commit details
    Browse the repository at this point in the history
  7. Switch to -O2 for libc build

    androm3da authored and quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    ce34a82 View commit details
    Browse the repository at this point in the history
  8. Update to version 16.0.0-rc0

    Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
    quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    dc0583c View commit details
    Browse the repository at this point in the history
  9. Revert "Switch to -O2 for libc build"

    Using -O2 caused some problems with the "signals" check-tcg test from
    qemu-hexagon.
    This reverts commit 3479956.
    
    Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
    quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    8bc873f View commit details
    Browse the repository at this point in the history
  10. Update to v16.0.0-rc3

    Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
    quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    4e29f4e View commit details
    Browse the repository at this point in the history
  11. Update to 16.0.0

    Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
    quic-mathbern committed Mar 20, 2023
    Copy the full SHA
    acca293 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Update to 16.0.5

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Jun 6, 2023
    Copy the full SHA
    923c1e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Use python3.8 with QEMU configure

    QEMU no longer supports python3.6, giving the following error when we
    run build-toolchain.sh:
    
    ERROR: Cannot use '/usr/bin/python3.6', Python >= 3.7 is required.
           Use --python=/path/to/python to specify a supported Python.
    
    So let's update to python3.8.
    
    Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
    quic-mathbern committed Jul 27, 2023
    Copy the full SHA
    38b8d89 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Update QEMU to 8.0.3

    Signed-off-by: androm3da <bcain@quicinc.com>
    androm3da committed Jul 28, 2023
    Copy the full SHA
    8aab74b View commit details
    Browse the repository at this point in the history
  2. Remove "unused variable" QEMU patch

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Jul 28, 2023
    Copy the full SHA
    035dc01 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Change to use cmake cache files

    cmake cache files are a popular idiom with cmake projects in general
    and llvm-project specifically.  If we have luck using these in
    the toolchain_for_hexagon repo, perhaps we could contribute them
    to llvm-project to make it easier for others to reproduce this build
    and easier for other llvm developers to see how our toolchain is built.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 15, 2023
    Copy the full SHA
    968306b View commit details
    Browse the repository at this point in the history
  2. Switch test-toolchain to using cmake cache

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 15, 2023
    Copy the full SHA
    35e3a4b View commit details
    Browse the repository at this point in the history
  3. Add the cross toolchain path to QEMU configure

    This path is required to be able to build the test cases invoked by
    the 'check-tcg' target.  Without this change, the 'check-tcg' target
    reports 'nothing to do'.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 15, 2023
    Copy the full SHA
    b2d9bf2 View commit details
    Browse the repository at this point in the history
  4. Update to LLVM 16.0.6

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 15, 2023
    Copy the full SHA
    54d0c48 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Disable tests, docs, add explicit crt flags

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 29, 2023
    Copy the full SHA
    5c398e6 View commit details
    Browse the repository at this point in the history
  2. Switch to LLVM_CMAKE_DIR

    LLVM_CONFIG_PATH is deprecated, without this change we get the following:
    
        CMake Warning at cmake/Modules/CompilerRTUtils.cmake:281 (message):
          LLVM_CONFIG_PATH is deprecated, please use LLVM_CMAKE_DIR instead
        Call Stack (most recent call first):
          CMakeLists.txt:87 (load_llvm_config)
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 29, 2023
    Copy the full SHA
    267a0d1 View commit details
    Browse the repository at this point in the history
  3. Switch python version check to 3.8

    python3.6 is not the one used later in the script, it's 3.8.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 29, 2023
    Copy the full SHA
    fa2f7cb View commit details
    Browse the repository at this point in the history
  4. Switch the builtins cmake invocation to use a cache file

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 29, 2023
    Copy the full SHA
    2b81dcb View commit details
    Browse the repository at this point in the history
  5. Define LLVM_TARGET_TRIPLE

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 29, 2023
    Copy the full SHA
    59c65b3 View commit details
    Browse the repository at this point in the history
  6. Add cross builds to support more host OS/arches

    Disabled for now: these seem to work when tested but don't when
    built within the `docker build`.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 29, 2023
    Copy the full SHA
    029a545 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Update QEMU to 8.1.0

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 30, 2023
    Copy the full SHA
    5a08e99 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Add additional compiler-rt build options to disabled

    When building builtins, at that early stage we don't want to
    attempt other items in compiler-rt.  Explicitly opt-out of those
    builds for the builtins.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 31, 2023
    Copy the full SHA
    2b7a090 View commit details
    Browse the repository at this point in the history
  2. Disable sanitizer builds

    While building libclang_rt.ubsan_standalone-hexagon.so (and possibly others),
    we see assertions like the one shown below:
    
        ld.lld: .../llvm-project/lld/ELF/Symbols.h:336: void lld::elf::Symbol::allocateAux(): Assertion `auxIdx == 0' failed.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Aug 31, 2023
    Copy the full SHA
    964c86f View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Update to LLVM 17.0.0-rc3

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 1, 2023
    Copy the full SHA
    299b131 View commit details
    Browse the repository at this point in the history
  2. Add python3.8-venv to build container

    Add the python3.8-venv package to avoid the error message below:
    
        It's normally part of the Python standard library, maybe your distribution packages it separately?
        (Debian puts ensurepip in its python3-venv package.)
        Either install ensurepip, or alleviate the need for it in the first place by installing pip and setuptools for '/usr/bin/python3.8'.
        ERROR: python venv creation failed
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 1, 2023
    Copy the full SHA
    618f482 View commit details
    Browse the repository at this point in the history
  3. Revert "Update QEMU to 8.1.0"

    8.1.0 includes c42e77a90d9244c8caf76fe0e54f84200430a4e1 which removed
    a fallback for MAP_FIXED_NOREPLACE, this causes the QEMU build to fail.
    We will need to explore updating to a newer glibc or some kind of
    workaround.
    
    This reverts commit 5a08e99.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 1, 2023
    Copy the full SHA
    a395465 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Revert "Revert "Update QEMU to 8.1.0""

    This reverts commit a395465.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 6, 2023
    Copy the full SHA
    a572ee3 View commit details
    Browse the repository at this point in the history
  2. Update to Ubuntu 20.04

    We have been living on borrowed time -- QEMU has for some time
    required Ubuntu 20.04 to build and recently has made changes that prevent
    QEMU from building on the glibc from Ubuntu 18.04.   The ubuntu-based
    toolchain built by this repo will depend on 20.04.
    
    Update to 20.04 and make corresponding changes to the docker config
    to support differences between 18.04 and 20.04.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 6, 2023
    Copy the full SHA
    3a05502 View commit details
    Browse the repository at this point in the history
  3. Update linux kernel to 6.4.13

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 6, 2023
    Copy the full SHA
    bf0b52c View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Create an example for usage in the README

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Sep 27, 2023
    Copy the full SHA
    0881cd6 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Limit the depth of the git log used for manifest

    `git log` could end up generating an unnecessarily long manifest output.
    It was chosen to avoid some pitfalls with unnecessarily long `git show`
    output with the CPython repo.  This seems like a reasonable solution.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Nov 7, 2023
    Copy the full SHA
    cae0d32 View commit details
    Browse the repository at this point in the history
  2. Add symlinks for "hexagon-unknown-none-elf" target

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Nov 7, 2023
    Copy the full SHA
    7f5ae09 View commit details
    Browse the repository at this point in the history
  3. Remove redundant calls to wait

    Suggested-by: Rob Landley <rob@landley.net>
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Nov 7, 2023
    Copy the full SHA
    d41289d View commit details
    Browse the repository at this point in the history
  4. Build using python-is-python3

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Nov 7, 2023
    Copy the full SHA
    f448012 View commit details
    Browse the repository at this point in the history
  5. Switch QEMU to use quic/qemu and include sysemu

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Nov 7, 2023
    Copy the full SHA
    8a8923b View commit details
    Browse the repository at this point in the history
  6. Enable ccache for local/non-docker builds

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Nov 7, 2023
    Copy the full SHA
    22dd6de View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. Update to llvm 17.0.6 release

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 2, 2023
    Copy the full SHA
    2cbff47 View commit details
    Browse the repository at this point in the history
  2. Update to quic/qemu 2 December tag

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 2, 2023
    Copy the full SHA
    dd0d74b View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Add kernel build to rootfs

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 6, 2023
    Copy the full SHA
    48f7bf6 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Move cross-compiler variables to different cache file

    The default sysroot and symlinks are appropriate for building
    cross compilers targeting hexagon but not native ones, so we
    can move just this part out to a separate cache file.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 7, 2023
    Copy the full SHA
    22c6985 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Update to quic/qemu 12 December tag

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 13, 2023
    Copy the full SHA
    c7204f3 View commit details
    Browse the repository at this point in the history
  2. Add canadian build

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 13, 2023
    Copy the full SHA
    58f9c49 View commit details
    Browse the repository at this point in the history
  3. Correct the kernel install location

    The kernel install location used by 48f7bf6
    was incorrect.
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 13, 2023
    Copy the full SHA
    2b499cc View commit details
    Browse the repository at this point in the history
  4. Re-disable canadian toolchain build

    The build completes successfully, but running a simple test fails:
    
        $ ./clang+llvm-12.Dec.2023-cross-hexagon-unknown-linux-musl/x86_64-linux-gnu/bin/qemu-hexagon -L ./clang+llvm-12.Dec.2023-cross-hexagon-unknown-linux-musl/x86_64-linux-gnu/target/hexagon-unknown-linux-musl/usr/ hexagon-unknown-linux-musl-rootfs/bin/clang++ -o try_native try.cpp
        Assertion failed: PrettyStackTraceHead == this && "Pretty stack trace entry destruction is out of order" (/root/hexagon-toolchain/llvm-project/llvm/lib/Support/PrettyStackTrace.cpp: ~PrettyStackTraceEntry: 229)
        PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
        Stack dump:
        Segmentation fault
    
    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 13, 2023
    Copy the full SHA
    f870cd0 View commit details
    Browse the repository at this point in the history
  5. Switch LLVM commit to Dec 12 trunk

    Signed-off-by: Brian Cain <bcain@quicinc.com>
    androm3da committed Dec 13, 2023
    Copy the full SHA
    1d4fe90 View commit details
    Browse the repository at this point in the history