Thank you for fixing this so quickly. Btw, in the meantime I have workaround this issue with "objcopy --subsystem console" on the affected executables but it is good to have a fix now. Reviewing your patch, you may want to set the "-mconsole" switch explicitly instead.