Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: YAMAMOTO Takashi <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 06/17/2005 09:25:56
On Jun 17, 9:11pm, firstname.lastname@example.org (YAMAMOTO Takashi) wrote:
-- Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
| adding a hack to libc for the broken compiler is saner?
| i don't think so.
I don't think so either, but when you ask the compiler to call printf(),
and it calls puts() because it `knows' it is better, what else are you
| the fundamental problem is that gcc ignores the well-known but non-standard
| behaviour of printf. fixing gcc is the right fix.
| IMO, changing puts is the worst choice because it introduces
| another non-standard extension.
| no surprise if a future version of gcc break it. :-)
I am fine with disabling the optimization, but as I said, it will make
our compiler different. I would rather convince the gcc team to consider
turning the bogus behavior off permanently.