Opened 6 months ago

Closed 6 months ago

#70083 closed defect (fixed)

lexbor fails on ppc (32-bit)

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: ppc Cc: ryandesign (Ryan Carsten Schmidt)
Port: lexbor

Description

https://github.com/lexbor/lexbor/issues/226

:info:build cc1(61643) malloc: *** mmap(size=16777216) failed (error code=12)
:info:build *** error: can't allocate region
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build cc1: out of memory allocating 4072 bytes after a total of 0 bytes
:info:build {standard input}:77:non-relocatable subtraction expression, "_lxb_unicode_compatibility_decomposition" minus "L00000000001$pb"
:info:build {standard input}:77:symbol: "_lxb_unicode_compatibility_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:74:non-relocatable subtraction expression, "_lxb_unicode_compatibility_decomposition" minus "L00000000001$pb"
:info:build {standard input}:74:symbol: "_lxb_unicode_compatibility_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:68:non-relocatable subtraction expression, "_lxb_unicode_canonical" minus "L00000000001$pb"
:info:build {standard input}:68:symbol: "_lxb_unicode_canonical" can't be undefined in a subtraction expression
:info:build {standard input}:67:non-relocatable subtraction expression, "_lxb_unicode_compatibility_decomposition" minus "L00000000001$pb"
:info:build {standard input}:67:symbol: "_lxb_unicode_compatibility_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:64:non-relocatable subtraction expression, "_lxb_unicode_canonical" minus "L00000000001$pb"
:info:build {standard input}:64:symbol: "_lxb_unicode_canonical" can't be undefined in a subtraction expression
:info:build {standard input}:63:non-relocatable subtraction expression, "_lxb_unicode_compatibility_decomposition" minus "L00000000001$pb"
:info:build {standard input}:63:symbol: "_lxb_unicode_compatibility_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:55:non-relocatable subtraction expression, "_lxb_unicode_canonical_decomposition" minus "L00000000001$pb"
:info:build {standard input}:55:symbol: "_lxb_unicode_canonical_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:51:non-relocatable subtraction expression, "_lxb_unicode_canonical_decomposition" minus "L00000000001$pb"
:info:build {standard input}:51:symbol: "_lxb_unicode_canonical_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:44:non-relocatable subtraction expression, "_lxb_unicode_canonical" minus "L00000000001$pb"
:info:build {standard input}:44:symbol: "_lxb_unicode_canonical" can't be undefined in a subtraction expression
:info:build {standard input}:43:non-relocatable subtraction expression, "_lxb_unicode_canonical_decomposition" minus "L00000000001$pb"
:info:build {standard input}:43:symbol: "_lxb_unicode_canonical_decomposition" can't be undefined in a subtraction expression
:info:build {standard input}:40:non-relocatable subtraction expression, "_lxb_unicode_canonical" minus "L00000000001$pb"
:info:build {standard input}:40:symbol: "_lxb_unicode_canonical" can't be undefined in a subtraction expression
:info:build {standard input}:39:non-relocatable subtraction expression, "_lxb_unicode_canonical_decomposition" minus "L00000000001$pb"
:info:build {standard input}:39:symbol: "_lxb_unicode_canonical_decomposition" can't be undefined in a subtraction expression
:info:build make[2]: *** [CMakeFiles/lexbor.dir/source/lexbor/unicode/unicode.c.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_lexbor/lexbor/work/build'
:info:build make[1]: *** [CMakeFiles/lexbor.dir/all] Error 2

Not sure how this was able to build on i386, it looks like a bitness issue.

There is another issue, but not triggered with MacPorts build, since it does not define LEXBOR_WITH_PERF. For that one I have a fix: https://github.com/lexbor/lexbor/pull/227

Change History (1)

comment:1 Changed 6 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 4e415b5eff6461463754d3fada399be2d1dd81d4/macports-ports (master):

lexbor: blacklist old Xcode gcc which cannot build it

Fixes: #70083

Note: See TracTickets for help on using tickets.