[Bug 289714] audio/ardour: does not start on Rel. 14.3

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jan 2026 19:10:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289714

--- Comment #10 from Peter Much <pmc@citylink.dinoex.sub.org> ---
(In reply to Stellan Alm from comment #9)

I tried Your approach, but wasn't so lucky. Compiling did work, but the result
would hang in an endless loop even before reaching the crash point, looping
over _umtx_op(2).

I then searched for the difference, and it is because I did cut+paste Your
invocation of waf configure. There the -optimize is written with a single dash,
instead of two dashes as in the port Makefile.

waf seems to interpret this as single-letter options, which are apparently all
meaningless (and it doesn't bother to report invocation errors :( ). 

So this is practically like --optimize not being set, which removes various
compiler optimization features and changes some -Defines. 
And also -O3 is changed to -O0, and that is what introduces my umtx loop.
Even with -O1 I would get further (and then always crash), so this is most
likely a timing issue with the unoptimized code.

With no way further I then tried to build with gcc, and fulminantly failed,
learning something about incompatible linker symbols in c++ :/

So, sadly no clue received - probably not a compile time option (as I tried
many of them in the process), but there might still be whatever prereq
difference 
responsible for the crashes.

-- 
You are receiving this mail because:
You are the assignee for the bug.