Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2011 22:25:10 GMT
From:      Naoyuki Tai <ntai@smartfruit.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   arm/161044: devel/icu does not build on arm
Message-ID:  <201109262225.p8QMPAdt073551@red.freebsd.org>
Resent-Message-ID: <201109262230.p8QMUBWQ016400@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161044
>Category:       arm
>Synopsis:       devel/icu does not build on arm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-arm
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 26 22:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Naoyuki Tai
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD scarabee 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Sun Sep 25 20:00:09 EDT 2011     /usr/obj/arm/usr/src/sys/DREAMPLUG  arm
>Description:
"make" of /usr/ports/devel/icu fails in following fashion.
As you can imagine, many ports don't work without ICU library.

  stream  {
   TestStream                                ---[OK]  
   TestStreamEOF                             ---[OK]  
  }  
 }   / (./iotest) ((4.0s)) 
 
[All tests passed successfully...]
Elapsed Time: 00:00:04.005
# Performing the cintltst test
gmake -C /usr/ports/devel/icu/work/icu/source/test
gmake: Entering directory `/usr/ports/devel/icu/work/icu/source/test'
gmake[0]: Making `all' in `testdata'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/testdata'
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  MAKEFLAGS= ../../bin/pkgdata -q -c -s /usr/ports/devel/icu/work/icu/source/test/testdata/out/build/icudt48l -T ../../test/testdata/out/build -d ../../test/testdata/out -s ../../test/testdata/out/build -p testdata -m common ../../test/testdata/out/build/testdata.lst
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/testdata'
gmake[0]: Making `all' in `intltest'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/intltest'
gmake[0]: Making `all' in `iotest'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/iotest'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/iotest'
gmake[0]: Making `all' in `cintltst'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test/cintltst'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test/cintltst'
gmake[1]: Entering directory `/usr/ports/devel/icu/work/icu/source/test'
gmake[1]: Nothing to be done for `all-local'.
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
gmake: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
cd /usr/ports/devel/icu/work/icu/source/test/cintltst && /usr/bin/env  LD_LIBRARY_PATH=/usr/ports/devel/icu/work/icu/source/lib:/usr/ports/devel/icu/work/icu/source/tools/ctestfw  ./cintltst
Default locale for this run is en_US_POSIX
 (./cintltst)  {
  tsconv  {
   ucnvseltst  {
    TestSelector *** Signal 10

Stop in /usr/ports/devel/icu.
*** Error code 1

Stop in /usr/ports/devel/icu.


Run cintltst under gdb
scarabee# cd /usr/ports/devel/icu/work/icu/source/test/cintltst
scarabee# setenv  LD_LIBRARY_PATH /usr/ports/devel/icu/work/icu/source/lib:/usr/ports/devel/icu/work/icu/source/tools/ctestfw
scarabee# gdb cintltst
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-marcel-freebsd"...(no debugging symbols found)...
(gdb) r
Starting program: /usr/ports/devel/icu/work/icu/source/test/cintltst/cintltst 
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Default locale for this run is en_US_POSIX
 (/usr/ports/devel/icu/work/icu/source/test/cintltst/cintltst)  {
  tsconv  {
   ucnvseltst  {
    TestSelector 
Program received signal SIGBUS, Bus error.
0x20557790 in uset_openEmpty_48 () at uset.cpp:32
32      uset_openEmpty() {
Current language:  auto; currently c++
(gdb) bt
#0  0x20557790 in uset_openEmpty_48 () at uset.cpp:32
#1  0x000288f0 in getResultsManually ()
#2  0x00029038 in TestSelector ()
#3  0x20198dc8 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#4  0x20199080 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#5  0x20199080 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#6  0x20199080 in iterateTestsWithLevel () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#7  0x201992dc in runTests () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#8  0x20199928 in runTestRequest () from /usr/ports/devel/icu/work/icu/source/tools/ctestfw/libicutest.so.48
#9  0x00038024 in main ()


This is built with 
# cc --version
cc (GCC) 4.2.1 20070719  [FreeBSD]

>How-To-Repeat:
1 - Install FreeBSD 8.2 Release on a ARM machine
2 - go to /usr/ports/devel/icu and "make"

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109262225.p8QMPAdt073551>