This quite likely means that the relevant bit of code has something which is classed as undefined behaviour in C/C++.
--
Sent from a phone, apologies for poor formatting.
On 8 December 2024 19:52:46 izder456 <izder456@disroot.org> wrote:
On Sun, 8 Dec 2024 19:22:09 +0000Stuart Henderson <stu@spacehopper.org> wrote:On 2024/12/08 12:48, izder456 wrote:This leads me to believe that ports uses some non-default compilerflags that clang on amd64 base doesn't otherwise use by default.Compare the compiler commands printed when it builds?Duh! Thanks for keeping me in check. Seems that ports adds a -O2 -pipeto the compiler flags. -pipe itself is fine, but -O2 and above seems tocause instability, so I set CFLAGS & CXXFLAGS to -O1 -pipe, things seemAOK!Thanks again Stuart, this was rather obvious- silly me.Appreciated---iz (they/them)i like to say mundane things,there are too many uninteresting thingsthat go unnoticed.izder456 (dot) neocities (dot) org
No comments:
Post a Comment