On 10/25/2020, Brad Smith wrote:
> From ports-gcc Makefile...
> 
> BUILD_DEPENDS +=        devel/bison \
>                         devel/libexecinfo
> 

Ah, I gave a quick look at LIB_DEPENDS, but not at BUILD_DEPENDS,
my bad.

Then, if the __BUILTIN_HACK part is only possible with GCC at the
moment, and if we can't use ports-gcc, then I see that adding
-fno-omit-frame-pointer makes the test pass with gcc-4.2.1, too.

octeon still has base-gcc I believe, so with that ports-gcc
constraint, that's the only thing I see to let that "hack" build.

Updated diff, tested on loongson again.

(Of couse, if it's still wrong, no problem.  I'm just trying
to help unbreaking that part of the mips64* ports tree.)

Attachment: libexecinfo_base_gcc_no_omit_frame_pointer.diff
Description: Binary data

Reply via email to