libtool: link: clang -fzos-le-char-mode=ascii -std=gnu11 -mnocsect -fno-short-enums -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -mzos-target=zosv2r4 -O3 -I/fultonm/zopen/usr/local/zopen/ncurses/ncurses-6.4.20231114_180107.zos/include -I/fultonm/zopen/usr/local/zopen/ncurses/ncurses-6.4.20231114_180107.zos/include -isystem /fultonm/zopen/usr/local/zopen/zoslib/zoslib-zopen.20231122_080123.zos/include -include /fultonm/zopen/usr/local/zopen/zoslib/zoslib-zopen.20231122_080123.zos/include/zos-v2r5-symbolfixes.h -Wl,-bedit=no -o hello hello.o /fultonm/zopen/usr/local/zopen/zoslib/zoslib-zopen.20231122_080123.zos/lib/celquopt.s.o /fultonm/zopen/dev/gettextport/gettext-0.22.4/.zoslib_hooks/zoslib_env_hook.c.o -L/fultonm/zopen/usr/local/zopen/ncurses/ncurses-6.4.20231114_180107.zos/lib -L/fultonm/zopen/usr/local/zopen/zoslib/zoslib-zopen.20231122_080123.zos/lib ../lib/.libs/libtextstyle.a -lncurses -lzoslib -lzoslib-supp
IEW2459W 9206 INCLUDED MEMBER error FAILED TO RESOLVE REFERENCE.
IEW2497W 9229 THE SYMBOL error WAS EXPECTED TO BE RESOLVED BY INCLUDING MEMBER
rpl_la-cr-om-parser.# FROM THE LIBRARY DEFINED BY DDNAME /0000004
IEW2456E 9207 SYMBOL error UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE
DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL error UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE
DESIGNATED CALL LIBRARY.
IEW2665S 40FF MODULE *NULL* IS NON-EXECUTABLE AND WAS NOT SAVED BECAUSE
STORENX=NEVER.
IEW5033 The binder ended with return code 12.
Looking at the map I see (at the start)
1z/OS V3 R1 BINDER 23:05:56 TUESDAY NOVEMBER 28, 2023
cxx ---------------------------------------------------------------------------
IEW2459W 9206 INCLUDED MEMBER error FAILED TO RESOLVE REFERENCE.
IEW2497W 9229 THE SYMBOL error WAS EXPECTED TO BE RESOLVED BY INCLUDING MEMBER rpl_la-cr-om-parser.# FROM THE LIBRARY
DEFINED BY DDNAME /0000002
IEW2456E 9207 SYMBOL error UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
1 *** M O D U L E M A P ***
---------------
CLASS C_CODE64 LENGTH = 184D19 ATTRIBUTES = CAT, LOAD, RMODE= 64
OFFSET = 0 IN SEGMENT 001 ALIGN = DBLWORD
---------------
SECTION CLASS ------- SOURCE --------
OFFSET OFFSET NAME TYPE LENGTH DDNAME SEQ MEMBER
0 CELQSTRT CSECT 98 /0000001 01
0 0 CELQSTRT LABEL
98 $PRIV000010 CSECT 4CD /0000001 01
0 98 $PRIV000010 LABEL
10 A8 main LABEL
568 $PRIV000013 * CSECT 50E /0000002 01 libtextst-r#1/25
0 568 $PRIV000013 LABEL
10 578 ostream_w-te_str LABEL
70 5D8 ostream_w-te_mem LABEL
C0 628 ostream_printf LABEL
190 6F8 ostream_vprintf LABEL
240 7A8 ostream__-te_mem LABEL
270 7D8 ostream__flush LABEL
2A0 808 ostream__free LABEL
2D0 838 ostream_flush LABEL
320 888 ostream_free LABEL
I am seeing this on z/OS 3.1 and z/OS 2.4
Looking at the map I see (at the start)
The long symbol from mangled is as follows: