building ICU port on arm

Stephen Woolerton direct727 at gmail.com
Sat Mar 8 09:02:24 UTC 2014


At some point in the port compile, it crashes with a core dump...

.... compiling the ICU port on a Raspberry Pi Model B...
...
pkgdata: cd ../lib/ && rm -f libicudata.so.52 && ln -s libicudata.so.52.1 libicudata.so.52
pkgdata: cd ../lib/ && rm -f libicudata.so && ln -s libicudata.so.52.1 libicudata.so
gmake[3]: Leaving directory `/usr/ports/devel/icu/work/icu/source/data'
gmake[2]: Making `all' in `extra'
gmake[3]: Entering directory `/usr/ports/devel/icu/work/icu/source/extra'
gmake[3]: Making `all' in `uconv'
gmake[4]: Entering directory `/usr/ports/devel/icu/work/icu/source/extra/uconv'
mkdir uconvmsg
c++ -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_TIMEZONE=0 -I../../common -I../../i18n -I./../toolutil -DU_ATTRIBUTE_DEPRECATED= -DUCONVMSG_LINK=uconvmsg -O -pipe -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long --std=c++0x -c -o uconv.o uconv.cpp
cc -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_TIMEZONE=0 -I../../common -I../../i18n -I./../toolutil -DU_ATTRIBUTE_DEPRECATED= -DUCONVMSG_LINK=uconvmsg -O -pipe -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c -o uwmsg.o uwmsg.c
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/genrb -e UTF-8 -s resources -d uconvmsg root.txt
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/genrb -e UTF-8 -s resources -d uconvmsg fr.txt
gmake -f pkgdataMakefile
gmake[5]: Entering directory `/usr/ports/devel/icu/work/icu/source/extra/uconv'
rm -rf pkgdata.inc
gmake[5]: Leaving directory `/usr/ports/devel/icu/work/icu/source/extra/uconv'
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/pkgdata -p uconvmsg -O pkgdata.inc -m static -s uconvmsg -d uconvmsg -T uconvmsg uconvmsg/uconvmsg.lst
pkgdata: cc -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_TIMEZONE=0 -DU_ATTRIBUTE_DEPRECATED= -O -pipe -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c -I../../common -I../../common -DPIC -fPIC -o uconvmsg/uconvmsg_dat.o uconvmsg/uconvmsg_dat.c
pkgdata: cc -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_TIMEZONE=0 -DU_ATTRIBUTE_DEPRECATED= -O -pipe -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c -I../../common -I../../common -DPIC -fPIC -o uconvmsg/root_res.o uconvmsg/root_res.c
pkgdata: cc -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_TIMEZONE=0 -DU_ATTRIBUTE_DEPRECATED= -O -pipe -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c -I../../common -I../../common -DPIC -fPIC -o uconvmsg/fr_res.o uconvmsg/fr_res.c
pkgdata: ar r uconvmsg/libuconvmsg.a uconvmsg/uconvmsg_dat.o uconvmsg/root_res.o uconvmsg/fr_res.o
ar: warning: creating uconvmsg/libuconvmsg.a
pkgdata: ranlib uconvmsg/libuconvmsg.a
c++ -O -pipe -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long --std=c++0x -o ../../bin/uconv uconv.o uwmsg.o -L../../lib -licui18n -L../../lib -licuuc -L../../stubdata -licudata -lm uconvmsg/libuconvmsg.a
cd ../.. \
&& CONFIG_FILES=extra/uconv/uconv.1 CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating extra/uconv/uconv.1
gmake[4]: Leaving directory `/usr/ports/devel/icu/work/icu/source/extra/uconv'
gmake[4]: Entering directory `/usr/ports/devel/icu/work/icu/source/extra'
gmake[4]: Nothing to be done for `all-local'.
gmake[4]: Leaving directory `/usr/ports/devel/icu/work/icu/source/extra'
gmake[3]: Leaving directory `/usr/ports/devel/icu/work/icu/source/extra'
gmake[2]: Making `all' in `test'
gmake[3]: Entering directory `/usr/ports/devel/icu/work/icu/source/test'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
gmake[3]: Entering directory `/usr/ports/devel/icu/work/icu/source'
Note: rebuild with "gmake VERBOSE=1 all-local" to show all compiler parameters.
gmake[3]: Leaving directory `/usr/ports/devel/icu/work/icu/source'
gmake[2]: Leaving directory `/usr/ports/devel/icu/work/icu/source'
Segmentation fault (core dumped)

===>>> make failed for devel/icu
===>>> Aborting update

===>>> Update for devel/icu failed
===>>> Aborting update

===>>> Killing background jobs
Terminated

---- Problem report is here...

http://www.freebsd.org/cgi/query-pr.cgi?pr=186823&cat=


Thanks for asking

Stephen

On 8/03/2014, at 9:50 pm, Adrian Chadd <adrian at freebsd.org> wrote:

> On 8 March 2014 00:48, Stephen Woolerton <direct727 at gmail.com> wrote:
>> Hi everyone,
>> 
>> Just wondering if anyone has successfully built the ICU port or an ICU package, on an arm device on FreeBSD 10.  (Problem report 186823)
>> 
>> The reason is I need to run some code which requires GNUstep-base, for which ICU is a dependency. (I'm hoping to do this project on FreeBSD rather than Linux.)
> 
> What happens when you try?
> 
> 
> -a



More information about the freebsd-arm mailing list