[Pkg-giraffe-discuss] possible fixes for build issues on kfreebsd

Jan Engelhardt jengelh at inai.de
Tue Oct 17 23:18:01 UTC 2017


On Tuesday 2017-10-17 21:58, Carsten Schoenert wrote:

>> ../../common/platform.linux.cpp:237:16: error: 'backtrace' was not declared in this scope
>>   int addrlen = backtrace(addrlist, BT_MAX);
>> ../../common/platform.linux.cpp:240:22: error: 'backtrace_symbols' was not declared in this scope
>>   char **symbollist = backtrace_symbols(addrlist, addrlen);

Hm yes, backtrace_symbols is a glibc-ism.
It would appear that the OpenBSD developers simply used
"libexecinfo" as a drop-in replacement. If it works for them,
perhaps that is what the kfreebsd build would need too.



More information about the Pkg-giraffe-discuss mailing list