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

    <tr>
        <th>Summary</th>
        <td>
            [compiler-rt]  error: invalid application of 'sizeof' to an incomplete type 'struct termio'   498 | unsigned struct_termio
        </td>
    </tr>

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

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

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

<pre>
    ```cpp
[3/853] Building CXX object lib/sanitizer_common/CMakeFile...zerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o
FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o
/home/cqwrteur/toolchains/llvm/x86_64-linux-gnu/llvm/bin/clang++ --target=x86_64-linux-gnu --sysroot=/home/cqwrteur/toolchains/llvm/x86_64-linux-gnu/x86_64-linux-gnu -DHAVE_RPC_XDR_H=0 -I/home/cqwrteur/toolchains_build/llvm-project/compiler-rt/lib/sanitizer_common/.. -fuse-ld=lld -fuse-lipo=llvm-lipo -flto=thin -Wno-unused-command-line-argument -rtlib=compiler-rt  --unwindlib=libunwind -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -flto=thin -fPIC -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -Wno-format -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /home/cqwrteur/toolchains_build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
/home/cqwrteur/toolchains_build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:498:31: error: invalid application of 'sizeof' to an incomplete type 'struct termio'
  498 |   unsigned struct_termio_sz = sizeof(struct termio);
 |                               ^ ~~~~~~~~~~~~~~~
/home/cqwrteur/toolchains_build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:498:45: note: forward declaration of '__sanitizer::termio'
  498 |   unsigned struct_termio_sz = sizeof(struct termio);
      | ^
1 error generated.
```

what is going on?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMVk2P2zYT_jX0ZUBBEi3LPvhgW6s3Ad5tgzTt5mZQ0khmQ5EqOfJ-HPrbC0rebLJpmwBBFhUMix8zzzN8hqRGeq86g7hl2Z5lxUKOdLJuS652XjlsFpVt7rdsFc-_ehhYvGPZXrC0XGeCZQXsR6UbZTo4vH8PtvodawKtKpaWXhpF6gHdsbZ9bw1Ly8O1_ICl0hhF0QO6wzQe3a1Xx9UyapT7zGvQklrr-qNWvSJ_HKxXd1E9DJFl8a7cvf7_VcHE7hvYPEvLt-9-ebT4HlqWlifbI0vL-o9bRzgGZ7JW1yepTCDS-tyztJzRuVZmvOOdGZ9mKhWCq7U0HUv3LN0D5yRdh8RE8dwNOPf33lkbJr-H_Evg4tXut6vj2zeH4_vi7fEVE0UM_PVXOI5VyPeFiQ_OhoQHY9sPSqPjLvT-MSVRBLwdPXLdMFFo3Tx21WCngXM_tYG3msIInZQBfmMsH83oseEBSpomLAS5dN3YoyHgjgKnKD6JA4Dz0dwq08xTWlVzF_iN1Poz1EE62SOhA_6zAF78VFztf_0fcE8hznrOU5I_C6t98_rw8d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