adoptium / temurin-build

Eclipse Temurin™ build scripts - common across all releases/versions
Apache License 2.0
1.03k stars 249 forks source link

Windows AO8/J9 builds failing in PdbScanner.cpp #373

Closed sxa closed 6 years ago

sxa commented 6 years ago

From the recent logs of https://ci.adoptopenjdk.net/job/openjdk8_openj9_build_x86-64_windows:

[2018-06-14 07:18:16] Scraping anotations from preprocessed code ...
[2018-06-14 07:18:19] Restoring annotated files ...
[2018-06-14 07:18:24] All done.
Error: pdb/PdbScanner.cpp:200 PdbScanner::loadDataFromPdb - CoCreateInstance failed with HRESULT = 80040154
Error: pdb/PdbScanner.cpp:219 PdbScanner::loadDataFromPdb - DllGetClassObject failed with HRESULT = 80040111
Error: pdb/PdbScanner.cpp:206 PdbScanner::loadDataFromPdb - LoadLibrary failed for MSDIA100.dll
Error: pdb/PdbScanner.cpp:206 PdbScanner::loadDataFromPdb - LoadLibrary failed for MSDIA80.dll
Error: pdb/PdbScanner.cpp:206 PdbScanner::loadDataFromPdb - LoadLibrary failed for MSDIA70.dll
Error: pdb/PdbScanner.cpp:206 PdbScanner::loadDataFromPdb - LoadLibrary failed for MSDIA60.dll
make[3]: *** [run_omrddrgen.mk:73: ../j9ddr.dat] Error 1
make[2]: *** [makefile:1210: omrddrgen] Error 2
make[1]: *** [OpenJ9.gmk:321: build-j9] Error 2
make: *** [/cygdrive/c/Users/jenkins/jdk8_j9/openjdk/closed/make/Main.gmk:29: 
sxa commented 6 years ago

Should be due to the msdia*.dll not being registered with regsvr32 /s as per the playbook

sxa commented 6 years ago

Resolved with: regsvr32 "c:\Program Files (x86)\Microsoft Visual Studio 10.0\DIA SDK\bin\amd64\msdia100.dll

Passes the error point as of build 82