Solaris 2.5.1 for PowerPC / Compiler Availability
Solaris 2.5.1 for PowerPC / Compiler Availability
I managed to installed Solaris 2.5.1 for PowerPC on a Motorola Powerstack (MT604-133) system, but as this was a very rare OS there is virtually no software available for it...
Is anyone aware of a compiler for this system? I understand there was a release of the sun workshop compiler for ppc, but i've had absolutely no luck locating this. There are also supposedly some compatible versions of GCC however i can't find a precompiled version and without any compiler whatsoever, can't bootstrap it from source.
Is anyone aware of a compiler for this system? I understand there was a release of the sun workshop compiler for ppc, but i've had absolutely no luck locating this. There are also supposedly some compatible versions of GCC however i can't find a precompiled version and without any compiler whatsoever, can't bootstrap it from source.
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Your best hope is to try to build a cross compiler, then cross compile a compiler (canadian cross?) assuming you can find a binutils/gcc that support powerpc solaris.
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Hello,bert64 wrote:I managed to installed Solaris 2.5.1 for PowerPC on a Motorola Powerstack (MT604-133) system, but as this was a very rare OS there is virtually no software available for it...
Is anyone aware of a compiler for this system? I understand there was a release of the sun workshop compiler for ppc, but i've had absolutely no luck locating this. There are also supposedly some compatible versions of GCC however i can't find a precompiled version and without any compiler whatsoever, can't bootstrap it from source.
Same situation here. I'm running it on Powerstack E1, and searching the compilers for a long time. I've located someone who had the compilers set, he'll search for them and I'll let you know when receive the outcome.
Code: Select all
SYSTEM V/68 Release 3.0 Version 1-Rev_A M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Wow thanks, i will have my fingers crossed...
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Did we ever get hold of Solaris 2.5.1 PPC compilers? Which ones were they?
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
I, too, am also extremely interested in this. I just got set up a Solaris 2.5.1 PowerPC environment and would like to be able to write and port my own programs. If anyone can shed us light with this, it would be most appreciated. I registered to this forum for this sole reason.amix_aux wrote:Did we ever get hold of Solaris 2.5.1 PPC compilers? Which ones were they?
Thank you in advance.
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
If it was me, I'd try doing this, as it seems better than waiting for 3 years hoping one appears! Perhaps one of the posters who wants this compiler is now running Windows 10, so can use the Linux subsystem to start working on building GCC. I imagine there should be guides online for how to do this with GCC.louisw3 wrote:Your best hope is to try to build a cross compiler, then cross compile a compiler (canadian cross?) assuming you can find a binutils/gcc that support powerpc solaris.
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
I gave up on searching the compiler. The best we can try is to cross compile...
Code: Select all
SYSTEM V/68 Release 3.0 Version 1-Rev_A M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Anyone try the later Qemu to run this?
Oddly enough it'll run MacOS 9, and OS X v1.x now...
Oddly enough it'll run MacOS 9, and OS X v1.x now...
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Hi!
Anyone still playing with Solaris 2.5.1 for PowerPC? I got inspired and tried to build a cross compiling environment to produce Solaris/PPC binaries. Unfortunately I don't have a system to test it on but please feel free to have a look here: https://bitbucket.org/X25ee/solaris-cro ... rc/master/
The repo contains a test binary produced by the cross compiler. If it works it should be possible to bootstrap GCC and start building software on the platform.
If anyone can try it please let me know if it works or not. Thanks!
Anyone still playing with Solaris 2.5.1 for PowerPC? I got inspired and tried to build a cross compiling environment to produce Solaris/PPC binaries. Unfortunately I don't have a system to test it on but please feel free to have a look here: https://bitbucket.org/X25ee/solaris-cro ... rc/master/
The repo contains a test binary produced by the cross compiler. If it works it should be possible to bootstrap GCC and start building software on the platform.
If anyone can try it please let me know if it works or not. Thanks!
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Nice! I will test the binaries in 10 days when I'm back home.
Code: Select all
SYSTEM V/68 Release 3.0 Version 1-Rev_A M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Good news! It works.
Code: Select all
# uname -a;./hello-ppc
SunOS mvme1600 5.5.1 LAR prep ppc prep
Hello world from a cross compiled executable!
#
Code: Select all
SYSTEM V/68 Release 3.0 Version 1-Rev_A M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
For future reference, someone uploaded the compiler for PPC Solaris to archive.org. Sadly the compiler is missing an installer at least from what I can tell. I was unable to figure out exactly how to get it working on my 40p but this should be of use to anyone with a PPC Solaris box.
https://archive.org/download/solarisppc/ppccomp.tar.gz
https://archive.org/download/solarisppc/ppccomp.tar.gz
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
This is even better and it works tooGligar13 wrote:For future reference, someone uploaded the compiler for PPC Solaris to archive.org. Sadly the compiler is missing an installer at least from what I can tell. I was unable to figure out exactly how to get it working on my 40p but this should be of use to anyone with a PPC Solaris box.
https://archive.org/download/solarisppc/ppccomp.tar.gz
Code: Select all
SYSTEM V/68 Release 3.0 Version 1-Rev_A M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Thank you for testing wbyte! Interesting find Gligar13 - seems to be the Sun C compiler.
In case anyone is interested I continued my project and built a native GCC for Solaris 2.5.1 SPARC and PowerPC on my i386 host. Tested it on my SPARC and it works well - I was able to recompile GCC itself, gzip and emacs without issues. Updated the instructions on how to recreate and also added the GCC PPC binary to the repo: https://bitbucket.org/X25ee/solaris-cro ... rc/master/
Please test it if you want to.
In case anyone is interested I continued my project and built a native GCC for Solaris 2.5.1 SPARC and PowerPC on my i386 host. Tested it on my SPARC and it works well - I was able to recompile GCC itself, gzip and emacs without issues. Updated the instructions on how to recreate and also added the GCC PPC binary to the repo: https://bitbucket.org/X25ee/solaris-cro ... rc/master/
Please test it if you want to.
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Sadly I'm having issues compiling code, is there anything I need to point it to first or a path I need to add?X25 wrote:Thank you for testing wbyte! Interesting find Gligar13 - seems to be the Sun C compiler.
In case anyone is interested I continued my project and built a native GCC for Solaris 2.5.1 SPARC and PowerPC on my i386 host. Tested it on my SPARC and it works well - I was able to recompile GCC itself, gzip and emacs without issues. Updated the instructions on how to recreate and also added the GCC PPC binary to the repo: https://bitbucket.org/X25ee/solaris-cro ... rc/master/
Please test it if you want to.
Code: Select all
$ /opt/ppc-gcc/bin/gcc hello.c
/opt/ppc-gcc/powerpcle-sun-solaris2/bin/ld: cannot open values-Xa.o: No such file or directory
collect2: ld returned 1 exit status
$ uname -a
SunOS RS6K40P 5.5.1 LAR prep ppc IBM,PPS_Model_6015
$
Code: Select all
# find / -name "values-Xa.o"
/usr/ccs/lib/values-Xa.o
# ls /usr/ccs/lib
cpp libform.a libmenu.a liby.a llib-lmenu llib-ly.ln values-Xs.o
fp libgen.a libpanel.a llib-lform llib-lmenu.ln svr4.make values-Xt.o
help libl.a libtermcap.a llib-lform.ln llib-lpanel values-Xa.o values-xpg4.o
libcurses.a libmalloc.a libtermlib.a llib-ll.ln llib-lpanel.ln values-Xc.o
#
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Old versions of gcc are not relocatable - they want to see files in places which are hardcoded during compile-time.
That's bad news.
Good news: it's all hardcoded in the "gcc driver" ("gcc" binary itself) and the ONLY thing that said "driver" does - are execution of other programs with proper parameters. And it could show precisely what it tried to execute with "-v" option.
So... just call it with "-v" option, see what it tried to execute and tweak commands till they would work.
That's bad news.
Good news: it's all hardcoded in the "gcc driver" ("gcc" binary itself) and the ONLY thing that said "driver" does - are execution of other programs with proper parameters. And it could show precisely what it tried to execute with "-v" option.
So... just call it with "-v" option, see what it tried to execute and tweak commands till they would work.
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
At first I tried it with this and got this output:zde wrote:Old versions of gcc are not relocatable - they want to see files in places which are hardcoded during compile-time.
That's bad news.
Good news: it's all hardcoded in the "gcc driver" ("gcc" binary itself) and the ONLY thing that said "driver" does - are execution of other programs with proper parameters. And it could show precisely what it tried to execute with "-v" option.
So... just call it with "-v" option, see what it tried to execute and tweak commands till they would work.
Code: Select all
$ /opt/ppc-gcc/bin/gcc -v hello.c
Reading specs from /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/specs
gcc driver version 2.95 19990728 (release) executing gcc version 2.8.1
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=8 -DPPC -Dunix -D__sv
r4__ -D__PPC__ -D__unix__ -D__svr4__ -D__PPC -D__unix -Asystem(unix) -Asystem(svr4) -Acpu(powerpc) -Amachine(powerpc) -D
__CHAR_UNSIGNED__ -D_CALL_SYSV -D__LITTLE_ENDIAN__ -Amachine(littleendian) -D_ARCH_PPC -D__ppc -D__sun__=1 -D__unix__ -D
__svr4__ -D__SVR4__ -Dsun=1 -Dunix -DSVR4 -D__EXTENSIONS__ -Amachine(prep) hello.c /var/tmp/ccHgbucC.i
GNU CPP version 2.95 19990728 (release) (PowerPC Solaris)
#include "..." search starts here:
#include <...> search starts here:
/opt/ppc-gcc/include
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../powerpcle-sun-solaris2/include
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../include/g++-3
End of omitted list.
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cc1 /var/tmp/ccHgbucC.i -quiet -dumpbase hello.c -version -o /var/
tmp/ccWRGHab.s
GNU C version 2.95 19990728 (release) (powerpcle-sun-solaris2) compiled by GNU C version 2.8.1.
/opt/ppc-gcc/powerpcle-sun-solaris2/bin/as -le -s -V -Qy -o /var/tmp/ccxY8N22.o /var/tmp/ccWRGHab.s
GNU assembler version 2.8.1 (powerpcle-sun-solaris2), using BFD version 2.8.1
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/collect2 -V -Qy -dn -Bstatic /opt/ppc-gcc/lib/gcc-lib/powerpcle-su
n-solaris2/2.95/scrti.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/scrt0.o -L/opt/ppc-gcc/lib/gcc-lib/powerpcl
e-sun-solaris2/2.95 -L/opt/ppc-gcc/powerpcle-sun-solaris2/lib /var/tmp/ccxY8N22.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun
-solaris2/2.95/libgcc.a values-Xa.o -lc /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/libgcc.a /opt/ppc-gcc/lib/g
cc-lib/powerpcle-sun-solaris2/2.95/scrtn.o
/opt/ppc-gcc/powerpcle-sun-solaris2/bin/ld: cannot open values-Xa.o: No such file or directory
GNU ld version 2.8.1 (with BFD 2.8.1)
Supported emulations:
elf32lppc
collect2: ld returned 1 exit status
$
Code: Select all
$ ls -l /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/
total 13224
-rwxr-xr-x 1 bin bin 5157747 Feb 16 10:30 cc1
-rwxr-xr-x 1 bin bin 404074 Feb 16 10:30 collect2
-rwxr-xr-x 1 bin bin 453525 Feb 16 10:30 cpp
-rw-r--r-- 1 bin bin 1932 Feb 16 10:30 ecrti.o
-rw-r--r-- 1 bin bin 1749 Feb 16 10:30 ecrtn.o
drwxr-xr-x 3 bin bin 1024 Feb 16 10:29 include
-rw-r--r-- 1 bin bin 673012 Feb 16 10:30 libgcc.a
drwxr-xr-x 2 bin bin 512 Feb 16 10:30 nof
-rw-r--r-- 1 bin bin 4212 Feb 16 10:30 scrt0.o
-rw-r--r-- 1 bin bin 1360 Feb 16 10:30 scrti.o
-rw-r--r-- 1 bin bin 1104 Feb 16 10:30 scrtn.o
-rw-r--r-- 1 bin bin 7868 Feb 16 10:30 specs
lrwxrwxrwx 1 root other 24 Feb 22 21:35 values-Xa.o -> /usr/ccs/lib/values-Xa.o
lrwxrwxrwx 1 root other 24 Feb 22 21:36 values-Xc.o -> /usr/ccs/lib/values-Xc.o
lrwxrwxrwx 1 root other 24 Feb 22 21:36 values-Xs.o -> /usr/ccs/lib/values-Xs.o
lrwxrwxrwx 1 root other 24 Feb 22 21:36 values-Xt.o -> /usr/ccs/lib/values-Xt.o
lrwxrwxrwx 1 root other 26 Feb 22 21:37 values-xpg4.o -> /usr/ccs/lib/values-xpg4.o
$ uname -a
SunOS RS6K40P 5.5.1 LAR prep ppc IBM,PPS_Model_6015
$
Code: Select all
$ /opt/ppc-gcc/bin/gcc -v hello.c
Reading specs from /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/specs
gcc driver version 2.95 19990728 (release) executing gcc version 2.8.1
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=8 -DPPC -Dunix -D__sv
r4__ -D__PPC__ -D__unix__ -D__svr4__ -D__PPC -D__unix -Asystem(unix) -Asystem(svr4) -Acpu(powerpc) -Amachine(powerpc) -D
__CHAR_UNSIGNED__ -D_CALL_SYSV -D__LITTLE_ENDIAN__ -Amachine(littleendian) -D_ARCH_PPC -D__ppc -D__sun__=1 -D__unix__ -D
__svr4__ -D__SVR4__ -Dsun=1 -Dunix -DSVR4 -D__EXTENSIONS__ -Amachine(prep) hello.c /var/tmp/ccLD1Dmw.i
GNU CPP version 2.95 19990728 (release) (PowerPC Solaris)
#include "..." search starts here:
#include <...> search starts here:
/opt/ppc-gcc/include
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../powerpcle-sun-solaris2/include
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../include/g++-3
End of omitted list.
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cc1 /var/tmp/ccLD1Dmw.i -quiet -dumpbase hello.c -version -o /var/
tmp/cc4Bn1uZ.s
GNU C version 2.95 19990728 (release) (powerpcle-sun-solaris2) compiled by GNU C version 2.8.1.
/opt/ppc-gcc/powerpcle-sun-solaris2/bin/as -le -s -V -Qy -o /var/tmp/cctzh9vL.o /var/tmp/cc4Bn1uZ.s
GNU assembler version 2.8.1 (powerpcle-sun-solaris2), using BFD version 2.8.1
/opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/collect2 -V -Qy -dn -Bstatic /opt/ppc-gcc/lib/gcc-lib/powerpcle-su
n-solaris2/2.95/scrti.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/scrt0.o -L/opt/ppc-gcc/lib/gcc-lib/powerpcl
e-sun-solaris2/2.95 -L/opt/ppc-gcc/powerpcle-sun-solaris2/lib /var/tmp/cctzh9vL.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun
-solaris2/2.95/libgcc.a /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/values-Xa.o -lc /opt/ppc-gcc/lib/gcc-lib/po
werpcle-sun-solaris2/2.95/libgcc.a /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/scrtn.o
GNU ld version 2.8.1 (with BFD 2.8.1)
Supported emulations:
elf32lppc
$ ./a.out
Hello, World!
$
Code: Select all
$ uname -a
SunOS RS6K40P 5.5.1 LAR prep ppc IBM,PPS_Model_6015
$ ls -l /usr/ccs/lib
total 5100
-rwxr-xr-x 1 bin bin 80116 Nov 20 1995 cpp
drwxr-xr-x 3 bin bin 512 Feb 19 21:32 fp
drwxr-xr-x 4 bin bin 512 Feb 19 21:40 help
-rw-r--r-- 3 bin bin 664700 Dec 14 1995 libcurses.a
-rw-r--r-- 1 bin bin 98208 Dec 14 1995 libform.a
-rw-r--r-- 1 bin bin 63004 Dec 14 1995 libgen.a
-rw-r--r-- 1 bin bin 21824 Dec 15 1995 libl.a
-rw-r--r-- 1 bin bin 9740 Dec 14 1995 libmalloc.a
-rw-r--r-- 1 bin bin 52172 Dec 14 1995 libmenu.a
-rw-r--r-- 1 bin bin 16440 Dec 14 1995 libpanel.a
-rw-r--r-- 3 bin bin 664700 Dec 14 1995 libtermcap.a
-rw-r--r-- 3 bin bin 664700 Dec 14 1995 libtermlib.a
-rw-r--r-- 1 bin bin 2788 Dec 15 1995 liby.a
-rw-r--r-- 1 bin bin 5863 Dec 14 1995 llib-lform
-rw-r--r-- 1 bin bin 9929 Dec 14 1995 llib-lform.ln
-rw-r--r-- 1 bin bin 693 Dec 15 1995 llib-ll.ln
-rw-r--r-- 1 bin bin 3270 Dec 14 1995 llib-lmenu
-rw-r--r-- 1 bin bin 7863 Dec 14 1995 llib-lmenu.ln
-rw-r--r-- 1 bin bin 1218 Dec 14 1995 llib-lpanel
-rw-r--r-- 1 bin bin 2851 Dec 14 1995 llib-lpanel.ln
-rw-r--r-- 1 bin bin 245 Dec 15 1995 llib-ly.ln
-rwxr-xr-x 1 bin bin 167716 Nov 29 1995 svr4.make
-rw-r--r-- 1 bin bin 920 Dec 14 1995 values-Xa.o
-rw-r--r-- 1 bin bin 920 Dec 14 1995 values-Xc.o
-rw-r--r-- 1 bin bin 920 Dec 14 1995 values-Xs.o
-rw-r--r-- 1 bin bin 920 Dec 14 1995 values-Xt.o
-rw-r--r-- 1 bin bin 920 Dec 14 1995 values-xpg4.o
$
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
If you have some working compiler there then you could try to grab gcc sources and build c++ and fortran compilers (if you need fortran, that is).Gligar13 wrote:On a related note I couldn't get Sun's compiler working so it's good to know that something works on PPC Solaris now at least.
The biggest issue is old, obsolete, version of make (but you could grab GNU make, too). Eventually it should work but I couldn't give you a promise about how much you would need to play with all these thingies before it would reach usable state.
I know that people back in the day were using GNU tools on Solaris quite often because build-in tools were... not all that flexible.
At some point Sun even started offering them on separate CD - but I think that happened after PPC version was abandoned.
P.S. And yes, many developers were using GCC even back then. It was producing awful code (compared to sunPRO compiler) but it was so much more forgiving... people often picked it because they eventually become tired of fight with sunPRO...
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
wbyte wrote:Code: Select all
# uname -a;./hello-ppc SunOS mvme1600 5.5.1 LAR prep ppc prep /code][/quote] It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at). Do you know if there are any other "unmentioned" systems that can run this?
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Subject: Solaris 2.5.1 for PowerPC / Compiler Availability
sunscreen wrote:wbyte wrote:Code: Select all
# uname -a;./hello-ppc SunOS mvme1600 5.5.1 LAR prep ppc prep /code][/quote] It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at). Do you know if there are any other "unmentioned" systems that can run this?[/quote] The earlier 2.5.1 version doesn't officially support it, but it works. However the more recent Virtual OpenFirmware boot floppy detects the board correctly, which indicated the board has been supported at some point. gcc doesn't work with my installation. [quote]# ./gcc Illegal Instruction - core dumped # [/quote] At least the Sun C compiler compiles fine, even with some warnings: [quote]# /opt/SUNWspro/SC4.2/SC4.2/bin/CC a.c ld: fatal: file=a.o: relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656 # ls -la a.out -rwxr-xr-x 1 root other 10972 Feb 24 09:46 a.out # ./a.out Hello, World![/quote]
Code: Select all
SYSTEM V/68 Release 3.0 Version 1-Rev_A M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
sunscreen wrote:wbyte wrote:Code: Select all
# uname -a;./hello-ppc SunOS mvme1600 5.5.1 LAR prep ppc prep /code][/quote] It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at). Do you know if there are any other "unmentioned" systems that can run this?[/quote] It's probably because it has the ppcbug firmware and Solaris PPC has a special "Motorola" boot disk. According to one [url=https://omgwtfbbq.ca/2018/07/installing-windows-nt-4-0-on-a-powerpc/]Motorola owner, that boots Solaris[/url]. Solaris PPC is also not as strict about hardware support as AIX is, my 40p had a 3com NIC installed by the last owner which works under Solaris PPC and NT4 PPC.
Re: Solaris 2.5.1 for PowerPC / Compiler Availability
Gligar13 wrote:sunscreen wrote:wbyte wrote:Code: Select all
# uname -a;./hello-ppc SunOS mvme1600 5.5.1 LAR prep ppc prep /code][/quote] It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at). Do you know if there are any other "unmentioned" systems that can run this?[/quote] It's probably because it has the ppcbug firmware and Solaris PPC has a special "Motorola" boot disk. According to one [url=https://omgwtfbbq.ca/2018/07/installing-windows-nt-4-0-on-a-powerpc/]Motorola owner, that boots Solaris[/url]. Solaris PPC is also not as strict about hardware support as AIX is, my 40p had a 3com NIC installed by the last owner which works under Solaris PPC and NT4 PPC.[/quote] I'm still surprised that it works because all the officially supported platforms have very obvious explicit support (they show up in strings on the boot floppies, they have corresponding directories in /usr/platform etc.) whereas I can't find a trace of VME in anywhere there. Time to dig out that MVME1600 and give it a try.