Skip to content

Conversation

DavidKorczynski
Copy link
Collaborator

No description provided.

Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

/gcbrun trial_build.py all --fuzzing-engines libfuzzer --sanitizers address

1 similar comment
@DavidKorczynski
Copy link
Collaborator Author

/gcbrun trial_build.py all --fuzzing-engines libfuzzer --sanitizers address

Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

/gcbrun trial_build.py all --fuzzing-engines libfuzzer --sanitizers address

Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

first batch of logs: here

Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

/gcbrun trial_build.py all --fuzzing-engines libfuzzer --sanitizers address

@DavidKorczynski
Copy link
Collaborator Author

Failed builds: 86/993 Failed builds: 86/993, {'arrow': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-5359a246-ce6c-4bff-8355-3accac290e88.txt', 'assimp': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-bec9e0ef-d3ac-4e90-861a-5b6c69385a63.txt', 'astc-encoder': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-ad06f9aa-d8f8-40db-a10f-62667857f039.txt', 'bluez': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-2014ddcb-6198-4a4b-bfe9-3bf49667b044.txt', 'brunsli': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-dfc59707-36e3-41a3-a6de-72352179819e.txt', 'cairo': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-650b40a6-c071-40ab-8c7f-0c58b5378608.txt', 'cmake': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-06e4e4ae-1821-4be1-aea1-f1c2b3a8feb8.txt', 'cpuinfo': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-bb3d3410-72e5-439c-8393-590796e1d57d.txt', 'cxxopts': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-b6c8de01-1e69-4c53-a160-7b261fe41f41.txt', 'dav1d': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-b1a52450-8e77-4da7-8146-cfe5b72b7ecc.txt', 'easywsclient': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-13477027-9000-4cdf-976d-34991ba2fcc9.txt', 'ffmpeg': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-dcc6326c-d1e5-44d6-abf0-7a6960039272.txt', 'firestore': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-cbb1a575-1df0-404b-8047-c3d3a1f58496.txt', 'freetype2': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-953ede40-f298-4bf1-b764-5374e8ece12f.txt', 'fwupd': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-063caab7-e30c-4a23-bd04-84ad47879ca1.txt', 'gdk-pixbuf': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-37f0e50f-6555-41cf-8ade-d11a6d64c4aa.txt', 'glib': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-3101b326-b618-4cd0-bf99-01b47135df5a.txt', 'graphicsmagick': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-ae726c2f-00a6-4a9c-a35c-7833647fecac.txt', 'grpc-httpjson-transcoding': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-9ed4b797-4d90-4edf-83b0-a0bc9b25b989.txt', 'gstreamer': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-308867e3-b136-455c-b4e3-95f4bf595317.txt', 'irssi': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-d69bb842-627e-42aa-ba88-80a0c13ff4f9.txt', 'json-c': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-a014164f-c24e-4bf7-aa78-974791c0d77e.txt', 'jsonnet': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-577f1a3d-fb8d-4e41-8c80-d4704a8c77a4.txt', 'karchive': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-e152b875-13b0-440f-bee8-68ca870f960d.txt', 'kcodecs': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-591ea9ce-a0b6-4d51-823f-3b08fcf02f48.txt', 'keystone': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-edfeea12-dcae-4493-b5d4-fd1b847f55ad.txt', 'kimageformats': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-1f8e7b67-7ab8-46ab-9774-b5a47992a229.txt', 'kmime': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-bfe3ae85-ad6d-415f-a9f5-4a569dcd5419.txt', 'libaom': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-433e33e3-d226-427c-901c-0b951508334d.txt', 'libavc': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-4141a677-79d7-460b-b95b-49bfb6e3b5b6.txt', 'libcacard': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-18fe8283-c7c5-477b-9a04-9ca6290cc08c.txt', 'libevent': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-26c6049b-7f87-4803-a74a-d101d51253f2.txt', 'libfuse': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-3bfc2cc0-165d-4057-aaa6-32cf9b484bb9.txt', 'libgd': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-d79e17f0-9153-4d3c-a091-b6f3a3a95f3d.txt', 'libheif': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-a7fabe5e-e5d3-4a1e-8a43-1eb3eadc1e3f.txt', 'libhevc': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-83e4cbf3-e442-4b9b-95d2-6ca87aa4166f.txt', 'libjxl': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-90f86f93-83b7-4de8-bb0b-d165f889fb01.txt', 'libmicrohttpd2': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-c119937f-4885-48b7-bc5c-1f3f04e2c8e1.txt', 'libmpeg2': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-b95a8513-c368-42ae-91f4-81cd90a074a9.txt', 'libpcap': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-2f7f183a-db91-4f63-80a7-1f89c370e6ff.txt', 'libphonenumber': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-ec324025-662b-4d82-b3c0-340698aafea6.txt', 'libraw': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-e0a64631-2cf3-4484-b7eb-d567d73af8d5.txt', 'librawspeed': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-c7b1da7d-5ab2-4d7f-bb16-3cc1249ef336.txt', 'libreoffice': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-6ab8b8bf-849d-4459-b7b0-57c700d23787.txt', 'libsoup': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-8a174732-7f61-481e-a9d5-389202696290.txt', 'libultrahdr': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-8255a5c0-d0fa-45f2-a0a7-397126260791.txt', 'libusb': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-b79a0ef6-086a-46ee-8d68-c1555517a70a.txt', 'libvips': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-08a11d67-d793-4e30-b2fd-e63bd6b1dfd8.txt', 'libxaac': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-212eb1c5-8923-466c-b5af-cd434a290c47.txt', 'lxc': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-13f17721-e8ae-426a-8d1c-7db31db45b26.txt', 'lzo': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-995b813a-4112-4651-a152-1a2da0b7bd5d.txt', 'mpv': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-f669297a-6ac3-400d-bc98-4f379268b524.txt', 'mysql-server': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-936ed733-be38-4e31-9eca-75e3ec8c1f69.txt', 'nccl': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-8a6437cc-eda2-4b13-a64a-350d0f81a2d7.txt', 'ndpi': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-dcb342fa-7f2f-4332-81f5-a0f62bea0f57.txt', 'nghttp2': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-8fe24f24-98db-4faf-9404-5eeef75230e1.txt', 'nodejs': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-19408340-fd88-4ccb-aa8d-bf6aadcf2c3e.txt', 'nss': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-28def6ca-c9dd-42bf-ae97-86ab5bdedd98.txt', 'openbabel': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-def4d780-c904-4bba-9cbb-c293d46da200.txt', 'opencv': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-908b4637-5aca-42c8-b515-582f2cabbda2.txt', 'osquery': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-1cc96ad1-24a6-404b-8f14-bf360a863e6f.txt', 'pidgin': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-62b960ed-6610-4e40-afdc-029fc15d7c2d.txt', 'pillow': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-1e7aa34d-fc35-47f1-9990-86781c7a6c51.txt', 'postgresql': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-2ac5385d-3ba3-4fb7-b6c4-cc364b83b263.txt', 'qemu': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-cc62cf07-5a4c-488d-b504-69e9f4d2f8fa.txt', 'qt': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-a085742e-4474-423d-9ff5-9bdef7e15431.txt', 'rapidjson': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-e78d3ead-64e4-4b43-9738-2bd7c3978fce.txt', 'rauc': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-a3acdcca-fd8d-4290-baf3-7d77e84e3832.txt', 'rnp': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-75b1bc79-6195-4446-a49e-ce603fea6827.txt', 'rtpproxy': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-f78d1ff5-0d04-4285-bb7f-95ff494318fc.txt', 's2opc': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-ca1d904a-15b1-4cb7-a0c2-330981534f46.txt', 'samba': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-87b3cbb0-fd42-4582-b745-9a7d8130977e.txt', 'snappy': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-b3e3ba24-22f8-4190-8db4-1bcb11bda59c.txt', 'spdlog': 'https://o

Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

/gcbrun trial_build.py all --fuzzing-engines libfuzzer --sanitizers address

@DavidKorczynski DavidKorczynski changed the title infra: bump to llvm-21 infra: bump indexer to llvm-21 Aug 30, 2025
@DavidKorczynski
Copy link
Collaborator Author

Two failed builds:

 Failed builds: 2/993, {'gdbm': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-05d38aeb-017c-456d-a233-76f8fb4eb6a7.txt', 'imagemagick': 'https://oss-fuzz-gcb-logs.storage.googleapis.com/log-41e45003-6f03-43dc-ba58-4faf610c101d.txt'}
 

These are unrelated to this PR.

This is good to go.

Copy link
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as a temporary measure, thanks!


cd clang
if [[ -n "$FULL_LLVM_BUILD" ]]; then
OUR_CLANG_REVISION=329189001bce28e8f90dfa1c96075731a7a8f7de
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason in particular for this revision?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it was HEAD when doing the work so went for that

@oliverchang oliverchang merged commit f816e66 into master Aug 31, 2025
18 of 19 checks passed
@oliverchang oliverchang deleted the bump-to-llvm21 branch August 31, 2025 23:29
oliverchang added a commit that referenced this pull request Sep 1, 2025
oliverchang added a commit that referenced this pull request Sep 1, 2025
Reverts #13848

Unfortunately, this breaks the indexer for many projects that are still
building on clang 18 with errors like:

```
Step #23: fatal error: too many errors emitted, stopping now [-ferror-limit=]
Step #23:       |                                         ^~~~~~~~~~~~
Step #23:   422 |     return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:422:41: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type '__v8qi' (vector of 8 'char' values)
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~~
Step #23:   422 |     return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:422:19: error: use of undeclared identifier '__builtin_ia32_paddsb'; did you mean '__builtin_ia32_kaddsi'?
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~
Step #23:   400 |     return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:400:19: error: use of undeclared identifier '__builtin_ia32_paddd'
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~
Step #23:   379 |     return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:379:19: error: use of undeclared identifier '__builtin_ia32_paddw'
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~
Step #23:   358 |     return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:358:19: error: use of undeclared identifier '__builtin_ia32_paddb'
```
AdamKorcz pushed a commit that referenced this pull request Sep 2, 2025
Addressing projects that have errors like the following:

```sh
Step #23 - "compile-libfuzzer-address-x86_64": �[1m/usr/local/lib/clang/21/include/fuzzer/FuzzedDataProvider.h:206:22: �[0m�[0;1;31merror: �[0m�[1mno template named 'is_integral_v' in namespace 'std'; did you mean 'is_integral'?�[0m
Step #23 - "compile-libfuzzer-address-x86_64":   206 |   �[0;34mstatic_assert�[0m(std::is_integral_v<T>, �[0;32m"An integral type is required."�[0m);�[0m
Step #23 - "compile-libfuzzer-address-x86_64":       | �[0;1;32m                ~~~~~^
Step #23 - "compile-libfuzzer-address-x86_64": �[0m�[1m/usr/local/bin/../include/c++/v1/__type_traits/is_integral.h:25:35: �[0m�[0;1;36mnote: �[0m'is_integral' declared here�[0m
Step #23 - "compile-libfuzzer-address-x86_64":    25 | �[0;34mstruct�[0m _LIBCPP_NO_SPECIALIZATIONS is_integral : _BoolConstant<�[0;34m__is_integral�[0m(_Tp)> {};�[0m
Step #23 - "compile-libfuzzer-address-x86_64":       | �[0;1;32m                                  ^
Step #23 - "compile-libfuzzer-address-x86_64": �[0mIn file included from /src/buffer_fuzzer.cc:19:
Step #23 - "compile-libfuzzer-address-x86_64": �[1m/usr/local/lib/clang/21/include/fuzzer/FuzzedDataProvider.h:206:38: �[0m�[0;1;31merror: �[0m�[1mexpected '(' for function-style cast or type construction�[0m
Step #23 - "compile-libfuzzer-address-x86_64":   206 |   �[0;34mstatic_assert�[0m(std::is_integral_v<T>, �[0;32m"An integral type is required."�[0m);�[0m
Step #23 - "compile-libfuzzer-address-x86_64":       | �[0;1;32m                ~~~~~~~~~~~~~~~~~~~~~^
Step #23 - "compile-libfuzzer-address-x86_64": �[0m�[1m/usr/local/lib/clang/21/include/fuzzer/FuzzedDataProvider.h:274:22: �[0m�[0;1;31merror: �[0m�[1mno template named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'?�[0m
Step #23 - "compile-libfuzzer-address-x86_64":   274 |   �[0;34mstatic_assert�[0m(std::is_floating_point_v<T>,�[0m
```

From
#13848 (comment)

Ref #13915

---------

Signed-off-by: David Korczynski <david@adalogics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants