Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 11:53:55 -0400
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        freebsd-ports@FreeBSD.org
Subject:   emulators/zsnes segfaults in 32-bit jail on FreeBSD/amd64 8.0
Message-ID:  <4BD46593.30504@cyberbotx.com>

next in thread | raw e-mail | index | archive | help
I just built a FreeBSD/amd64 8.0 system, and I built emulators/zsnes within a 
32-bit jail in /compat/i386.  But when I try to run it by setting 
LD_32_LIBRARY_PATH to /compat/i386/usr/local/lib and PATH to 
/compat/i386/usr/local/bin:$PATH, it segfaults.  I also tried to build the port 
with WITH_DEBUG=yes to get it to add -g to the CFLAGS and remove the STRIP 
variable, but it still segfaulted.  However, if I did a make extract and then 
manually went into the work directory and built it with the environment set with 
CLFAGS and CXXFLAGS set to -g, ZSNES doesn't crash at all.  With the first 2 
segfaults, even running a 32-bit gdb66 on zsnes didn't give me anything, saying 
there were no debugging symbols.  I'm at a loss, as the port compiles and runs 
just fine on my FreeBSD/i386 7.2 system.  Any help would be appreciated.

Thanks,
Naram Qashat



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