Open andrewrk opened 4 years ago
If anyone needs SPARC hardware for testing, I can make some available. Andrew will put you in touch with me if necessary.
Pardon me for bumping this old thread, but is there any chance for a SPARC CI runner to happen?
The machine referenced above is gcc102.fsffrance.org
at the GCC Compile Farm: https://cfarm.tetaneutral.net/machines/list/.
Please let me know what (if anything) on the server side is needed to facilitate this.
I'm very interested in helping make this reality: Feel free to ping me for any help.
In the meantime, I'm going to play around and see what I can get working :)
Theres a duplicate field here causing compile errors targetting sparc64 linux
Build Summary: 0/3 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install zosu2011 transitive failure
└─ zig build-exe zosu2011 Debug sparc64-linux 1 errors
C:\Users\ep1cm\Downloads\zig\lib\std\os\linux\sparc64.zig:448:5: error: duplicate struct field: 'sigmask'
sigmask: sigset_t,
^~~~~~~
C:\Users\ep1cm\Downloads\zig\lib\std\os\linux\sparc64.zig:445:5: note: other field here
sigmask: u64,
^~~~~~~
C:\Users\ep1cm\Downloads\zig\lib\std\os\linux\sparc64.zig:442:31: note: struct declared here
pub const ucontext_t = extern struct {
~~~~~~~^~~~~~
referenced by:
ucontext_t: C:\Users\ep1cm\Downloads\zig\lib\std\os\linux\sparc64.zig:442:31
ucontext_t: C:\Users\ep1cm\Downloads\zig\lib\std\os\linux.zig:87:33
remaining reference traces hidden; use '-freference-trace' to see all reference traces
should i open a separate issue for this?
no, open the pr directly and reference back to this. include the test program you got to pass and command you ran to test in the pr description
The main blocker now is linking support. LLD seems to only have partial support for sparc64 (and none for sparc32).
A little humor:
Trying to build zig for this target gives:
Behavior tests:
Hello world:
Building C hello world: