First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50624
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Developers for the x86 Architecture <x86@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Veith (RETIRED) <xtv@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pearpc-0.1.ebuild pearpc-0.1.ebuild text/plain Thomas Veith (RETIRED) 2004-05-10 04:28 0000 959 bytes Details
pearpc-0.1.ebuild pearpc-0.1.ebuild text/plain Thomas Veith (RETIRED) 2004-05-10 07:00 0000 1.08 KB Details
pearpc-0.1.1.ebuild pearpc-0.1.1.ebuild text/plain Mark Lynch 2004-05-14 18:31 0000 1.08 KB Details
pearpc-0.1.2.ebuild pearpc-0.1.2.ebuild text/plain jason wohlgemuth 2004-05-20 14:45 0000 1.08 KB Details
pearpc-0.2.0.ebuild pearpc-0.2.0.ebuild text/plain Mark Lynch 2004-06-17 06:28 0000 1.08 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50624 depends on: Show dependency tree
Show dependency graph
Bug 50624 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-10 04:28 0000
PearPC is an architecture independent PowerPC platform emulator capable of
running most PowerPC operating systems.

The following operating systems were tested and run (to some extend) under
PearPC: 
Mandrake Linux 9.1 for PPC: Runs very well

Darwin for PPC: Runs well

Mac OS X 10.3: Runs well with some caveats

OpenBSD for PPC: Crashes while booting (accesses PCI in an unsupported way)

NetBSD for PPC: Crashes while booting

PearPC simulates the following hardware: 
CPU: Sort of G3, no altivec yet. Includes a minimalistic debugger. The CPU is
completely deterministic, optimal for OS-development.

CPU JITC-X86: A very fast CPU for x86 systems that translates the PowerPC code
on-the-fly to native code. Still a little bit experimental.

PCI-Brige: A barebone PCI-Bridge, enough to work with.

IDE-Controller: Sort of CMD646 with bus-mastering support. You can attach
IDE-Harddisk(s) and/or IDE-CDROM(s) (represented through files or devices on
the host).

PIC: A programmable interrupt controller (sort of Heathrow).

VIA-Cuda: With attached Mouse and Keyboard.

Network Controller: Emulates a 3COM 3C90x, works currently only on POSIX with
/dev/tun support.

NVRAM: Capable of storing 8KiB non-volatile memory.

USB: A non-usable USB-hub, but enough to make the OS think that there is an
USB-hub.

PROM: Sort of openfirmware. Ugly and contains a lot of hacks, but enough to
support Yaboot and BootX and to boot from HFS/HFS+ partitions.


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Thomas Veith (RETIRED) 2004-05-10 04:28:42 0000 -------
Created an attachment (id=31092) [edit]
pearpc-0.1.ebuild

------- Comment #2 From Thomas Veith (RETIRED) 2004-05-10 07:00:37 0000 -------
Created an attachment (id=31104) [edit]
pearpc-0.1.ebuild

.) video.x also gets installed
.) ppccfg.example patched to point to video.x
.) added local USE-Flag "jit"

------- Comment #3 From Mark Lynch 2004-05-14 18:31:29 0000 -------
Created an attachment (id=31448) [edit]
Version 0.1.1 of ebuild

No changes to the ebuild - just a version bump - tested and worked fine for me
so thought I'd upload it.  

Thanks Thomas for the original ebuild.

------- Comment #4 From David Oftedal 2004-05-18 17:14:09 0000 -------
Thanks a lot. I'm going to get ahead of Gentoo and install it right now. ;) I
miss Escape Velocity and Hearts Deluxe!

------- Comment #5 From jason wohlgemuth 2004-05-20 14:37:21 0000 -------
Double version bump 0.1.1 and 0.1.2 versions came out.

------- Comment #6 From jason wohlgemuth 2004-05-20 14:45:46 0000 -------
Created an attachment (id=31781) [edit]
pearpc-0.1.2.ebuild

pearpc 0.1.2 ebuild

------- Comment #7 From Bret Curtis (RETIRED) 2004-05-22 09:43:50 0000 -------
You also might want to consider that adding a new use flag is unnecessary and
that you can specify to use jitc when make keyword is x86. As i seem to
remember from pearpc website, jitc only works so far on x86 arch.  So the use
flag would be useless on other archs beside x86.  I will test later tonight on
my mips box to see if it compiles and at least load up osx.

An example:

[ "`use x86`" ] && --enable-cpu=jitc_x86

this of course, forces x86 people to use jitc, but that is probably good,
better to be 40times slower than 400 time slower without jitc.

------- Comment #8 From Albert 2004-05-23 23:49:01 0000 -------
Why is this assigned to the PPC Porters?  Isn't this application more useful on
non-PPC hardware?

------- Comment #9 From Martin Allchin 2004-05-25 07:02:23 0000 -------
There is also a pre-0.2 version available too with better athlong 64 support.

Could someone possibly create an ebuild for the pre-0.2 or cvs?

------- Comment #10 From Albert 2004-05-30 14:20:40 0000 -------
I tested the 0.1.1 and 0.1.2 ebuilds, they work fine without error.

I think that the jitc useflag should be there (or some kind of similar solution) since it does not work on all x86 machines.

Should be ready for portage soon.

------- Comment #11 From David Holm (RETIRED) 2004-06-02 13:52:21 0000 -------
Why would PPC care about a PPC-emulator that only has a JIT-compiler for x86?
;)

------- Comment #12 From Ian Leitch (RETIRED) 2004-06-02 16:33:10 0000 -------
*** Bug 52827 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jesper Brodersen (RETIRED) 2004-06-09 12:51:21 0000 -------
How about PearPC's SDL-teams efforts? Their site deliver .tar.bz2-files within
somekind of counter-script: http://www.richardgoodwin.com/pearpc/sdlbuilds.php.
From what I read on http://www.pearpc.net it should boost pearpc alot (haven't
tested it yet myself, still waiting for MacOSX to finish :>)

------- Comment #14 From Nick Dimiduk (RETIRED) 2004-06-09 16:35:06 0000 -------
Using the 0.1.2 ebuild, USE="X -qt", Configure fails:

checking for c++... g++
checking whether the C++ compiler (g++ -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer ) works... yes
checking whether the C++ compiler (g++ -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ar... /usr/bin/ar
checking for gar... (cached) /usr/bin/ar
checking whether QTDIR environment variable is set... no
configure: error: QTDIR must be properly set.

!!! ERROR: app-emulation/pearpc-0.1.2 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

zidane root # emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6-mm4)
=================================================================
System uname: 2.6.6-mm4 i686 AMD Athlon (TM)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -funroll-loops -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm avi berkdb cdr crypt cups divx4linux doc dvd emacs encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib java jpeg libg++ libwww mad maildir mikmod mmx motif mpeg ncurses nls offensive oggvorbis opengl pam pdflib perl png python quicktime readline ruby sdl slang spell sqlite ssl svg svga tcpd truetype unicode usb x86 xml2 xv zlib"

------- Comment #15 From Patrizio Bassi 2004-06-11 11:52:09 0000 -------
i DO want that!!!

------- Comment #16 From Mark Lynch 2004-06-17 06:28:10 0000 -------
Created an attachment (id=33421) [edit]
pearpc-0.2.0.ebuild

Another version bump to pearpc 0.2.0

------- Comment #17 From Mark Lynch 2004-06-17 06:33:18 0000 -------
Hi Devs,
Is there any reason why this ebuild isn't making it into portage tree - is it just that it is such alpha software or is there something missing from the ebuild.
Regards,
Mark

------- Comment #18 From Ian Leitch (RETIRED) 2004-06-17 11:45:06 0000 -------
I'm just waiting for it to stabilize a little. I'll probably commit 0.2.0
tomorrow. 

------- Comment #19 From Ian Leitch (RETIRED) 2004-06-18 09:19:06 0000 -------
In CVS, thanks everyone. 

First Last Prev Next    No search results available      Search page      Enter new bug