RE: pre7 compile problems

Tony Hoyle (tmh@magenta-logic.com)
Thu, 14 Jan 1999 17:41:02 -0000


> I do have one idea about this. Could you please try this program
> on your machine:
>
> [snip]
>
> tkparse likes to printf through a null pointer occasionally. If you
> see "(null)" on your output, you have a printf that doesn't fall over.
> If you get a segmentation fault, that would explain why your tkparse
> is seg-faulting.
>
> But it could be something else entirely.
>
I got:

[tmh@wilma tmh]$ cc -o test -O2 -fomit-frame-pointer test.c
[tmh@wilma tmh]$ ./test
(null)

So unless it's an intermittent bug in c library the printf looks like its
working.

Versions:
gcc-2.7.2.3-14
glibc-2.0.107-0.981217

Tony

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/