https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118438

            Bug ID: 118438
           Summary: [15 Regression] libgphobos fails to build on
                    s390x-linux-gnu
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20250112 on s390x-linux-gnu. works with 20250101 trunk:

/bin/bash ../libtool --tag=D   --mode=compile /<<PKGBUILDDIR>>/build/./gcc/gdc
-B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/s390x-linux-gnu/bin/
-B/usr/s390x-linux-gnu/lib/ -isystem /usr/s390x-linux-gnu/include -isystem
/usr/s390x-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include  
-fchecking=1 -prefer-pic -fversion=Shared -Wall  -frelease  
-ffunction-sections -fdata-sections  -O2 -g  -fpreview=dip1000
-fpreview=dtorfields -fpreview=fieldwise -nostdinc -I
../../../../src/libphobos/src -I ../../../../src/libphobos/libdruntime -I
../libdruntime -I . -c -o std/package.lo
../../../../src/libphobos/src/std/package.d
libtool: compile:  /<<PKGBUILDDIR>>/build/./gcc/gdc
-B/<<PKGBUILDDIR>>/build/./gcc/ -B/usr/s390x-linux-gnu/bin/
-B/usr/s390x-linux-gnu/lib/ -isystem /usr/s390x-linux-gnu/include -isystem
/usr/s390x-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include
-fchecking=1 -fversion=Shared -Wall -frelease -ffunction-sections
-fdata-sections -O2 -g -fpreview=dip1000 -fpreview=dtorfields
-fpreview=fieldwise -nostdinc -I ../../../../src/libphobos/src -I
../../../../src/libphobos/libdruntime -I ../libdruntime -I . -c
../../../../src/libphobos/src/std/package.d  -fPIC -fversion=Shared -o
std/.libs/package.o
/<<PKGBUILDDIR>>/src/libphobos/src/std/socket.d:2613:28: error: undefined
identifier 'SO_REUSEPORT'
 2613 |     REUSEPORT =            SO_REUSEPORT,
      |                            ^
config.status: creating src/c++20/Makefile
make[7]: *** [Makefile:1289: std/package.lo] Error 1

Reply via email to