[linux-lvm] problems with gcc 3.0 & lvm tools

Arkadiusz Miskiewicz misiek at pld.ORG.PL
Tue Jun 26 21:28:50 UTC 2001


Michael Tokarev <mjt at tls.msk.ru> writes:

> Gergely Tamas wrote:
> > 
> > GCC 3.0 implements ``printf'' as a macro.
> 
> Why *gcc* *implements* printf at all???  It is in
> C library, not in compiler, or always was that.

glibc defines printf() as fprintf(stdout, ...) macro when it detects
compiler >= 2.97 (because gcc can optimize fprintf()), so it's not gcc
problem.

> But wait: *if* this *is* an issue, then TONS of other programs
> will break the same way.  And gcc people should just not do so,
> is is a bug (serious) in gcc in this case and should be fixed
> in a first place.

http://sources.redhat.com/ml/libc-alpha/2001-01/msg00187.html
http://sources.redhat.com/ml/libc-alpha/2001-01/msg00214.html
and whole thread
http://sources.redhat.com/ml/libc-alpha/2001-01/msg00186.html

>  Michael.

-- 
 Arkadiusz Miśkiewicz, AM2-6BONE, 1024/3DB19BBD
 IPv6 ready PLD Linux at http://www.pld.org.pl/
My jsme Borg. Odpor je marný, budete asimilováni



More information about the linux-lvm mailing list