Bug #3091: Invalid def file - Breaks Windows Build
http://redmine.ruby-lang.org/issues/show/3091

Author: Charlie Savage
Status: Open, Priority: High
Category: build, Target version: 1.9.2
ruby -v: ruby 1.9.2dev (2010-04-05) [i386-mswin32_100]

Using VC 2010 beta, Ruby no longers compiles (this is new in the last few days).

The problem is the generated def file, msvcr100-ruby191, is incorrect. It includes this line:

_real@3f800000 DATA

This comes from dumpbin -symbols -exports

0EE 00000000 SECT19 notype       External     | __real@3ff8000000000000
0F8 00000000 SECT1A notype       External     | __real@3f800000
116 00000000 SECT9  notype       External     | __real@3ff0000000000000

The end result is a linker error when building the msvcr100-ruby191.dll

The issue appears to be the regex used by mkexports to filter these out.  Patch is attached.


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