Bus error due to v9 VIS on v8 ?

vom513 <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
Hello all,

I’ve been on a mission to get ghostscript-agpl (10.x) running on sparc.

By default, ghostscript has a lot of dependencies.  Due to it pulling in libcups by default, that needs gnutls amongst other crypto type libs.

If I build it like this, by default, I get this when trying to view a postscript file:

Starting program: /usr/pkg/bin/gs -sDEVICE=x11 golfer.eps

Program received signal SIGILL, Illegal instruction.
0xeb0762b4 in _sparcv9_vis1_probe () from /usr/lib/libcrypto.so.15

Does that mean that something is looking for sparc v9 “stuff” and it’s (obviously) not there on my v8 machine ?

Could this be from the dependency chain from libcups/gnutls/etc ?

What would cause this ?  It says it’s a “probe” ?  I would think any kind of probe should be harmless - i.e. if the probe has a negative result carry on or at least exit gracefully ?

Thanks in advance for any insight on this.

PS: I’m building ghostscript again now without cups support, will see what that does...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.