Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure using VS2015 #15993

Open
p5pRT opened this issue Jun 2, 2017 · 5 comments
Open

Build Failure using VS2015 #15993

p5pRT opened this issue Jun 2, 2017 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 2, 2017

Migrated from rt.perl.org#131484 (status was 'open')

Searchable as RT131484$

@p5pRT
Copy link
Author

p5pRT commented Jun 2, 2017

From Dessa@gmake.de

Created by Dessa@gmake.de

This is a bug report for perl from Dessa@​gmake.de,
generated with the help of perlbug 1.40 running under perl 5.26.0.

Compilation failed using CCTYPE = MSVC140 on win32_64 compiling for 64 bit

cl -c -I.. -nologo -GF -W3 -I..\lib\CORE -I.\include -I. -I..
-DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERLDLL
-DPERL_CORE -O1 -MD -Zi -DNDEBUG -GL -fp:precise
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-Fo..\generate_uudmap.obj ..\generate_uudmap.c
generate_uudmap.c
link -out:..\generate_uudmap.exe
@C:\Users\Kuja\AppData\Local\Temp\nmDFFB.tmp
generate_uudmap.obj : error LNK2001: unresolved external symbol __imp_exit
generate_uudmap.obj : error LNK2001: unresolved external symbol __imp_fputc
generate_uudmap.obj : error LNK2001: unresolved external symbol __imp_fopen
generate_uudmap.obj : error LNK2001: unresolved external symbol
__imp___acrt_iob_func
generate_uudmap.obj : error LNK2001: unresolved external symbol __imp_fclose
generate_uudmap.obj : error LNK2001: unresolved external symbol
__imp___stdio_common_vfprintf
generate_uudmap.obj : error LNK2001: unresolved external symbol __imp__errno
generate_uudmap.obj : error LNK2001: unresolved external symbol __imp_fputs
generate_uudmap.obj : error LNK2001: unresolved external symbol
__imp_strerror
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_seh_filter_exe
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_set_app_type
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
__setusermatherr
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_configure_narrow_argv
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_configure_narrow_argv
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_initialize_narrow_environment
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_initialize_narrow_environment
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_get_initial_narrow_environment
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_initterm
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_initterm_e
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol exit
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol _exit
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_set_fmode
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
__p___argc
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
__p___argv
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol _cexit
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol _cexit
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol _c_exit
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_register_thread_local_exe_atexit_callback
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_configthreadlocale
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
_set_new_mode
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
__p__commode
msvcrt.lib(exe_main.obj) : error LNK2001: unresolved external symbol
__C_specific_handler
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
__C_specific_handler
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_seh_filter_dll
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_initialize_onexit_table
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_register_onexit_function
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_execute_onexit_table
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_crt_atexit
msvcrt.lib(utility.obj) : error LNK2001: unresolved external symbol
_crt_at_quick_exit
msvcrt.lib(tncleanup.obj) : error LNK2001: unresolved external symbol
__std_type_info_destroy_list
msvcrt.lib(utility_desktop.obj) : error LNK2001: unresolved external
symbol terminate
msvcrt.lib(utility_desktop.obj) : error LNK2001: unresolved external
symbol memset
..\generate_uudmap.exe : fatal error LNK1120: 38 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 14.0\VC\BIN\amd64\link.EXE"' : return code '0x460'

the information below is from a successful MSVC2013 build

Perl Info

Flags:
     category=core
     severity=low

Site configuration information for perl 5.26.0:

Configured by Kuja at Fri Jun  2 17:23:19 2017.

Summary of my perl5 (revision 5 version 26 subversion 0) configuration:

   Platform:
     osname=MSWin32
     osvers=10.0
     archname=MSWin32-x64-multi-thread
     uname=''
     config_args='undef'
     hint=recommended
     useposix=true
     d_sigaction=undef
     useithreads=define
     usemultiplicity=define
     use64bitint=define
     use64bitall=undef
     uselongdouble=undef
     usemymalloc=n
     default_inc_excludes_dot=define
     bincompat5005=undef
   Compiler:
     cc='cl'
     ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL -fp:precise 
-DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE 
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS'
     optimize='-O1 -MD -Zi -DNDEBUG -GL -fp:precise'
     cppflags='-DWIN32'
     ccversion='18.00.40629'
     gccversion=''
     gccosandvers=''
     intsize=4
     longsize=4
     ptrsize=8
     doublesize=8
     byteorder=12345678
     doublekind=3
     d_longlong=undef
     longlongsize=8
     d_longdbl=define
     longdblsize=8
     longdblkind=0
     ivtype='__int64'
     ivsize=8
     nvtype='double'
     nvsize=8
     Off_t='__int64'
     lseeksize=8
     alignbytes=8
     prototype=define
   Linker and Libraries:
     ld='link'
     ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -ltcg 
-libpath:"c:\perl\lib\CORE"  -machine:AMD64'
     libpth=\lib
     libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib    version.lib 
odbc32.lib odbccp32.lib comctl32.lib bufferoverflowU.lib msvcrt.lib
     perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib 
winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib 
oleaut32.lib    netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib  
version.lib odbc32.lib odbccp32.lib comctl32.lib bufferoverflowU.lib 
msvcrt.lib
     libc=msvcrt.lib
     so=dll
     useshrplib=true
     libperl=perl526.lib
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_win32.xs
     dlext=dll
     d_dlsymun=undef
     ccdlflags=' '
     cccdlflags=' '
     lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg  
-libpath:"c:\perl\lib\CORE"  -machine:AMD64'



@INC for perl 5.26.0:
     P:/perl/site/lib
     P:/perl/lib


Environment for perl 5.26.0:
     HOME (unset)
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=C:\Program Files (x86)\Microsoft Visual Studio 
12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files 
(x86)\MSBuild\12.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual 
Studio 
12.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program 
Files (x86)\Microsoft Visual Studio 12.0\VC\VCPackages;C:\Program Files 
(x86)\Microsoft Visual Studio 12.0\Common7\IDE;C:\Program Files 
(x86)\Microsoft Visual Studio 12.0\Common7\Tools;C:\Program Files 
(x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 
12.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft 
Visual Studio 12.0\Team Tools\Performance Tools;C:\Program Files 
(x86)\Windows Kits\8.1\bin\x64;C:\Program Files (x86)\Windows 
Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft 
SDKs\Windows\v8.1A\bin\NETFX 4.5.1
Tools\x64\;C:\ProgramData\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;c:\perl64\site\bin;c:\perl64\bin;c:\program 
files (x86)\business objects\common\3.5\bin\notes\;c:\program files 
(x86)\business 
objects\common\3.5\bin\notes\data\;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\program 
files (x86)\windows kits\8.1\windows performance 
toolkit\;p:\dev\nodist\gettext-iconv;c:\program files (x86)\windows 
kits\10\windows performance toolkit\;c:\program files\microsoft sql 
server\130\tools\binn\;c:\program files (x86)\skype\phone\;c:\program 
files\tortoisesvn\bin;c:\program files\git\cmd;C:\Program Files 
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program 
Files\PuTTY\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Git\cmd;C:\Program
Files\TortoiseGit\bin;C:\Program Files\Microsoft SQL 
Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft 
SDKs\TypeScript\1.0\;C:\Users\Kuja\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\Kuja\AppData\Local\Programs\Python\Python36\;P:\perl\bin;P:\dev\dist\bin;C:\ProgramData\chocolatey\bin;C:\Users\Kuja\AppData\Local\Microsoft\WindowsApps;C:\Program 
Files\CMake\bin;P:\dev\nodist\gettext-iconv\bin
     PERL_BADLANG (unset)
     SHELL (unset)

@p5pRT
Copy link
Author

p5pRT commented Dec 6, 2017

From marc-philip.werner@sap.com

On Fri, 02 Jun 2017 11​:35​:50 -0700, Dessa@​gmake.de wrote​:

This is a bug report for perl from Dessa@​gmake.de,
generated with the help of perlbug 1.40 running under perl 5.26.0.

-----------------------------------------------------------------
Compilation failed using CCTYPE = MSVC140 on win32_64 compiling for 64
bit

Maybe a duplicate of #132484?

Regards
MP

@p5pRT
Copy link
Author

p5pRT commented Dec 6, 2017

From [Unknown Contact. See original ticket]

On Fri, 02 Jun 2017 11​:35​:50 -0700, Dessa@​gmake.de wrote​:

This is a bug report for perl from Dessa@​gmake.de,
generated with the help of perlbug 1.40 running under perl 5.26.0.

-----------------------------------------------------------------
Compilation failed using CCTYPE = MSVC140 on win32_64 compiling for 64
bit

Maybe a duplicate of #16269 ?

Regards
MP

@p5pRT
Copy link
Author

p5pRT commented Dec 7, 2017

From @steve-m-hay

The above build failure is exactly what I see when using a version of perl earlier than 5.26.0, e.g. 5.24.2 -- because VS2015 support was only added in version 5.26.0.

With 5.26.0, the VS2015 x64 build works fine for me.

Is it possible that your VS2015 build attempt was using something earlier than the 5.26.0 that your perlbug was using?

@p5pRT
Copy link
Author

p5pRT commented Dec 7, 2017

The RT System itself - Status changed from 'new' to 'open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants