[#28561] Ruby::DL vs Ruby::FFI — Aston <blackapache512-ticket@...>

Ruby.DL and FFI libraries are great for programmers like me who are not internet programmers, but are more interested in scientific and number processing etc.

11 messages 2010/03/08

[#28686] trunk (26947) build fail with msys/mingw/vista — Jon <jon.forums@...>

I get the following build failure when msysgit's "c:\git\cmd" dir is on PATH.

8 messages 2010/03/16

[#28687] [Bug #2973] rb_bug - Segmentation fault - error.c:213 — rudolf gavlas <redmine@...>

Bug #2973: rb_bug - Segmentation fault - error.c:213

10 messages 2010/03/16

[#28735] [Bug #2982] Ruby tries to link with both openssl and readline — Lucas Nussbaum <redmine@...>

Bug #2982: Ruby tries to link with both openssl and readline

16 messages 2010/03/18

[#28736] [Bug #2983] Ruby (GPLv2 only) tries to link to with readline (now GPLv3) — Lucas Nussbaum <redmine@...>

Bug #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)

10 messages 2010/03/18

[#28907] [Bug #3000] Open SSL Segfaults — Christian Höltje <redmine@...>

Bug #3000: Open SSL Segfaults

19 messages 2010/03/23

[#28924] [Bug #3005] Ruby core dump - [BUG] rb_sys_fail() - errno == 0 — Sebastian YEPES <redmine@...>

Bug #3005: Ruby core dump - [BUG] rb_sys_fail() - errno == 0

10 messages 2010/03/24

[#28954] [Feature #3010] slow require gems in ruby 1.9.1 — Miao Jiang <redmine@...>

Feature #3010: slow require gems in ruby 1.9.1

15 messages 2010/03/24

[#29179] [Bug #3071] Convert rubygems and rdoc to use psych — Aaron Patterson <redmine@...>

Bug #3071: Convert rubygems and rdoc to use psych

10 messages 2010/03/31

[ruby-core:28928] [Bug #3002] Hardcoded "gcc" in generated Ruby Makefile

From: Jon Forums <redmine@...>
Date: 2010-03-24 14:30:09 UTC
List: ruby-core #28928
Issue #3002 has been updated by Jon Forums.


Other points for consideration:

1) The requested fix is to update configure.in and/or Makefile.in to create a Makefile with the following LDSHARED. I don't speak autotools, but I believe http://github.com/ruby/ruby/blob/trunk/configure.in#L1815 and/or http://github.com/ruby/ruby/blob/trunk/Makefile.in#L61 is the place to start

   LDSHARED = $(CC) -shared $(if $(filter-out -g -g0,$(debugflags)),,-s)  

2) The current autoconf/configure generated Makefile is inconsistent with respect to only CC. The requested fix simply cleans up that inconsistently in line with http://www.gnu.org/prep/standards/standards.html#Utilities-in-Makefiles  I'm typically not a slavish follower of rules-for-rules-sake, I've learned the hard way of the value of these standards :)

3) Save experienced developers time and irritation. Anyone experienced with make/gcc tools that want's to experiment with different compilers will simply go in and fix the generated Makefile anyway. Any developer who has configured with one compiler but overrides the generated Makefile to use another compiler knows they're On-Their-Own :)

4) By enabling the Makefile's CC to be correctly overridden, interesting opportunities are now enabled as Luis pointed out with the llvm-gcc example.

5) I don't believe the requested fix sacrifices build safety or robustness in any way, but I'd like to hear specifics if anyone thinks it does.


Thank you for considering the requested fix.

Jon
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3002

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

In This Thread