gcc-15-20240804 is now available

2024-08-04 Thread GCC Administrator via Gcc
Snapshot gcc-15-20240804 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/15-20240804/
and on various mirrors, see https://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 15 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch master 
revision cfeb994d64743691d4a787f8eef7ce52d8711756

You'll find:

 gcc-15-20240804.tar.xz   Complete GCC

  SHA256=33753086290136932ce01b6e7a1908ac00111fc46b1fb81dd3d58f1c5613a976
  SHA1=7999bc78af82acdb32be3be657767c4b4d3e951d

Diffs from 15-20240728 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-15
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


Why does gcc build try to link lpthreads and ldl for x86_64-w64-mingw32 host?

2024-08-04 Thread pifminns deettnta via Gcc

Build x86_64-pc-linux-gnu
Host x86_64-w64-mingw32
Target x86_64-generic-linux-gnu

x86_64-w64-mingw32-g++ -no-pie   -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti 
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings  -DHAVE_CONFIG_H -no-pie -static-libstdc++ 
-static-libgcc -Wl,--stack,12582912 gcov.o json.o \
  hash-table.o ggc-none.o libcommon.a ../libcpp/libcpp.a   
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a 
../libdecnumber/libdecnumber.a  -ldl -lpthread -L./../zlib -lz -o gcov.exe
/home/toolchains/x86_64-generic-linux-gnu/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/15.0.0/../../../../x86_64-w64-mingw32/bin/ld:
 cannot find -ldl: No such file or directory
/home/toolchains/x86_64-generic-linux-gnu/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/15.0.0/../../../../x86_64-w64-mingw32/bin/ld:
 cannot find -lpthread: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3293: gcov.exe] Error 1
make[2]: *** Waiting for unfinished jobs