On Fri, Feb 18, 2022 at 06:46:08PM +0000, Klemens Nanni wrote:
> On Fri, Feb 11, 2022 at 09:40:12PM -0700, Kurt Mosiejczuk wrote:
> > http://build-failures.rhaalovely.net/sparc64/2022-02-09/net/bro.log
>
> > /tmp/sqlite3-1f089a.s:544060: Error: operation combines symbols in
> > different segments
> > clang-13: error: assembler command failed with exit code 1 (use -v to see
> > invocation)
>
> Usually we ditch ports-clang for this, but this port has this:
>
> # c++11
> #COMPILER= base-clang ports-gcc
> # XXX src/modp_numtoa.c:174:30: error: use of undeclared identifier
> 'DBL_DECIMAL_DIG'
> COMPILER= ports-clang
>
> I suspect other non-clang arches fail similarly, so rather than marking it
> BROKEN-sparc64, how about limiting it to clang-arches?
OK but I don't think this needs a bump.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/bro/Makefile,v
> retrieving revision 1.83
> diff -u -p -r1.83 Makefile
> --- Makefile 26 Jan 2022 12:55:12 -0000 1.83
> +++ Makefile 18 Feb 2022 18:45:24 -0000
> @@ -8,6 +8,7 @@ COMMENT= network analysis and security
>
> V= 4.0.5
> DISTNAME= zeek-${V}
> +REVISION= 0
>
> SHARED_LIBS += binpac 2.0
> SHARED_LIBS += broccoli 9.0
> @@ -39,6 +40,10 @@ MODULES= lang/python
> #COMPILER= base-clang ports-gcc
> # XXX src/modp_numtoa.c:174:30: error: use of undeclared identifier
> 'DBL_DECIMAL_DIG'
> COMPILER= ports-clang
> +# XXX sparc64 and ports-clang don't go well together:
> +# /tmp/sqlite3-1f089a.s:544060: Error: operation combines symbols in
> different segments
> +# clang-13: error: assembler command failed with exit code 1 (use -v to see
> invocation)
> +ONLY_FOR_ARCHS= ${CLANG_ARCHS}
>
> MODPY_ADJ_FILES= auxil/btest/btest \
> auxil/zeekctl/bin/stats-to-csv \
>
--
Antoine