Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 17:07:06 -0400 (EDT)
From:      Mikhail Teterin <mi@privatelabs.com>
To:        stable@freebsd.org
Subject:   ghostscript port anyone? (clock(3) ?)
Message-ID:  <200007182107.RAA08113@misha.privatelabs.com>

next in thread | raw e-mail | index | archive | help
It appears, the ghostscript-6.01 port no longer builds :( The line:
	./obj/genarch ./obj/arch.h
hangs forever eating all of the available CPU (or one of the CPUs).

The  ghostscript's  clever way  of  determining  the host's  cache  size
appears to be the culprit :(

If I run the line under debugger, whenever I Ctrl-Z it, it is in memset:

	Program received signal SIGTSTP, Stopped (user).
	0x280db81f in memset () from /usr/lib/libc.so.4
	(gdb) where
	#0  0x280db81f in memset () from /usr/lib/libc.so.4
	#1  0x804a400 in buf.31 ()
	#2  0x8048a18 in main (argc=2, argv=0xbfbffb50) at ./src/genarch.c:202
	#3  0x80484f5 in _start ()

So it keeps on memset-ing the buffer forever.

Take a look at the  gs6.01/src/genarch.c:202 and the time_clear function
itself. Did our clock(3) change recently?

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007182107.RAA08113>