Download raw body.
Question regarding compiler flags in the ports tree v. outside of the ports tree
Question regarding compiler flags in the ports tree v. outside of the ports tree
Question regarding compiler flags in the ports tree v. outside of the ports tree
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 +0000 > Stuart Henderson <stu@spacehopper.org> wrote: > >> On 2024/12/08 12:48, izder456 wrote: >>> This leads me to believe that ports uses some non-default compiler >>> flags 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 -pipe > to the compiler flags. -pipe itself is fine, but -O2 and above seems to > cause instability, so I set CFLAGS & CXXFLAGS to -O1 -pipe, things seem > AOK! > > Thanks again Stuart, this was rather obvious- silly me. > > Appreciated- > > -- > iz (they/them) > >> i like to say mundane things, >> there are too many uninteresting things >> that go unnoticed. > > izder456 (dot) neocities (dot) org
Question regarding compiler flags in the ports tree v. outside of the ports tree
Question regarding compiler flags in the ports tree v. outside of the ports tree
Question regarding compiler flags in the ports tree v. outside of the ports tree