Questions tagged [sparc]

SPARC(Scalable Processor Architecture) Sun Microsystems's specific CPU.

SPARC is a RISC instruction set architecture (ISA) developed by Sun Microsystems (now merged into Oracle), introduced in mid-1987.

SPARC hardware often runs Solaris, the Unix operating system, but other OSes run on SPARC hardware, and runs on more than just SPARC hardware.

SPARC doesn't allow unaligned loads, so SIGBUS (bus error) faults are a common problem when porting C or C++ to SPARC from x86 (for example).

In assembly, SPARC's 32 architectural registers are a sliding window onto a virtual register file. The save instruction that slides the window might or might not spill to memory, depending on whether the CPU microarchitecture is out of registers when it runs.

287 questions
0
votes
1 answer

ELFCLASS32 when compiling CMake on Solaris 11

I trying to compile CMake from sources on Solaris 11 machine: # uname -a SunOS 5.11 11.3 sun4v sparc sun4v Steps: wget https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-linux-x86_64.tar.gz tar -xzvf…
chs_voks
  • 35
  • 5
0
votes
2 answers

Run Sparc v9 64-bit executable on bare metal QEMU

I tried this recipe : How to run a bare metal ELF file on QEMU? to run bare metal AArch64 executables on QEMU (and it worked). I'd like to do the same for 64-bit SPARCv9 executables (preferably starting from C/C++, not assembly) - I tried the…
ihi
  • 107
  • 1
  • 9
0
votes
0 answers

Unable to assemble SPARC ASM code using GCC

I am learning SPARC Asm and trying to do some simple exercises, mostly learning from the Internet. But my problem is: I cannot assemble the code, and it's hard for me to find any sources on where and how to do that. My sample code (should calculate…
nooblet
  • 1
  • 1
  • 1
0
votes
2 answers

solaris sparc 9/10 libstdc++ compatibilty issue (64 bit)

I have gcc 3.4.6 installed on sparc9 and sparc10 systems. I am having incompatibility issues when I try to use shared object(built on sparc9) on sparc10. I am not seeing any issue if I use same shared object on sparc9 system. Snippet from…
confused
  • 147
  • 3
  • 15
0
votes
1 answer

Cross-compiler for OpenSPARC T1 platform?

I am working on an x86 processor that runs either Linux or Win7. I try to get some standalone applications working on an OpenSPARC T1 platform. In the manual it says the following: "Make scripts are included to make it easy to recompile the C…
Mike
  • 71
  • 1
  • 3
0
votes
1 answer

Solaris (SPARC) to Google Compute Engine

How can we move Solaris (SPARC Cluster) from On-Prem to GCP Compute Engine? Does Velostrata supports migration from Solaris?
0
votes
0 answers

gsl - unable to compile shared library

I'm trying to cross-compile the gsl library as a shared library - as opposed to static, which works fine - due to memory constraints on the target microcontroller. This seems worth the effort since doing the same for x86 seems to save at least 10x…
0
votes
1 answer

What is odd-even register pairing in Sparc processor?

A Sparc simulator that I have gave me Trap: illegal_instruction, Destination is an odd-even register pair for an ld instruction. What exactly is the odd-even pairing in the processor? Does it have something to do with memory alignment? I have gone…
SonOfEl
  • 175
  • 1
  • 10
0
votes
0 answers

Why does ELF file have so many blank spaces?

I'm sorry about the weird snippets. I won't be able to paste the exact code. The following list from an ELF file shows addresses and commands at them. 0x4000XXXX: [someInstr] [someReg], [someReg2], [someReg3] 0x4000XXXY: [someInstr]…
SonOfEl
  • 175
  • 1
  • 10
0
votes
1 answer

Installing Anaconda or Python on Sun Solaris 11.4 with Sparc architecture

I am trying to install Python or anaconda on Sun solaris 11.4 system with Sparc architecture. Somebody has idea on the python or anaconda installer compatible to same
digvijay
  • 71
  • 4
0
votes
1 answer

SPARC v8: local registers usage

I am using assembly program mixed with high level language. Can I use a local registers (l0 to l7), for programming? As I have two observations. Machine code generated by compiler don't have local registers. Register l0 to l3 used by trap…
0
votes
1 answer

How to build a binary for C source code in Gradle, but not executable?

I'm new in stack overflow and I want to get some idea how I can build c binary(NOT executable program) on Gradle. Now, I could not build c binary(NOT executable program). There is an error, however I don't know how to change build.gradle…
Ethan
  • 1
  • 1
0
votes
2 answers

Trying to compile libmemcached in Solaris 10 SPARC

I have a SPARC enterprise server with Solaris 10 SPARC OS installed. I have unpacked the tarball file 'libmemcached-0.10.tar.gz' into a directory and I am trying to compile it. I get the following error on terminal pod2man: command not found What…
0
votes
1 answer

Floating point invalid register access

While writing assembly code for SPARC V8 I get invalid fp register access. I just want to know that why while writing double precision instructions operation only even numbered register should be used what is the problem giving odd-numbered…
aks
  • 27
  • 8
0
votes
1 answer

What does sed 's expression do in a Makefile

I have Makefile from an older project which I have to modify for a new system. It has the following global definitions for its source and object files: SRCFILES = $(wildcard *.c) $(wildcard tasks/*.c) SRCDIR = . OBJDIR = objdir OBJFILES =…
Ali You
  • 13
  • 3