Skip to content

ppc-linux-glibc2.19

Compare
Choose a tag to compare
@snmsts snmsts released this 05 Oct 06:48
· 1 commit to master since this release

status

  • libcurl's cert is outdated so roswell is not working well. but I could manage binary to put on appropriately. works as launcher at least.
  • Building sbcl is no problem on 2.4.8

to login

  • login info
    user:user
    password:user

What's done for image.

  • packages
    apt-get update;apt-get upgrade
    apt-get install build-essential git autoconf automake libcurl4-openssl-dev
    installed roswell setup sbcl-bin/2.4.7 manually.

  • uname -s

Linux

  • uname -m

ppc

  • ldd --version

ldd (Ubuntu EGLIBC 2.19-0ubuntu6) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

  • gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-linux-gnu/4.8/lto-wrapper
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c+
+,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --
enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --
enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-bro
wser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-powerpc/jre --enable-java-home --with-jvm-root-dir=/usr/lib
/jvm/java-1.5.0-gcj-4.8-powerpc --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-powerpc --with-arch-directory=ppc --with-ecj-jar=/usr/share/java/eclip
se-ecj.jar --enable-objc-gc --enable-secureplt --disable-softfloat --with-cpu=default32 --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --enab
le-multiarch --disable-werror --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

  • ros run -- --version

sbcl 2.4.7.roswell

  • ros run -e '(format t "A%" features)' -q

(QUICKLISP QUICKLISP-SUPPORT-HTTPS ASDF3.3 ASDF3.2 ASDF3.1 ASDF3 ASDF2 ASDF
OS-UNIX NON-BASE-CHARS-EXIST-P ASDF-UNICODE ROS.INIT PPC GENCGC ANSI-CL
BIG-ENDIAN COMMON-LISP ELF IEEE-FLOATING-POINT LINUX PACKAGE-LOCAL-NICKNAMES
SB-CORE-COMPRESSION SB-LDB SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE SBCL UNIX)

  • ldd /home/user/.roswell/impls/ppc/linux/sbcl-bin/2.4.7/bin/sbcl
  linux-vdso32.so.1 =>  (0x00100000)
  libdl.so.2 => /lib/powerpc-linux-gnu/libdl.so.2 (0x0ffdc000)
  libpthread.so.0 => /lib/powerpc-linux-gnu/libpthread.so.0 (0x0ffa1000)
  libm.so.6 => /lib/powerpc-linux-gnu/libm.so.6 (0x0fecb000)
  libc.so.6 => /lib/powerpc-linux-gnu/libc.so.6 (0x0fd2b000)
  /lib/ld.so.1 (0x20259000)

Makefile

ARCH=ppc
MEM=2048
HDD=hdd.qcow2
HDDSIZE=8G
ISOURL=https://old-releases.ubuntu.com/releases/14.04.3/ubuntu-14.04-server-powerpc.iso
ISO=$(notdir $(ISOURL))
ZURL=https://github.com/snmsts/qemu-env/releases/download/2024.10.05/archive.7z
Z=$(notdir $(ZURL))
help:

install: $(HDD) $(ISO)
	qemu-system-$(ARCH) \
		-L pc-bios \
		-boot d \
		-M mac99,via=pmu \
		-m $(MEM) \
		-hda $(HDD) \
		-cdrom $(ISO)

launch:
	qemu-system-$(ARCH) \
		-L pc-bios \
		-boot c \
		-prom-env "boot-device=hd:,\yaboot" \
		-prom-env "boot-args=conf=hd:,\yaboot.conf" \
		-M mac99,via=pmu \
		-m $(MEM) \
		-hda $(HDD)

$(HDD):
	qemu-img create -f qcow2 $@ $(HDDSIZE)
$(ISO):
	curl -L -O $(ISOURL)
$(Z):
	curl -L -O $(ZURL)
extract: $(Z)
	7z x $(Z)