Could it be that it depends on the latest kernel (I have 5.19.8)? I remember Torvalds deprecating -O3.