Hello Stuart. Stuart Henderson wrote in <yezuykzcmgxr7...@symphytum.spacehopper.org>: |On 2021/03/08 18:53, Steffen Nurpmeso wrote: |> Steffen Nurpmeso wrote in |> <20210224143220.o1zwb%stef...@sdaoden.eu>: |>|Hello ports@. |>| |>|Update to v14.9.22 to unbreak a closefrom(2) / close_range(2) |>|brain damage of mine. |> |> I just got an according bug report from Predrag regarding this. |> Dependent on what you do, version 14.9.21 is truly _broken_, and |> 14.9.22 really should replace 14.9.21 wherever possible, please. .... |Committed.
Thank you very much for this, Stuart. |Can you advise how to tell the complicated make-config script how to |respect ports CFLAGS setting for compiler optimization please? If it is only optimization one could either overwrite it by passing an additional EXTRA_CFLAGS=-O1 or similar to overwrite it, or instead pass cc_maxopt=[0123] (this i have not tested for years hmmm .. but still works). Note that higher than -O3 is not supported, if you want this then you have to go the EXTRA_CFLAGS way. (-Os also not built-in, it also seems badly maintained in, granted gcc, upstream and caused inlining problems in the past (AlpineLinux package). --End of <yezuykzcmgxr7...@symphytum.spacehopper.org> P.S.: just to mention it, this is documented in make.rc and in full in INSTALL, "1.3 Tests failed!". Seems like a bad place, hm. I have never encountered miscompilations with this software? But i think i will turn cc_maxopt into a regular option, and document it in make.rc, better it is. Ciao! --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)