Bug #7569

siphash.c / endian.h

Added by Tuples Arefun almost 3 years ago. Updated almost 3 years ago.

ruby -v:ruby-1.9.3-p327 Backport:


siphash.c includes endian.h, but on Solaris, there is no such file. BYTE_ORDER also does not exist.

There needs to be a different solution.

This makes it impossible to compile ruby.

SunOS abc.local 5.11 joyent_20120912T055050Z i86pc i386 i86pc Solaris

Related issues

Duplicates Backport193 - Backport #7347: 1.9.3p327 Build fails on Solaris 10 SPARC due to missing endian.h Closed 11/13/2012
Duplicates Backport193 - Backport #7470: ruby 1.9.3-p327 compile failure in siphash.c on Solaris because of endian.h Closed 11/29/2012


#1 Updated by Naohisa Goto almost 3 years ago

  • Status changed from Open to Feedback

It seems it is the same as #7470. Please try the following solution.

In [Backport93 - Backport #7470], usa (Usaku NAKAMURA) wrote:
It's already fixed on the repository, but not released yet.
Check out r37593 or later from ruby_1_9_3 branch, or simply patch the revision by hand, please.

IMO the simplest way is downloading random.c of the revision and replace the file in p327 package.


#2 Updated by Tuples Arefun almost 3 years ago

You are right, and I should have searched more thoroughly.

#3 Updated by Naohisa Goto almost 3 years ago

  • Status changed from Feedback to Closed

This issue is marked as duplicate of #7347 and #7470.
If you find Solaris 11 and/or Solaris x86 specific problems, please submit another report.

Also available in: Atom PDF