ICU 78 genrb failure on Solaris x86

4 views
Skip to first unread message

David Ritter

unread,
Nov 17, 2025, 10:27:20 AM (5 days ago) Nov 17
to icu-support
Hello!

I'm attempting to build and test the ICU on Solaris 11.4 x86 using the GCC 13.2 compiler distributed by Oracle.

I am able to compile all the libraries however when I execute `gmake check` I am getting this error when generating the testdata with genrb:

LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  ../../bin/genrb -q -i ../../data/out/build -s ../../../icu/source/test/testdata -d ../../test/testdata/out/build conversion.txt
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  ../../bin/genrb -s ../../../icu/source/test/testdata -eUTF-16BE -d ../../test/testdata/out/build encoded.utf16be
../../icu/source/common/ucnv_io.cpp:254
../../bin/genrb: can not initialize ICU.  status = U_INVALID_FORMAT_ERROR
gmake[2]: *** [../../test/testdata/rules.mk:72: ../../test/testdata/out/build/encoded.res] Error 1
gmake[2]: Leaving directory '/build/ritter/build_64/test/testdata'
gmake[1]: *** [Makefile:73: all-recursive] Error 2
gmake[1]: Leaving directory '/build/ritter/build_64/test'
gmake: *** [Makefile:153: check-recursive] Error 2

I think this may be a variant of https://unicode-org.atlassian.net/browse/ICU-23263 but I haven't been able to confirm it other than I can confirm the new check code is what is triggering the error.

What is confusing to me is builds using Linux 64-bit and even Solaris SPARC do not exhibit this issue.

Has anyone else seen this? I am unable to log into the JIRA project to file a new bug or update ICU-23263. 

Any help would be appreciated.

Thank you,
Dave Ritter

George Rhoten

unread,
Nov 18, 2025, 6:55:01 PM (3 days ago) Nov 18
to David Ritter, icu-support
I recommend trying out the changes in the new pull request associated with that issue. Feedback on whether it fixes your problem would be appreciated.

George

--
You received this message because you are subscribed to the Google Groups "icu-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icu-support...@unicode.org.
To view this discussion visit https://groups.google.com/a/unicode.org/d/msgid/icu-support/549f67b0-dcdf-47af-bc87-f7cfc0f04e6dn%40unicode.org.

--
You received this message because you are subscribed to the Google Groups "ICU - Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icu-team+u...@unicode.org.
To view this discussion visit https://groups.google.com/a/unicode.org/d/msgid/icu-team/549f67b0-dcdf-47af-bc87-f7cfc0f04e6dn%40unicode.org.

David Ritter

unread,
Nov 19, 2025, 11:58:09 AM (3 days ago) Nov 19
to George Rhoten, icu-support
Oh cool. I have applied the patch from the PR and it does address the runtime error I observed on Solaris 11.4 x86.

Thank you,
Dave
--
“My spelling is Wobbly. It's good spelling but it Wobbles, and the letters get in the wrong places.” 
Winnie-the-Pooh
Reply all
Reply to author
Forward
0 new messages