Hmmm. Should I add this to bug #168868 or create a new bug? I could never get this thing to run, but now it won't even compile. :( I recently rebuilt the entire system so I would have everything as consistent as possible. # emerge -v basiliskII [...] Basilisk II configuration summary: SDL support ............................ : video audio XFree86 DGA support .................... : no XFree86 VidMode support ................ : no fbdev DGA support ...................... : no Enable video on SEGV signals ........... : yes ESD sound support ...................... : no GTK user interface ..................... : no mon debugger support ................... : no Running m68k code natively ............. : no Use JIT compiler ....................... : no JIT debug mode ......................... : no Floating-Point emulation core .......... : IEEE fpu core Assembly optimizations ................. : i386 Addressing mode ........................ : direct Bad memory access recovery type ........ : siginfo Configuration done. Now type "make" (or "gmake"). i686-pc-linux-gnu-g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -D REGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DFPU_IEEE -D_REENTRANT -DDATA DIR=\"/usr/share/BasiliskII\" -march=pentium4 -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -c ../main.cpp -o obj/main.o i686-pc-linux-gnu-g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -D REGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DFPU_IEEE -D_REENTRANT -DDATA DIR=\"/usr/share/BasiliskII\" -march=pentium4 -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -c main_unix.cpp -o obj/main_unix.o i686-pc-linux-gnu-g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -D REGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DFPU_IEEE -D_REENTRANT -DDATA DIR=\"/usr/share/BasiliskII\" -march=pentium4 -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -c ../prefs.cpp -o obj/prefs.o i686-pc-linux-gnu-g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -D REGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DFPU_IEEE -D_REENTRANT -DDATA DIR=\"/usr/share/BasiliskII\" -march=pentium4 -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -c ../prefs_items.cpp -o obj/prefs_items.o i686-pc-linux-gnu-g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -D REGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DFPU_IEEE -D_REENTRANT -DDATA DIR=\"/usr/share/BasiliskII\" -march=pentium4 -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -c prefs_unix.cpp -o obj/prefs_unix.o i686-pc-linux-gnu-g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -D REGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DFPU_IEEE -D_REENTRANT -DDATA DIR=\"/usr/share/BasiliskII\" -march=pentium4 -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -c sys_unix.cpp -o obj/sys_unix.o sys_unix.cpp:41: error: ‘_llseek’ has not been declared sys_unix.cpp:41: error: ‘fd’ has not been declared sys_unix.cpp:41: error: ‘hi’ has not been declared sys_unix.cpp:41: error: ‘lo’ has not been declared sys_unix.cpp:41: error: ‘res’ has not been declared sys_unix.cpp:41: error: ‘wh’ has not been declared sys_unix.cpp:41: error: expected constructor, destructor, or type conversion before ‘;’ token sys_unix.cpp: In function ‘void* Sys_open(const char*, bool)’: sys_unix.cpp:393: error: ‘_llseek’ was not declared in this scope sys_unix.cpp: In function ‘size_t Sys_read(void*, void*, loff_t, size_t)’: sys_unix.cpp:503: error: ‘_llseek’ was not declared in this scope sys_unix.cpp: In function ‘size_t Sys_write(void*, void*, loff_t, size_t)’: sys_unix.cpp:529: error: ‘_llseek’ was not declared in this scope make: *** [obj/sys_unix.o] Error 1 !!! ERROR: app-emulation/basiliskII-1.0.0_pre20050412 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile basiliskII-1.0.0_pre20050412.ebuild, line 83: Called die !!! BasiliskII Make Failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/app-emulation:basiliskII-1.0.0_pre20050412:20070717-121045.log'.
$ emerge -p --info Portage 2.1.2.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686) ================================================================= System uname: 2.6.21-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 20 Jul 2007 02:00:12 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_NZ.UTF-8" LINGUAS="en ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acpi alsa arts audiofile berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk cpudetection cracklib crypt css cups dbus dga directfb dri dvd dvdr dvdread encode exif expat fam fbcon ffmpeg flac gcj ggi gif glibc-omitfp gmp gphoto2 gpm gstreamer hal iconv idea imagemagick imap imlib ipv6 javascript jbig joystick jpeg kde lcms libcaca libwww live lm_sensors mad matroska mbox memlimit midi mmx mmxext mng mp3 mpeg mudflap mysql nas ncurses network nls no-old-linux nodrm nptl nptlonly ogg opengl openmp pcre pdf pdflib perl png qt3 quicktime readline real rtc samba scanner sdl silc sndfile speex spell sse sse2 ssl stream sysfs tcpd theora threads threadsafe tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis win32codecs x86 xinerama xml xorg xv xvid zlib zrtp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="mga radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Have just built this on AMD64 using the command line `USE="dga sdl -gtk -esd" emerge -av basiliskII` which should replicate your USE flags, and basiliskII built with no problems - my emerge --info for this machine is below. I am just building it on an x86 machine to check on that, and will post another comment when that's done. Portage 2.1.2.9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 19 Jul 2007 06:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.virginmedia.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/voip /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dri dvd fortran gdbm gnome gpm gtk iconv ipv6 isdnlog libg++ midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Have tried on my x86 box and have the same problem - have ensured I'm on latest glibc and linux-headers with no difference - upstream (http://www.uni-mainz.de/~bauec002/B2Main.html) is dead now, and the SourceForge page (http://sourceforge.net/projects/basilisk/) doesn't list any releases since 2001 - I'd assume this package is now dead.
it compiled ok for me. i'll attach a copy of the emerge log. $ emerge --info Portage 2.1.2.11 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-ck1-20070714-64 x86_64) ================================================================= System uname: 2.6.20-ck1-20070714-64 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 03 Aug 2007 21:01:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -finline-functions -fprefetch-loop-arrays -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/X11 /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -finline-functions -fprefetch-loop-arrays -ftree-vectorize" DISTDIR="/local/distfiles" FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US" LINGUAS="en" MAKEOPTS="--jobs=2 --quiet" PKGDIR="/local/packages64" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/local/gentoo/tmp" PORTDIR="/local/gentoo/portage" PORTDIR_OVERLAY="/local/gentoo/overlays/se /local/gentoo/overlays/xeffects /local/gentoo/overlays/xeffects-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi aiglx alsa amd64 amr amuled apache2 apm arj arts asf audiofile avahi avi berkdb bidi bindist binfilter bitmap-fonts bl browserplugin bzip2 cairo cdda cddb cdio cdparanoia cdr cli cpudetection cracklib crypt css cups curl custom-cflags dbus device-mapper dga dio directfb divx divx4linux dlloader dmi dmx dri dts dv dvb dvd dvdr dvdread dxr3 eds emboss emerald encode erandom esd evo exif expat fam fame fat fbcon ffmpeg fftw firefox flac font-server foomaticdb fortran freetype ftp fuse gdbm ggi gif gimpprint glibc-omitfp glitz glut gmedia gmp gnome gnutls gpm grammar gstreamer gtk gtk2 gtkhtml gtkspell hal hfs httpd i8x0 iconv icq idn ieee1394 imagemagick imlib ipv6 irc isdnlog ithreads jack jack-tmpfs java jbig jfs joystick jpeg jpeg2000 justify kde kdeenablefinal kdexdeltas kerberos kqemu ladcca lame lcd lcms ldap lha libcaca libclamav libg++ libgda libvisual libwww linuxthreads-tls live lzo mad math matroska mbox mgetty midi mikmod mime mjpeg mmap mmx mng modplug motif mozbranding mozilla mp3 mp4 mpeg mplayer mudflap musepack mysql mythtv nas ncurses nls nntp nocd nptl nptlonly nsplugin ntfs nvidia objc ofx ogg oggvorbis openal opengl openmp oss ots pam pcre pdf pdflib perl perlsuid php pic pie png portaudio posix pppd profile pulseaudio python qt qt3 qt3support qt4 quicktime rar readline realmedia recode reflection reiser4 reiserfs rtc samba sdl session shared shorten slang smp sndfile socks5 sox speex spell spl sqlite sse sse2 ssl stream subtitles svg tcl tcpd test tga theora thesaurus threads threadsafe tiff tk toolbar tools transmitter truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vdr vlm vorbis wmf wmp wxwindows x264 xanim xcomposite xfs xine xinerama xinetd xml xml2 xorg xprint xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ens1370 intel8x0 mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 127063 [details] BasiliskII emerge log
(In reply to comment #5) > Created an attachment (id=127063) [edit] > BasiliskII emerge log The log didn't contain anything about the actual compilation - just the configuration and install. I did notice that you have and AMD 64 (where Kevin managed to compile this successfully). It seems to work there, but not on the x86 architecture.
This bug is not new, for a couple of years that this is not compiling anymore.
Created attachment 133399 [details, diff] Replaces a macro _syscall5() with a direct call to syscall(), as required by linux-headers >=2.6.18. (In reply to comment #7) > This bug is not new, for a couple of years that this is not compiling anymore. The attached patch solves the problem for BasiliskII (at least on x86-32). Ted Percival's patch in Debian bug #392236, which fixed exactly the same compile failure in util-linux, also works with Basilisk. In short, something changed in linux-headers 2.6.18 and Basilisk wasn't updated to match. This probably ought to be applied to BasiliskII-jit also, as it has the same problem.
(In reply to comment #8) Anyone currently migrating the patch work to -jit version? original flavor is hard masked. I absolutely cannot get it to compile for the same reasons stated by others above. Always at sys_unix.o compile is where it breaks no matter what USE flags tried.
*** Bug 213095 has been marked as a duplicate of this bug. ***
And basiliskII is removed by treecleaners (masked by Carlo, in January of 2008)
(In reply to comment #9) > Anyone currently migrating the patch work to -jit version? I migrated the patch to work with -jit version 1.0.0-r1, however I'm now running into a segmentation fault with cpuemu.cpp (section 1). running obj/gencpu in the src/Unix directory produces that result too. I'm nowhere near capable of debugging on that level. http://forums.gentoo.org/viewtopic-t-605873.html suggests to download and compile the -jit source tarball without any modifications. I'm attempting that next, as I post my modified .diff. (section 1) gcc -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DCPU_i386 -DDIRECT_ADDRESSING -fno-strength-reduce -DSAHF_SETO_PROFITABLE -DUNALIGNED_PROFITABLE -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DUSE_JIT -DUSE_JIT_FPU -DFPU_IEEE -D_REENTRANT -DDATADIR=\"/usr/share/BasiliskII\" -O2 -march=i686 -pipe -c ../uae_cpu/gencpu.c -o obj/gencpu.o [***other gcc commands***] c++ -lstdc++ -o obj/gencpu obj/gencpu.o obj/readcpu.o obj/cpudefs.o obj/gencpu make: *** [cpuemu.cpp] Segmentation fault
In my x86 system both app-emulation/basiliskII and app-emulation/sheepshaver can be compiled with =sys-kernel/linux-headers-2.4.x. I never succeeded running app-emulation/basiliskII-jit, and I did have trouble compiling it, although I'm not sure if I eventually could compile it with the old linux headers. I believe debuggers will need to take into account that those apps came out before the 2.6 kernel...
Created attachment 157211 [details] ebuild for the correct and "latest" basilisk II. Turns out the old ebuild for jit is based off of mandriva sources from circa 2003. The sources for Basilisk II on the jit website are much newer, and compile cleanly without modification. It also seems that Basilisk II JIT and Basilisk II have merged back together, since it's calling itself Basilisk II, yet the UAE CPU is being used. CVS sources from the main Basilisk II page are also fairly up to date, with changes being made in January of 2008.
Just a small comment, I think the "*" below is a typo, my system is not happy with it... > gtk? ( >=x11-libs/gtk+-1.3* gnome-base/libgnomeui ) Apart from it, the ebuild compiles cleanly with my system (stable and up-to-date x86), and BasiliskII runs nicely. Thanks!
Created attachment 157319 [details] updated ebuild for basiliskII-1.0_pre20060501 Yeah, I caught that about 15 minutes after I posted it to bug 227763, and never updated it here. changed it to >=gtk-1.3.15 and it works fine.
(In reply to comment #13) > I never succeeded running app-emulation/basiliskII-jit, and I did have trouble > compiling it. The -jit ebuild is using fairly ancient sources modified from Mandriva, the file it downloaded was from a German AOL webspace too. So who knows what's been modified. If you peer in the _pre20060501 ebuild, you can see I left the sed command that changed Mandriva to Gentoo, but it doesn't have any apparent effect on the build. I did find the next culprit as I tore apart the jit ebuild to make the _pre20060501 ebuild, the ebuild patched the object file to link against libstdc++, which I don't think is a good thing. Never tested that since the new ebuild can compile with/without JIT anyway.