Repository: node
Issue: Build: `--fully-static` is broken with 23.5.0
Labels: build

### Version

23.5.0

### Platform

```text
Running docker amd64 on AWS Fargate
```

### Subsystem

_No response_

### What steps will reproduce the bug?

```bash
./configure --fully-static --enable-static
make "-j4"
```


### How often does it reproduce? Is there a required condition?

No, it just fails for that version, other versions are still fine.


### What is the expected behavior? Why is that the expected behavior?

It should successfully build a node binary.

### What do you see instead?

```bash
... lines before
In member function 'icu_76::Calendar& icu_76::Calendar::operator=(const icu_76::Calendar&)',
    inlined from 'icu_76::Calendar& icu_76::Calendar::operator=(const icu_76::Calendar&)' at ../deps/icu-small/source/i18n/calendar.cpp:805:1:
../deps/icu-small/source/common/cstring.h:43:70: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 156 bytes from a string of length 156 [-Wstringop-truncation]
   43 | #define uprv_strncpy(dst, src, size) U_STANDARD_CPP_NAMESPACE strncpy(dst, src, size)
../deps/icu-small/source/i18n/calendar.cpp:832:9: note: in expansion of macro 'uprv_strncpy'
  832 |         uprv_strncpy(actualLocale, right.actualLocale, sizeof(actualLocale));
      |         ^~~~~~~~~~~~
../deps/icu-small/source/i18n/decNumber.cpp: In function 'decNumber* uprv_decNumberLog10_76(decNumber*, const decNumber*, decContext*)':
../deps/icu-small/source/i18n/decNumber.cpp:1528:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1528 |     w->lsu[1]=1; w->lsu[0]=0;           /* ..  */
      |     ~~~~~~~~~^~
In file included from ../deps/icu-small/source/i18n/decNumber.cpp:184:
../deps/icu-small/source/i18n/decNumber.h:89:19: note: at offset 1 into destination object 'decNumber::lsu' of size 1
   89 |     decNumberUnit lsu[DECNUMUNITS];
      |                   ^~~
../deps/icu-small/source/i18n/decNumber.cpp:1528:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1528 |     w->lsu[1]=1; w->lsu[0]=0;           /* ..  */
      |     ~~~~~~~~~^~
../deps/icu-small/source/i18n/decNumber.h:89:19: note: at offset 1 into destination object 'decNumber::lsu' of size 1
   89 |     decNumberUnit lsu[DECNUMUNITS];
      |                   ^~~
ar crsT /build/node/out/Release/obj.target/deps/openssl/libopenssl.a @/build/node/out/Release/obj.target/deps/openssl/libopenssl.a.ar-file-list
../deps/icu-small/source/i18n/decNumber.cpp: In function 'decNumber* uprv_decNumberSquareRoot_76(decNumber*, const decNumber*, decContext*)':
../deps/icu-small/source/i18n/decNumber.cpp:2974:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 2974 |         t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2;
      |                      ~~~~~~~~~^~
../deps/icu-small/source/i18n/decNumber.h:89:19: note: at offset 1 into destination object 'decNumber::lsu' of size 1
   89 |     decNumberUnit lsu[DECNUMUNITS];
      |                   ^~~
../deps/icu-small/source/i18n/decNumber.cpp:2974:44: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 2974 |         t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2;
      |                                   ~~~~~~~~~^~
../deps/icu-small/source/i18n/decNumber.h:89:19: note: at offset 2 into destination object 'decNumber::lsu' of size 1
   89 |     decNumberUnit lsu[DECNUMUNITS];
      |                   ^~~
rm 6aabcf0377d3bf9ea921abc112f49f170db10739.intermediate
make: *** [Makefile:135: node] Error 2

```


### Additional information

_No response_