Jonathan Gray <[email protected]> writes:

> Trying to build icu4c on on armv7 reliably fails with
>
> gmake[1]: Entering directory '/usr/ports/pobj/icu4c-56.1/build-arm/data'
> Unpacking /usr/ports/pobj/icu4c-56.1/icu/source/data/in/icudt56l.dat and 
> generating out/tmp/icudata.lst (list of data files)
> LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  
> ../bin/icupkg -d ./out/build/icudt56l --list -x \* 
> /usr/ports/pobj/icu4c-56.1/icu/source/data/in/icudt56l.dat -o 
> out/tmp/icudata.lst
> Makefile:487: recipe for target 'out/tmp/icudata.lst' failed
> gmake[1]: *** [out/tmp/icudata.lst] Error 1
> gmake[1]: Leaving directory '/usr/ports/pobj/icu4c-56.1/build-arm/data'
> Makefile:143: recipe for target 'all-recursive' failed
> gmake: *** [all-recursive] Error 2
>
> It doesn't seem to be segfaulting, though it builds/installs with the
> following patch.

If it builds, ship it!  ok jca@

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/icu4c/Makefile,v
> retrieving revision 1.51
> diff -u -p -r1.51 Makefile
> --- Makefile  26 Dec 2015 09:43:11 -0000      1.51
> +++ Makefile  29 Dec 2015 06:36:43 -0000
> @@ -51,6 +51,7 @@ MAKE_FLAGS=         SO_TARGET_VERSION=${SO_VERS
>  # icupkg segfaults during the build
>  .if ${MACHINE_ARCH} == "arm"
>  CFLAGS +=            -O1 -fno-stack-protector
> +CXXFLAGS +=          -O1 -fno-stack-protector
>  .endif
>  
>  .include <bsd.port.arch.mk>
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to