https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118448
Bug ID: 118448
Summary: [15 regression] libdruntime lacks Solaris SO_REUSEPORT
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: *-*-solaris2.11
Between 20250111 (292be6817150ed11d599b6ac92269041ed62eb3a) and 20250112
(4b29be7216daa5921aae340388ef6416b1631f0a),
the libphobos build broke on Solaris:
/vol/gcc/src/hg/master/local/libphobos/src/std/socket.d:2613:28: error:
undefined identifier ‘SO_REUSEPORT’
2613 | REUSEPORT = SO_REUSEPORT,
| ^
One of the revisions in between introduced a use of SO_REUSEPORT without
adding a Solaris definition.
The attached patch fixes that.