Hi,
When trying to build latest syzkaller on RHEL, I got failure like
```
Native cross-compiler is missing/broken:
/usr/bin/ld: cannot find -lstdc++: No such file or directory collect2: error: ld returned 1 exit status
```
But I have libstdc++ installed, e.g.
```
# ldconfig -p | grep libstdc++
libstdc++.so.6 (libc6,x86-64) => /lib64/libstdc++.so.6
# echo 'int main() {}' | g++ -x c++ - -o /dev/null -lstdc++
# echo $?
0
# which gcc g++
/usr/bin/gcc
/usr/bin/g++
# go version
go version go1.24.1 linux/amd64
# g++ --version
g++ (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/14/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=
http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --without-isl --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_64=x86-64-v3 --with-arch_32=x86-64 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 --enable-host-pie --enable-host-bind-now
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20250110 (Red Hat 14.2.1-7) (GCC)
```
Could some one help check this issue? Thanks a lot!
Here is the build log
```
************************************************************************************
```
Regards
Hangbin