draios / sysdig

Linux system exploration and troubleshooting tool with first class support for containers
http://www.sysdig.com/
Other
7.74k stars 729 forks source link

Build for Solaris #53

Closed gianlucaborello closed 10 years ago

gianlucaborello commented 10 years ago

There's no reason why sysdig (the userspace part) should not build on Solaris, it's probably just a matter of putting some IFDEFs around libscap, it just hasn't been done yet.

kristopolous commented 10 years ago

Hey what are we looking at here --- I gave gerald a sun20 in 2008 ... if he still has that we can use that.

I think it's important that we separate out the byte-alignment requirement of the SPARC architecture versus the support of indiana, nexenta, or any of the other SunOS based x86/amd64 clones out there.

The first is harder, and perhaps uncalled for in 2014. The second is easier and I can handle.

Anyway, let me hit up gerald and see if I can get access to the box still.

kristopolous commented 10 years ago

regardless, I'll snag it (unless some sun fanboy out there wants to take it away before I close it out).

As of now I have access to a

SunOS 5.10 Generic_141444-09 sun4u sparc SUNW,Ultra-Enterprise

I'll talk with the owner and see if he's ok with me deving this feature on it.

gianlucaborello commented 10 years ago

Maybe it would be worth just spinning an instance of SmartOS somewhere, so that we can also hook it up to our jenkins?

I know it won't cover all the architectural differences, but I wouldn't put too much effort on it (I thought about creating an even lower priority tag): remember that the capture part won't be there anyway, so I doubt there will be many users using a Solaris box just as a workstation to analyze dump files captured in another Linux instance, but I might be wrong.

kristopolous commented 10 years ago

Ok so we have https://github.com/draios/sysdig/wiki/Building-sysdig-on-x86-based-Solaris-11.1 and https://github.com/draios/sysdig/pull/85 to cover this.

gianlucaborello commented 10 years ago

closing this then, great