Closed Bug 1751817 Opened 3 years ago Closed 3 years ago

Permafailing [clang-trunk] AssertionError assert r == 0 after 1 out of 1 hunk FAILED -- saving rejects to file clang/lib/Driver/ToolChains/Linux.cpp.rej

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: mlaza, Assigned: glandium)

Details

Attachments

(1 file)

Jobs: https://treeherder.mozilla.org/jobs?repo=mozilla-central&group_state=expanded&selectedTaskRun=NR6RDt3uSE2HLJ68e-HrLw.0&fromchange=9b23d1bb84b2499b94d91c5f588fc93a54e5bdcc&searchStr=toolchains%2Copt%2Ctoolchain%2Cbuilds%2Cfor%2Clinux%2C64-bits%2Ctoolchain-linux64-clang-trunk%2Cclang-trunk

Failure Log: https://treeherder.mozilla.org/logviewer?job_id=365305814&repo=mozilla-central

[task 2022-01-25T02:15:57.871Z] cd $MOZ_FETCHES_DIR/llvm-project
[task 2022-01-25T02:15:57.871Z] python3 $GECKO_PATH/build/build-clang/build-clang.py $CONFIGS
[task 2022-01-25T02:15:57.908Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/static-llvm-symbolizer_clang_12.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.909Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/compiler-rt-cross-compile.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.911Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/find_symbolizer_linux_clang_10.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.912Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/android-mangling-error_clang_12.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.914Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/unpoison-thread-stacks_clang_10.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.915Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/downgrade-mangling-error_clang_12.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.917Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/bug47258-extract-symbols-mbcs.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.919Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/Remove-FlushViewOfFile-when-unmaping-gcda-files.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.920Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/loosen-msvc-detection.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.921Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/fuzzing_ccov_build_clang_12.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.927Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/compiler-rt-13-no-codesign.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.929Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/revert-llvmorg-14-init-3652-gf3c2094d8c11.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.932Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/revert-llvmorg-14-init-3651-g85ba583eba19.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.937Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/revert-llvmorg-14-init-3650-g50d7ecc560b2.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.953Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/revert-llvmorg-13-init-8182-gc2297544c047.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.986Z] patch -d /builds/worker/fetches/llvm-project -p1 -i /builds/worker/workspace/build/src/build/build-clang/revert-llvmorg-13-init-4019-ga478b0a199f4.patch --fuzz=0 -s
[task 2022-01-25T02:15:57.987Z] 1 out of 1 hunk FAILED -- saving rejects to file clang/lib/Driver/ToolChains/Linux.cpp.rej
[task 2022-01-25T02:15:57.987Z] 1 out of 1 hunk FAILED -- saving rejects to file clang/lib/Driver/ToolChains/Linux.h.rej
[task 2022-01-25T02:15:57.989Z] Traceback (most recent call last):
[task 2022-01-25T02:15:57.989Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 785, in <module>
[task 2022-01-25T02:15:57.989Z]     patch(p, source_dir)
[task 2022-01-25T02:15:57.989Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 96, in patch
[task 2022-01-25T02:15:57.989Z]     check_run(["patch", "-d", srcdir, "-p1", "-i", patch, "--fuzz=0", "-s"])
[task 2022-01-25T02:15:57.989Z]   File "/builds/worker/workspace/build/src/build/build-clang/build-clang.py", line 74, in check_run
[task 2022-01-25T02:15:57.989Z]     assert r == 0
[task 2022-01-25T02:15:57.989Z] AssertionError
[taskcluster 2022-01-25 02:16:02.844Z] === Task Finished ===
[taskcluster 2022-01-25 02:16:02.937Z] Artifact "public/build" not found at "/builds/worker/artifacts/"
[taskcluster 2022-01-25 02:16:02.992Z] Unsuccessful task run with exit code: 1 completed in 233.053 seconds

Hi Martin, can this be regressed by Bug 1750663?

Flags: needinfo?(stransky)
Assignee: nobody → mh+mozilla
Flags: needinfo?(stransky)

Instead of forcing it via a patch to clang itself (which now conflicts
with other changes on clang trunk, although the conflict is benign).

Because of https://github.com/llvm/llvm-project/issues/53397 we need to
narrow down the warnings that trigger errors in the check for
pthread_cond_timedwait_monotonic_np.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/20ecdb29c3ca Pass --rtlib=libgcc to clang when building for Android. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: