pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

editors/Sigil segv on netbsd-9.2



fwiw: netbsd-9.2, amd64, pkgsrc-2022Q2.

It appears I'm running into what's described here:
https://github.com/Sigil-Ebook/Sigil/issues/686

Core was generated by `sigil'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000001fb9a9a2e in int QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) ()
(gdb) bt
#0  0x00000001fb9a9a2e in int QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) ()
#1  0x00000001fb9a8798 in QBasicAtomicInteger<int>::loadRelaxed() const ()
#2  0x00000001fb9a6bec in QtPrivate::RefCount::ref() ()
#3  0x00000001fb9a7167 in QString::QString(QString const&) ()
#4  0x00000001fb8662a4 in __static_initialization_and_destruction_0(int, int) ()
#5  0x00000001fb8663f7 in _GLOBAL__sub_I_SearchEditorModel.cpp ()
#6  0x00000001fb682f98 in ?? ()
#7  0x00000001fc0621c0 in ?? ()
#8  0x00000001fb67be89 in _init ()
#9  0x0000000000000000 in ?? ()

Going by breadcrumbs on the internets, I've tried various combinations
of the following:

GCC_REQD+=      10
CMAKE_ARGS+=    -DCMAKE_CXX_FLAGS=-fno-lto
CMAKE_ARGS+=    -DCMAKE_LD_FLAGS=-fno-lto
CMAKE_ARGS+=    -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=off

with no change in behaviour. What did end up working is:

PKGSRC_COMPILER=clang

Does anyone have any better ideas, here? Anyone else seen the same
issue?

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index