From: akingdom@vtaix.cc.vt.edu (Sandy Knapp) Subject: Re: [BUG] libc.a (4.4): when compiled with -g option Date: 1 Jul 1993 17:38:13 GMT
Rafal Kustra (rafal@utstat.toronto.edu) wrote:
: I have gcc 2.4.5, linux.99pl10 and libs of 4.4 .
: The following comes from package XlispStat, which
: compiles OK with -m486 -O6, but dies with SIGSEGV after
: building with -g. It dies in following code:
:
[stuff deleted]
: It dies on call to XOpenDisplay, and gdb says it dies on
: strncpy(). The above is std way to open a display on X11.
: BTW I have libg.a as a softlink to libc.a.
I have seen something very similar. I think XGetHostname calls uname
which changed recently. The utsname structure may have changed size.
Are you running xfree 1.2 or 1.3?
Philip
balister@salem.salem.ge.com