<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/110374>110374</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            firefox fails to build with ICE in src/gl.cc with clang-19 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          stefson
      </td>
    </tr>
</table>

<pre>
    from the build log, I think this is the error: 

```
179:48.20   cargo:warning=fatal error: error in backend: Do not know how to scalarize the result of this operator!
179:48.20 cargo:warning=
179:48.21   cargo:warning=PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
179:48.22 cargo:warning=Stack dump:
179:48.33   cargo:warning=0.    Program arguments: /usr/lib/llvm/19/bin/armv7a-unknown-linux-musleabihf-clang++-19 -O2 -ffunction-sections -fdata-sections -fPIC --target=armv7a-unknown-linux-musleabihf -I/var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox_build/dist/stl_wrappers -fvisibility=hidden -fvisibility-inlines-hidden -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -I/var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox_build/dist/include/nss -I/usr/include/libpng16 -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox_build/mozilla-config.h -mfloat-abi=hard -fno-rtti -pthread -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -fPIC -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fomit-frame-pointer -O2 -fomit-frame-pointer -funwind-tables -Wno-error=tautological-type-limit-compare -Wno-invalid-offsetof -Wno-range-loop-analysis -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-this-capture -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wno-psabi -Wno-error=builtin-macro-redefined -Wno-vla-cxx-extension -Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=off -DMOZILLA_CONFIG_H -I /var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox-131.0/gfx/wr/swgl/../webrender/res -I src -I /var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox_build/armv7a-unknown-linux-musleabihf/release/build/swgl-3e66616cdca95a28/out -std=c++17 -fno-exceptions -fno-rtti -fno-math-errno -UMOZILLA_CONFIG_H -ffast-math -mrecip=none -fno-finite-math-only -D_GLIBCXX_USE_CXX11_ABI=0 -o /var/tmp/portage/www-client/firefox-131.0_rc1/work/firefox_build/armv7a-unknown-linux-musleabihf/release/build/swgl-3e66616cdca95a28/out/2e40c9e35e9506f4-gl.o -c src/gl.cc
179:48.33   cargo:warning=1.    <eof> parser at end of file
179:48.33   cargo:warning=2.    Code generation
179:48.34 cargo:warning=3.      Running pass 'Function Pass Manager' on module 'src/gl.cc'.
179:48.35   cargo:warning=4.    Running pass 'ARM Instruction Selection' on function '@_ZN25cs_blur_ALPHA_TARGET_frag15swgl_drawSpanR8Ev'
179:48.36 cargo:warning=armv7a-unknown-linux-musleabihf-clang++-19: error: clang frontend command failed with exit code 70 (use -v to see invocation)
179:48.36   cargo:warning=clang version 19.1.0
179:48.36 cargo:warning=Target: armv7a-unknown-linux-musleabihf
179:48.37 cargo:warning=Thread model: posix
179:48.37   cargo:warning=InstalledDir: /usr/lib/llvm/19/bin
179:48.38   cargo:warning=Configuration file: /etc/clang/armv7a-unknown-linux-musleabihf-clang++.cfg
179:48.38 cargo:warning=armv7a-unknown-linux-musleabihf-clang++-19: note: diagnostic msg:
179:48.39   cargo:warning=********************
179:48.39 cargo:warning=
179:48.40   cargo:warning=PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
179:48.40   cargo:warning=Preprocessed source(s) and associated run script(s) are located at:
179:48.41 cargo:warning=armv7a-unknown-linux-musleabihf-clang++-19: note: diagnostic msg: /var/tmp/portage/www-client/firefox-131.0_rc1/temp/gl-a0fb08.cpp
179:48.42 cargo:warning=armv7a-unknown-linux-musleabihf-clang++-19: note: diagnostic msg: /var/tmp/portage/www-client/firefox-131.0_rc1/temp/gl-a0fb08.sh
179:48.42 cargo:warning=armv7a-unknown-linux-musleabihf-clang++-19: note: diagnostic msg:
179:48.43   cargo:warning=
179:48.43 cargo:warning=********************
179:48.43   --- stderr
```

here is the full compressed build log: [build.log.gz](https://github.com/user-attachments/files/17175559/build.log.gz)

and here is the preprocessed sources, and the reproducer: [preprocess.tar.gz](https://github.com/user-attachments/files/17175585/preprocess.tar.gz)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMWF9v2zrP_zTqjaDAlvP3IhdpE3cBurVoU5y95yagZdrRO1kyJDlp9-kfyE7WLvXOes6zPThA4UYSSf0okiJFcE6WGnFORpdktLyAxu-MnTuPhTP6IjP587ywpqJ-hzRrpMqpMiXhV3RN_U7qL-HrqHQtAVprLEkWlERLEi2O33F0_GuH8WRGksVwOuARpVSALQ1JFgewWuqSJMsCPKgXSe0PKjXNQHxBnYe5paHaePpFmwPdmQP1hjoBCqz8ii0Oi65RnpqiQ2dqtOCNJTx-i-EtgnOauBfn3c1q8bCirskq6SnQrCmpxdpYH_DsvK8dSRaEp4SnpfS7JhsIUxGeKrU__WO1Nf-PwhOeSucadISnFHROpRaqyTtlhAW3a9X3FgSGs68t1tYIdA5z6kxju-nACc4ZIcFjTm2jqRNW1n5wrhLvUejBg_hC86aqA-7vGZKk9wyiAYlmd9aUFioKtmwq1N61DsDTxtmgpsxedI5nhKeZ1ISnYKv9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