[#36711] [Ruby 1.9 - Bug #4821][Open] Random Segfaults (in start_thread?) — Ivan Bortko <b2630639@...>

22 messages 2011/06/03

[#36730] [Ruby 1.9 - Feature #4824][Open] Provide method Kernel#executed? — Lazaridis Ilias <ilias@...>

56 messages 2011/06/04

[#36750] [Ruby 1.9 - Feature #4830][Open] Provide Default Variables for Array#each and other iterators — Lazaridis Ilias <ilias@...>

24 messages 2011/06/05

[#36785] [Ruby 1.9 - Feature #4840][Open] Allow returning from require — Rodrigo Rosenfeld Rosas <rr.rosas@...>

53 messages 2011/06/06
[#36811] Re: [Ruby 1.9 - Feature #4840][Open] Allow returning from require — Yusuke ENDOH <mame@...> 2011/06/07

Hello,

[#36799] [Ruby 1.9 - Feature #4845][Open] Provide Class#cb_object_instantiated_from_literal(object) — Lazaridis Ilias <ilias@...>

11 messages 2011/06/06

[#36834] [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O — Charles Nutter <headius@...>

10 messages 2011/06/08
[#36860] Re: [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O — Eric Wong <normalperson@...> 2011/06/08

Charles Nutter <headius@headius.com> wrote:

[#36863] Object#trust vs Object#taint — Aaron Patterson <aaron@...>

Hi,

16 messages 2011/06/08
[#36866] Re: Object#trust vs Object#taint — Yukihiro Matsumoto <matz@...> 2011/06/08

Hi,

[#36873] Re: Object#trust vs Object#taint — Aaron Patterson <aaron@...> 2011/06/09

On Thu, Jun 09, 2011 at 07:49:06AM +0900, Yukihiro Matsumoto wrote:

[#37071] [Ruby 1.9 - Feature #4877][Open] Unify Variable Expansion within Strings — Lazaridis Ilias <ilias@...>

12 messages 2011/06/12

[#37106] ruby core tutorials location — Roger Pack <rogerdpack2@...>

Hello all.

10 messages 2011/06/13
[#37107] Re: ruby core tutorials location — Jon <jon.forums@...> 2011/06/13

> Hello all.

[#37115] Re: ruby core tutorials location — Roger Pack <rogerdpack2@...> 2011/06/13

> Rather than adding links to source code, I would prefer the wikibooks link and others under a new Tutorials section of http://www.ruby-lang.org/en/documentation/ as well as adding http://ruby.runpaint.org/ to the existing Getting Started section.

[#37117] Re: ruby core tutorials location — Jon <jon.forums@...> 2011/06/13

> > Rather than adding links to source code, I would prefer the wikibooks link and others under a new Tutorials section of http://www.ruby-lang.org/en/documentation/ as well as adding http://ruby.runpaint.org/ to the existing Getting Started section.

[#37128] Re: ruby core tutorials location — Roger Pack <rogerdpack2@...> 2011/06/14

> I like what you're trying to do and see how great that tutorial connection from rdoc/yard could be, say, mixing with existing ruby-doc.org and rubydoc.info. ut I question embedding source links to info in which the info can easily grow outdated or abandoned as time passes. I also question the ongoing maintenance burdens.

[#37137] Re: ruby core tutorials location — Jon <jon.forums@...> 2011/06/14

> > I like what you're trying to do and see how great that tutorial connection from rdoc/yard could be, say, mixing with existing ruby-doc.org and rubydoc.info. ut I question embedding source links to info in which the info can easily grow outdated or abandoned as time passes. I also question the ongoing maintenance burdens.

[#37164] [Ruby 1.9 - Feature #4890][Open] Enumerable#lazy — Yutaka HARA <redmine@...>

30 messages 2011/06/16

[#37170] [Ruby 1.9 - Bug #4893][Open] Literal Instantiation breaks Object Model — Lazaridis Ilias <ilias@...>

61 messages 2011/06/16

[#37207] [Ruby 1.9 - Feature #4897][Open] Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/ — Simon Baird <simon.baird@...>

43 messages 2011/06/17

[#37286] [Ruby 1.9 - Bug #4916][Open] [BUG] Segmentation fault - dyld: lazy symbol binding failed: Symbol not found: _ASN1_put_eoc — Hiroshi NAKAMURA <nakahiro@...>

9 messages 2011/06/22

[#37324] [Ruby 1.9 - Bug #4923][Open] [ext/openssl] test_ssl.rb: test_client_auth fails — Martin Bosslet <Martin.Bosslet@...>

19 messages 2011/06/23

[#37576] [Ruby 1.9 - Feature #4938][Open] Add Random.bytes [patch] — Marc-Andre Lafortune <ruby-core@...>

13 messages 2011/06/27

[#37612] [Ruby 1.9 - Bug #4941][Open] cannot load such file -- rubygems.rb (LoadError) — Lazaridis Ilias <ilias@...>

25 messages 2011/06/28

[ruby-core:36976] [Ruby 1.9 - Bug #3231] Digest Does Not Build

From: Koichi Sasada <redmine@...>
Date: 2011-06-11 06:01:54 UTC
List: ruby-core #36976
Issue #3231 has been updated by Koichi Sasada.


Who should handle this ticket?

----------------------------------------
Bug #3231: Digest Does Not Build
http://redmine.ruby-lang.org/issues/3231

Author: Charlie Savage
Status: Assigned
Priority: Normal
Assignee: Akinori MUSHA
Category: ext
Target version: 1.9.x
ruby -v: HEAD


=begin
 Revisiting this one from a few weeks back.  MD5/rmd160/sha1/sha2 do not build using VC 2010.  They do build with Mingw (mingw + msys). See compiler logs below.
 
 Focusing on MD5 (they all have the same issue):
 
 extconf.h is generated like this:
 
 #ifndef EXTCONF_H
 #define EXTCONF_H
 #define HAVE_CONFIG_H 1
 #define HAVE_OPENSSL_MD5_H 1
 #endif
 
 Then in md5init.c:
 
 #include "digest.h"
 #if defined(HAVE_OPENSSL_MD5_H)
 #include "md5ossl.h"
 #else
 #include "md5.h"
 #endif
 
 Since extconf.h is never passed to the compiler, the error happens.  Adding this to the top of the file:
 
 #define HAVE_OPENSSL_MD5_H
 
 Fixes the issue. Clearly that's a hack, but I don't understand how extconf.h is used in building the extension since the only place it comes into play is in the generated makefile:
 
 $(OBJS): $(RUBY_EXTCONF_H)
 
 So not sure the solution, but the problem is that having openssl installed correctly breaks the VC digest extension build.
 
 ----------------
 1. Digest/MD5
 
       cl -nologo -LD -Fe../../../.ext/i386-mswin32_100/digest/md5.so md5init.obj md5ossl.obj msvcr100-ruby191.lib crypto.lib  unicows.lib oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib  -link -incremental:no -debug -opt:ref -opt:icf -incremental:no -debug -opt:ref -opt:icf -dll -libpath:. -libpath:../../.. -implib:md5-i386-mswin32_100.lib -pdb:md5-i386-mswin32_100.pdb -def:md5-i386-mswin32_100.def
    Creating library md5-i386-mswin32_100.lib and object md5-i386-mswin32_100.exp
 md5init.obj : error LNK2001: unresolved external symbol _rb_Digest_MD5_Finish
 md5init.obj : error LNK2001: unresolved external symbol _rb_Digest_MD5_Update
 md5init.obj : error LNK2001: unresolved external symbol _rb_Digest_MD5_Init
 ../../../.ext/i386-mswin32_100/digest/md5.so : fatal error LNK1120: 3 unresolved externals
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
 Stop.
 
 2. Digest/rmd160
 
         cl -nologo -LD -Fe../../../.ext/i386-mswin32_100/digest/rmd160.so rmd160init.obj rmd160ossl.obj msvcr100-ruby191.lib crypto.lib  unicows.lib oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib  -link -incremental:no -debug -opt:ref -opt:icf -incremental:no -debug -opt:ref -opt:icf -dll -libpath:. -libpath:../../.. -implib:rmd160-i386-mswin32_100.lib -pdb:rmd160-i386-mswin32_100.pdb -def:rmd160-i386-mswin32_100.def
    Creating library rmd160-i386-mswin32_100.lib and object rmd160-i386-mswin32_100.exp
 rmd160init.obj : error LNK2001: unresolved external symbol _rb_Digest_RMD160_Finish
 rmd160init.obj : error LNK2001: unresolved external symbol _rb_Digest_RMD160_Update
 rmd160init.obj : error LNK2001: unresolved external symbol _rb_Digest_RMD160_Init
 ../../../.ext/i386-mswin32_100/digest/rmd160.so : fatal error LNK1120: 3 unresolved externals
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
 
 3.  Digest/sha1
 
        cl -nologo -LD -Fe../../../.ext/i386-mswin32_100/digest/sha1.so sha1init.obj sha1ossl.obj msvcr100-ruby191.lib crypto.lib  unicows.lib oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib  -link -incremental:no -debug -opt:ref -opt:icf -incremental:no -debug -opt:ref -opt:icf -dll -libpath:. -libpath:../../.. -implib:sha1-i386-mswin32_100.lib -pdb:sha1-i386-mswin32_100.pdb -def:sha1-i386-mswin32_100.def
    Creating library sha1-i386-mswin32_100.lib and object sha1-i386-mswin32_100.exp
 sha1init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA1_Finish
 sha1init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA1_Update
 sha1init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA1_Init
 ../../../.ext/i386-mswin32_100/digest/sha1.so : fatal error LNK1120: 3 unresolved externals
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
 Stop.
 4. Digest/sha2
          cl -nologo -LD -Fe../../../.ext/i386-mswin32_100/digest/sha2.so sha2init.obj sha2ossl.obj msvcr100-ruby191.lib crypto.lib  unicows.lib oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib  -link -incremental:no -debug -opt:ref -opt:icf -incremental:no -debug -opt:ref -opt:icf -dll -libpath:. -libpath:../../.. -implib:sha2-i386-mswin32_100.lib -pdb:sha2-i386-mswin32_100.pdb -def:sha2-i386-mswin32_100.def
    Creating library sha2-i386-mswin32_100.lib and object sha2-i386-mswin32_100.exp
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA512_Finish
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA512_Update
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA512_Init
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA384_Finish
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA384_Update
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA384_Init
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA256_Finish
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA256_Update
 sha2init.obj : error LNK2001: unresolved external symbol _rb_Digest_SHA256_Init
 ../../../.ext/i386-mswin32_100/digest/sha2.so : fatal error LNK1120: 9 unresolved externals
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
 Stop.
 
 c:\Development\src\ruby\ext\digest\sha2>
=end



-- 
http://redmine.ruby-lang.org

In This Thread

Prev Next