Backport #7633

Build failure ruby 1.9.3p362 with x64 VC2012

Added by Heesob Park over 1 year ago. Updated over 1 year ago.

[ruby-core:51179]
Status:Closed
Priority:Normal
Assignee:-

Description

I cannot build ruby 1.9.3p362 with x64 VC2012 on Windows 8.

C:\work\ruby-1.9.3-p362>nmake

Microsoft(R) Program Maintenance Utility 버전 11.00.50727.1
Copyright (c) Microsoft Corporation. All rights reserved.

    CC = cl -nologo
    LD = cl -nologo
    LDSHARED = cl -nologo -LD
    CFLAGS = -MD -Zi -W2 -wd4996 -we4028 -we4142 -O2sy-  -Zm600
    XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/x64-mswin64_110 -I./include -

I. -I./missing
CPPFLAGS =
DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf -dll
SOLIBS =
Creating config.h
.ext\include\x64-mswin64110\ruby\config.h unchanged.
Creating config.status
compiling main.c
main.c
compiling dmydln.c
dmydln.c
compiling miniruby.rc
compiling dmyencoding.c
dmyencoding.c
compiling version.c
version.c
compiling dmyversion.c
dmyversion.c
compiling miniprelude.c
miniprelude.c
compiling array.c
array.c
compiling bignum.c
bignum.c
compiling class.c
class.c
compiling compar.c
compar.c
compiling complex.c
complex.c
compiling dir.c
dir.c
compiling dln
find.c
dlnfind.c
compiling enum.c
enum.c
compiling enumerator.c
enumerator.c
compiling error.c
error.c
compiling eval.c
eval.c
compiling load.c
load.c
compiling proc.c
proc.c
compiling file.c
file.c
compiling gc.c
gc.c
compiling hash.c
hash.c
compiling inits.c
inits.c
compiling io.c
io.c
compiling marshal.c
marshal.c
compiling math.c
math.c
compiling node.c
node.c
compiling numeric.c
numeric.c
compiling object.c
object.c
compiling pack.c
pack.c
compiling parse.c
parse.c
compiling process.c
process.c
compiling random.c
random.c
compiling range.c
range.c
compiling rational.c
rational.c
compiling re.c
re.c
compiling regcomp.c
regcomp.c
compiling regenc.c
regenc.c
compiling regerror.c
regerror.c
compiling regexec.c
regexec.c
compiling regparse.c
regparse.c
compiling regsyntax.c
regsyntax.c
compiling ruby.c
ruby.c
compiling safe.c
safe.c
compiling signal.c
signal.c
compiling sprintf.c
sprintf.c
compiling st.c
st.c
compiling strftime.c
strftime.c
compiling string.c
string.c
compiling struct.c
struct.c
compiling time.c
time.c
compiling transcode.c
transcode.c
compiling util.c
util.c
compiling variable.c
variable.c
compiling compile.c
compile.c
compiling debug.c
debug.c
compiling iseq.c
iseq.c
compiling vm.c
vm.c
compiling vm
dump.c
vmdump.c
compiling thread.c
thread.c
compiling cont.c
cont.c
compiling ./enc/ascii.c
ascii.c
compiling ./enc/us
ascii.c
usascii.c
compiling ./enc/unicode.c
unicode.c
compiling ./enc/utf
8.c
utf8.c
compiling newline.c
newline.c
compiling ./missing/acosh.c
acosh.c
compiling ./missing/cbrt.c
cbrt.c
compiling ./missing/crypt.c
crypt.c
compiling ./missing/erf.c
erf.c
compiling ./missing/ffs.c
ffs.c
compiling ./missing/langinfo.c
langinfo.c
compiling ./missing/lgamma
r.c
lgammar.c
compiling ./missing/strlcat.c
strlcat.c
compiling ./missing/strlcpy.c
strlcpy.c
compiling ./missing/tgamma.c
tgamma.c
compiling win32/win32.c
win32.c
compiling win32/file.c
file.c
compiling ./missing/setproctitle.c
setproctitle.c
compiling dmyext.c
dmyext.c
oldnames.lib user32.lib advapi32.lib shell32.lib ws2
32.lib imagehlp.lib shlwapi.lib
linking miniruby.exe
ruby 1.9.3p362 (2012-12-25 revision 38607) [x64-mswin64_110]

Microsoft(R) Program Maintenance Utility 버전 11.00.50727.1
Copyright (c) Microsoft Corporation. All rights reserved.

./tool/mkconfig.rb:4: [BUG] Segmentation fault
ruby 1.9.3p362 (2012-12-25 revision 38607) [x64-mswin64_110]

-- Control frame information -----------------------------------------------
c:0003 p:0011 s:0027 b:0027 l:000d98 d:001fe0 EVAL ./tool/mkconfig.rb:4
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000d98 d:000d98 TOP

-- Ruby level backtrace information ----------------------------------------
./tool/mkconfig.rb:4:in `'

-- C level backtrace information -------------------------------------------
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0xa) [0x000007FE12902C2A]
C:\WINDOWS\system32\KERNELBASE.dll(WaitForSingleObjectEx+0x9a) [0x000007FE0FA410EA]
C:\work\ruby-1.9.3-p362\miniruby.exe(rbvmbugreport+0xa3) [0x000007F6E51818A7] c:\work\ruby-1.9.3-p362\vmdump.c:818
C:\work\ruby-1.9.3-p362\miniruby.exe(report
bug+0xe8) [0x000007F6E50C4F90] c:\work\ruby-1.9.3-p362\error.c:260
C:\work\ruby-1.9.3-p362\miniruby.exe(rbbug+0x49) [0x000007F6E50C42E9] c:\work\ruby-1.9.3-p362\error.c:281
C:\work\ruby-1.9.3-p362\miniruby.exe(sigsegv+0x48) [0x000007F6E5135CCC] c:\work\ruby-1.9.3-p362\signal.c:609
C:\WINDOWS\SYSTEM32\MSVCR110.dll(XcptFilter+0x1a9) [0x000007FDFCACF2B5]
C:\work\ruby-1.9.3-p362\miniruby.exe(
tmainCRTStartup$filt$0+0x16) [0x000007F6E5192EC1] f:\dd\vctools\crtbld\self64amd64\crt\src\crtexe.c:553
C:\WINDOWS\SYSTEM32\MSVCR110.dll(Cspecifichandler+0x93) [0x000007FDFCACE66F]
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlLookupFunctionEntry+0x26d) [0x000007FE1292464D]
C:\WINDOWS\SYSTEM32\ntdll.dll(DbgPrint+0x47c) [0x000007FE1292567C]
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x000007FE12904BBA]
C:\work\ruby-1.9.3-p362\miniruby.exe(rb
gvarget+0x0) [0x000007F6E5163670] c:\work\ruby-1.9.3-p362\variable.c:671
C:\work\ruby-1.9.3-p362\miniruby.exe(vm
execcore+0x579) [0x000007F6E517B519] c:\work\ruby-1.9.3-p362\vm.inc:382
C:\work\ruby-1.9.3-p362\miniruby.exe(vm
exec+0xa6) [0x000007F6E517AB26] c:\work\ruby-1.9.3-p362\vm.c:1228
C:\work\ruby-1.9.3-p362\miniruby.exe(rbiseqevalmain+0xa1) [0x000007F6E51768D9] c:\work\ruby-1.9.3-p362\vm.c:1471
C:\work\ruby-1.9.3-p362\miniruby.exe(ruby
execinternal+0xa1) [0x000007F6E50C769D] c:\work\ruby-1.9.3-p362\eval.c:209
C:\work\ruby-1.9.3-p362\miniruby.exe(ruby
execnode+0x1d) [0x000007F6E50C76E9] c:\work\ruby-1.9.3-p362\eval.c:252
C:\work\ruby-1.9.3-p362\miniruby.exe(ruby
runnode+0x30) [0x000007F6E50C79F8] c:\work\ruby-1.9.3-p362\eval.c:244
C:\work\ruby-1.9.3-p362\miniruby.exe(main+0x40) [0x000007F6E50A1040] c:\work\ruby-1.9.3-p362\main.c:40
C:\work\ruby-1.9.3-p362\miniruby.exe(
tmainCRTStartup+0x10f) [0x000007F6E5192B5F] f:\dd\vctools\crtbld\self64amd64\crt\src\crtexe.c:536
C:\WINDOWS\system32\KERNEL32.DLL(BaseThreadInitThunk+0x1a) [0x000007FE11B8167E]

-- Other runtime information -----------------------------------------------

  • Loaded script: ./tool/mkconfig.rb

  • Loaded features:

    0 enumerator.so

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

NMAKE : fatal error U1077: '.\miniruby.exe' : '0x3' 반환 코드입니다.
Stop.

Associated revisions

Revision 38779
Added by Usaku NAKAMURA over 1 year ago

merge revision(s) 37661: [Backport #7633]

* vm_exec.h (GENTRY): GENTRY should be pointer size.
  A patch by yoshidam (Yoshida Masato) [Bug #7332].

History

#1 Updated by Heesob Park over 1 year ago

I found that this issue is equal to bug #7332.

The changeset r37661 should be backported.

#2 Updated by Nobuyoshi Nakada over 1 year ago

  • Tracker changed from Bug to Backport
  • Project changed from ruby-trunk to Backport93

#3 Updated by Usaku NAKAMURA over 1 year ago

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

This issue was solved with changeset r38779.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 37661: [Backport #7633]

* vm_exec.h (GENTRY): GENTRY should be pointer size.
  A patch by yoshidam (Yoshida Masato) [Bug #7332].

Also available in: Atom PDF