Project

General

Profile

Bug #7569

siphash.c / endian.h

Added by Tuples Arefun about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby-1.9.3-p327
[ruby-core:50916]

Description

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

History

#1 [ruby-core:50933] Updated by Naohisa Goto about 4 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.

Resource:
http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_3/random.c

#2 [ruby-core:50935] Updated by Tuples Arefun about 4 years ago

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

#3 [ruby-core:50944] Updated by Naohisa Goto about 4 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