public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Eric Gallager <egallager@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/egallager/heads/CI)] Update linux.yaml Date: Sun, 15 Oct 2023 20:04:29 +0000 (GMT) [thread overview] Message-ID: <20231015200429.22FBD3858D32@sourceware.org> (raw) https://gcc.gnu.org/g:122eaa04f051d841767e95fe743d0361c5fae122 commit 122eaa04f051d841767e95fe743d0361c5fae122 Author: Eric Gallager <egallager@gcc.gnu.org> Date: Sun Oct 15 16:04:07 2023 -0400 Update linux.yaml latest error was: "/usr/bin/x86_64-linux-gnu-ld: cannot find crti.o: No such file or directory" Diff: --- .github/workflows/linux.yaml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 3d58919e58f..7b9d9741782 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -36,7 +36,7 @@ jobs: - name: Install dependencies run: | sudo apt-get -qq update - sudo apt install -y gcc-multilib build-essential flex zlib1g-dev gnat gdc expect dejagnu libc-devtools texlive findutils + sudo apt install -y gcc-multilib build-essential flex zlib1g-dev gnat gdc expect dejagnu libc-dev libc-devtools texlive findutils - name: Install dependencies for aarch64 if: success() && contains(matrix.target, 'aarch64') @@ -93,10 +93,8 @@ jobs: --disable-vtable-verify \ --with-system-zlib \ --with-target-system-zlib=auto \ - --disable-multiarch \ --disable-bootstrap \ --disable-werror \ - --disable-multilib \ --with-tune=generic \ --without-cuda-driver \ --enable-checking=release \ @@ -105,12 +103,6 @@ jobs: --host=x86_64-linux-gnu \ --target=x86_64-linux-gnu - - name: Make docs (pre-build) - if: success() - run: | - cd ../build - echo "make html" && (time make html-fixincludes) && echo "html done" - - name: Make if: success() run: | @@ -118,18 +110,25 @@ jobs: if test -x "$(which nproc)"; then echo "nproc says that we can use $(nproc) build jobs"; else echo "error: missing nproc!" >&2 && exit 1; fi time (make -j"$(nproc)" | tee build.log) + - name: Debug failure + if: failure() + run: | + if test -r build.log; then grep -i "error:" build.log; \ + elif test -r ../build/build.log; then grep -i "error:" ../build/build.log; \ + else \ + sudo apt install remake; \ + cd ../build; \ + remake -dpPw --trace=full; \ + fi + - name: Make docs (post-build) if: success() run: | cd ../build echo "make info" && (time make info) && find . -name "*.info" -print echo "make dvi" && (time make dvi) && find . -name "*.dvi" -print - echo "make pdf" && (time make pdf) && echo "pdfs done" - - - name: Debug failure - if: failure() - run: | - if test -r build.log; then grep -i "error:" build.log; elif test -r ../build/build.log; then grep -i "error:" ../build/build.log; fi + echo "make pdf" && (time make pdf) && find . -name "*.pdf" -print + echo "make html" && (time make html) && find . -name "*.html" -print - name: Make install (plus docs) if: success()
next reply other threads:[~2023-10-15 20:04 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-15 20:04 Eric Gallager [this message] -- strict thread matches above, loose matches on Subject: below -- 2023-10-28 17:48 Eric Gallager 2023-10-17 0:19 Eric Gallager 2023-10-16 22:50 Eric Gallager 2023-10-16 21:55 Eric Gallager 2023-10-16 21:55 Eric Gallager 2023-10-16 21:03 Eric Gallager 2023-10-16 8:50 Eric Gallager 2023-10-16 8:31 Eric Gallager 2023-10-16 8:27 Eric Gallager 2023-10-16 5:29 Eric Gallager 2023-10-16 3:57 Eric Gallager 2023-10-16 2:23 Eric Gallager 2023-10-15 19:35 Eric Gallager 2023-10-15 18:51 Eric Gallager 2023-10-15 11:03 Eric Gallager 2023-10-15 10:38 Eric Gallager 2023-10-15 9:35 Eric Gallager 2023-10-15 9:23 Eric Gallager 2023-10-15 9:16 Eric Gallager 2023-10-15 9:09 Eric Gallager 2023-10-15 9:09 Eric Gallager
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231015200429.22FBD3858D32@sourceware.org \ --to=egallager@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).