We're updating the issue view to help you get more done. 

ICU 2.1 Build Error (Cygwin/GCC 2.95)

Description

An error occured while I compiled ICU-2.1 on Cygwin.
The genuca tool received signal 11 (Segmentation falt) when comiling.
Here's the compiler's complaints:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 make[0]: Making `all' in `data' make[1]: Entering directory `/home/zhw/icu/source/data' /bin/sh ../mkinstalldirs ../data/out ../data/out/build ../test/testdata/out ../t est/testdata/out/build ICU_DATA=../data/out/build PATH=../common:../i18n:../tools/toolutil:../extra/ustdio:../tools/ctestfw:../data/out:../data:../stubdata/:$PATH ../tools/genuca/genuca -s ../data/unidata -d ../data/out/build Signal 11 make[1]: *** [../data/out/build/ucadata.dat] Error 139 make[1]: Leaving directory `/home/zhw/icu/source/data' make: *** [all-recursive] Error 2 I tried gdb with genuca, and here's the stack info: #0 0x10003c9d in extendICUData (failedData=0x0, pErr=0x22eaa8) at udata.c:496 #1 0x10004053 in _data_end__ () at udata.c:737 #2 0x1000440c in udata_openChoice_2_1 (path=0x0, type=0x10036f2a "dat", name=0x10036f24 "unorm", isAcceptable=0x10036e74 <isAcceptable>, context=0x0, pErrorCode=0x22fd40) at udata.c:870 #3 0x10036fbf in icu_2_1::TimeZone::~TimeZone () at unorm.cpp:203 #4 0x1003b7e9 in lengthOfDiff () at unorm.cpp:270 #5 0x10038b86 in unorm_decompose_2_1 (dest=0x22f466, destCapacity=7, src=0x22f446, srcLength=2, compat=0 '\000', ignoreHangul=0 '\000', pErrorCode=0x22fd40) at unorm.cpp:1296 #6 0x1003a233 in unorm_internalNormalize_2_1 (dest=0x22f466, destCapacity=7, src=0x22f446, srcLength=2, mode=UNORM_NFD, ignoreHangul=0 '\000', pErrorCode=0x22fd40) at unorm.cpp:2446 #7 0x10035b0a in icu_2_1::Normalizer::normalize (source=@0x22f434, mode=UNORM_NFD, options=0, result=@0x22f454, status=@0x22fd40) at normlzr.cpp:173 #8 0x00643b44 in ?? () #9 0x00643640 in ?? () #10 0x005f05b0 in ?? () #11 0x004034e3 in write_uca_table (filename=0x22fc04 "../data/unidata/FractionalUCA.txt", outputDir=0x22fec4 "../data/out/build", copyright=0x0, status=0x22fd40) at genuca.cpp:686 #12 0x00403dd1 in main (argc=-1, argv=0x10171738) at genuca.cpp:817 #13 0x61003fa2 in libicuuc_dll_iname () #14 0x610041b9 in libicuuc_dll_iname () #15 0x610041f9 in libicuuc_dll_iname () #16 0x00403e8f in cygwin_crt0 () #17 0x0040103d in mainCRTStartup () #18 0x77e7eb69 in libicuuc_dll_iname () Regards.

Status

Assignee

TracBot

Reporter

TracBot

Labels

Reviewer

None

Time Needed

None

Start date

None

Components

Priority

blocker