Project

General

Profile

Bug #3091

Invalid def file - Breaks Windows Build

Added by cfis (Charlie Savage) about 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-04-05) [i386-mswin32_100]
Backport:
[ruby-core:29254]

Description

=begin
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.
=end


Files

mkexports.patch (614 Bytes) mkexports.patch cfis (Charlie Savage), 04/05/2010 12:11 PM
#1

Updated by usa (Usaku NAKAMURA) about 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r27220.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF