From owner-freebsd-arm@FreeBSD.ORG Sat Mar 8 15:41:46 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FA2FCDD for ; Sat, 8 Mar 2014 15:41:46 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF09DD0C for ; Sat, 8 Mar 2014 15:41:45 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id w7so5966969qcr.22 for ; Sat, 08 Mar 2014 07:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Dp6yb3ZI98Zh2IynNbsjjuVMXSO4/O1wzmmvw56KjVY=; b=UbRj8ms5B4/jIoUcj76mwjbzHLDpfaHXAb2r7OKWAbvK/aZhZAvOjNEkOH5Ia6c+cc EcfDxsqGGM8x7enJGNQbjn1z8caoV3FWgbj02zXVFoRkLG8TI4b8/a7KYaSGPKlxv4YY InkR/k8RIpI/TSK6hQpLRHprqRpjx0Patgoe4KKCWDIcHRoj9toxpNmbYDsrAmhDzwEQ PxFjF1H15sXCWO7fbjcDWNuW15Ehsk7vsVnJEyWaNqutXzckE8q+o5sjswZYTyGP3BgW SV8RZVeu2bBl8cx2bN6Q3TOP/H3RwSYoJHnmoruaDryX42P2L4+D+jgZGlkkmCzB+6Fe EWSw== MIME-Version: 1.0 X-Received: by 10.224.13.142 with SMTP id c14mr12029280qaa.76.1394293304999; Sat, 08 Mar 2014 07:41:44 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.8.137 with HTTP; Sat, 8 Mar 2014 07:41:44 -0800 (PST) In-Reply-To: References: Date: Sat, 8 Mar 2014 07:41:44 -0800 X-Google-Sender-Auth: 3XcdcDJI5EEFxdUvlcDz_Kb9Dv8 Message-ID: Subject: Re: building ICU port on arm From: Adrian Chadd To: Stephen Woolerton Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2014 15:41:46 -0000 What process is segfaulting? What's in the coredump? -a On 8 March 2014 01:02, Stephen Woolerton wrote: > 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 wrote: > > On 8 March 2014 00:48, Stephen Woolerton 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 > >