Hi,

On mips64el, 'make test' currently fails in devel/libexecinfo with the
following error:

===>  Regression tests for libexecinfo-0.3p2v0                       
/usr/bin/env -i \
  
LD_LIBRARY_PATH=/usr/ports/pobj/libexecinfo-0.3/backtrace-BACKTRACE_0_3/libbacktrace
 \
  
/usr/ports/pobj/libexecinfo-0.3/backtrace-BACKTRACE_0_3/examples/backtrace_test 
                                                                                
  
backtrace_test: backtrace_symbols

mips64el still uses gcc-4.2.1 by default, at the moment.

The test works again with ports-gcc, but you need -Wno-frame-address so
that the __BUILTIN_HACK part builds with -Werror.

I also see that clang (with is used by default on mips64) is having
issues compiling this:

http://build-failures.rhaalovely.net/mips64/2020-10-14/devel/libexecinfo.log

So hopefully, the attached diff fixes both issues.

Only tested on OpenBSD/loongson 6.8, though.  No idea for hppa, sh,
or if this ports-gcc dependency could cause bootstrapping problems.

Donovan

Attachment: libexecinfo_mips64_patch.diff
Description: Binary data

Reply via email to