You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/06/12 08:13:11 UTC

[Issue 126996] New: windows build breaks in module extensions - activex

https://bz.apache.org/ooo/show_bug.cgi?id=126996

          Issue ID: 126996
        Issue Type: DEFECT
           Summary: windows build breaks in module extensions - activex
           Product: Build Tools
           Version: 4.2.0-dev
          Hardware: PC
                OS: Windows 7
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: oliver.brinzing@gmx.de

with svn revision 1747860 windows debug build breaks in:

\trunk\main\solver\420\wntmsci12\inc\osl/endian.h(160) : fatal error C1189:
#error : undetermined endianness
dmake:  Error code 2, while making '../../../wntmsci12/slo/x64/so_activex.obj'

i think this is a configuration error:

"\trunk\main\solver\420\wntmsci12\inc\osl\endian.h" starts with

#ifdef _WIN32
#    if defined(_M_IX86)
#        define _LITTLE_ENDIAN
# [...]

but i cannot find a -D_WIN32 and -D_M_IX86

possible workaround:

#ifdef _WIN32
#    define _LITTLE_ENDIAN
#endif 

--
: &&    
PATH=/cygdrive/c/build_tmp/trunk/main/solver/420/wntmsci12/bin${PATH:+:${PATH}}
C:/build_tmp/trunk/main/solver/420/wntmsci12/bin/makedepend -f -
-p../../../wntmsci12/res -o.res  -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL
-D_STLP_DEBUG -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -D_MT
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci
-DSUPD=420 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA  
-DDLLPOSTFIX= -I. -I../../../inc -I../inc -I../../../WIN/inc
-I../../../wntmsci12/inc -IC:/build_tmp/trunk/main/solenv/inc so_activex.rc >>
../../../wntmsci12/misc/so_activex.dprc
cat ../../../wntmsci12/res/so_activex.res >
../../../wntmsci12/misc/so_activex.res
link /MACHINE:IX86 /IGNORE:4102 /IGNORE:4197 @C:/build/cygwin/tmp/mkhIiuXe
if [ -f ../../../wntmsci12/bin/so_activex.dll.manifest ] ; then mt.exe 
-manifest ../../../wntmsci12/bin/so_activex.dll.manifest
-outputresource:../../../wntmsci12/bin/so_activex.dll\;2 ; fi
if [ -f ../../../wntmsci12/bin/so_activex.dll.manifest ] ; then /bin/rm -f
../../../wntmsci12/bin/so_activex.dll.manifest ; fi
if [ -f ../../../wntmsci12/bin/so_activex.dll.tmanifest ] ; then /bin/rm -f
../../../wntmsci12/bin/so_activex.dll.tmanifest ; fi
Making:    so_activex.dll
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-safeseh -nxcompat -dynamicbase -NODEFAULTLIB -DEBUG -DEBUG -safeseh -nxcompat
-dynamicbase /SUBSYSTEM:CONSOLE /DLL -out:../../../wntmsci12/bin/so_activex.dll
-map:../../../wntmsci12/misc/so_activex.map -def:so_activex.def
-implib:../../../wntmsci12/lib/iso_activex_t1.lib
../../../wntmsci12/slo/so_activex.obj ../../../wntmsci12/slo/SOActiveX.obj
../../../wntmsci12/slo/SOComWindowPeer.obj
../../../wntmsci12/slo/SODispatchInterceptor.obj
../../../wntmsci12/slo/SOActionsApproval.obj ../../../wntmsci12/slo/StdAfx2.obj
uuid.lib advapi32.lib ole32.lib oleaut32.lib gdi32.lib urlmon.lib shlwapi.lib
C:/WinDDK/760016~1.1/lib/ATL/i386/atls.lib
C:/WinDDK/760016~1.1/lib/ATL/i386/atlthunk.lib msvcrt.lib msvcprt.lib
kernel32.lib user32.lib oldnames.lib ../../../wntmsci12/misc/so_activex.res 
------------------------------
Making: ../../../wntmsci12/slo/x64/so_activex.obj
so_activex.def : warning LNK4222: exported symbol 'DllCanUnloadNow' should not
be assigned an ordinal
so_activex.def : warning LNK4222: exported symbol 'DllGetClassObject' should
not be assigned an ordinal
so_activex.def : warning LNK4222: exported symbol 'DllRegisterServer' should
not be assigned an ordinal
so_activex.def : warning LNK4222: exported symbol 'DllUnregisterServer' should
not be assigned an ordinal
   Creating library ../../../wntmsci12/lib/iso_activex_t1.lib and object
../../../wntmsci12/lib/iso_activex_t1.exp
mkdir.exe ../../../wntmsci12/slo/x64/
C:/PROGRA~2/MICROS~1.0/VC/bin/amd64/cl.exe -c -nologo -Gs  -Zm500 -Zc:wchar_t-
-GR -Zi -Fd../../../wntmsci12/misc/x64/so_activex.pdb  -Ob1 -I.
-I../../../wntmsci12/inc/so_activex -IC:/WinDDK/760016~1.1/inc/atl71
-I../../../wntmsci12/misc -I../inc -I../../../inc/pch -I../../../inc
-I../../../WIN/inc -I../../../wntmsci12/inc -I.
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/incdont_use_stl
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/inc/external
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/inc
-IC:/build_tmp/trunk/main/solenv/wntmsci12/inc
-IC:/build_tmp/trunk/main/solenv/inc -IC:/build_tmp/trunk/main/res
-IC:/build_tmp/trunk/main/tools/inc -IC:/build_tmp/trunk/main/comphelper/inc
-IC:/PROGRA~2/Java/JDK17~1.0/include/win32 -IC:/PROGRA~2/Java/JDK17~1.0/include
-IC:/PROGRA~1/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include
-IC:/PROGRA~2/MICROS~1/include -IC:/PROGRA~2/MICROS~1/include 
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/inc/offuh -I. -I../../../res -I.
 -MT -DWIN32 -D_AMD64_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DDEBUG -DWNT -DWNT -DNT351 -DMSC -DM1500
-DINTEL -D_STLP_DEBUG -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -D_MT
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci
-DSUPD=420 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA  -D_MT
-D_DLL -D_MT -D_DLL   -DEXCEPTIONS_OFF 
-Fo../../../wntmsci12/slo/x64/so_activex.obj
C:/build_tmp/trunk/main/extensions/source/activex/main/so_activex.cpp 
mkdir: cannot create directory '../../../wntmsci12/slo/x64/': File exists
mkdir: cannot create directory '../../../wntmsci12/misc/x64': File exists
so_activex.cpp
linking ../../../wntmsci12/bin/so_activex.dll.manifest ...
Microsoft (R) Manifest Tool version 5.2.3790.2076

Copyright (c) Microsoft Corporation 2005. 

All rights reserved.

------------------------------
Making: ../../../wntmsci12/slo/x64/SOActiveX.obj
mkdir.exe ../../../wntmsci12/slo/x64/
C:/PROGRA~2/MICROS~1.0/VC/bin/amd64/cl.exe -c 
-nologo -Gs  -Zm500 -Zc:wchar_t- -GR -Zi
-Fd../../../wntmsci12/misc/x64/SOActiveX.pdb  
-Ob1 -I. -I../../../wntmsci12/inc/so_activex -IC:/WinDDK/760016~1.1/inc/atl71 
-I../../../wntmsci12/misc -I../inc -I../../../inc/pch -I../../../inc 
-I../../../WIN/inc -I../../../wntmsci12/inc -I.
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/incdont_use_stl 
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/inc/external
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/inc 
-IC:/build_tmp/trunk/main/solenv/wntmsci12/inc
-IC:/build_tmp/trunk/main/solenv/inc -IC:/build_tmp/trunk/main/res 
-IC:/build_tmp/trunk/main/tools/inc -IC:/build_tmp/trunk/main/comphelper/inc
-IC:/PROGRA~2/Java/JDK17~1.0/include/win32 
-IC:/PROGRA~2/Java/JDK17~1.0/include
-IC:/PROGRA~1/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include 
-IC:/PROGRA~2/MICROS~1/include -IC:/PROGRA~2/MICROS~1/include 
-IC:/build_tmp/trunk/main/solver/420/wntmsci12/inc/offuh 
-I. -I../../../res -I.  -MT -DWIN32 -D_AMD64_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS 
-DDEBUG -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL -D_STLP_DEBUG
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -D_MT
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 
-D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=420 -DDEBUG -DDBG_UTIL
-DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA  
-D_MT -D_DLL -D_MT -D_DLL   -DEXCEPTIONS_OFF 
-Fo../../../wntmsci12/slo/x64/SOActiveX.obj 
C:/build_tmp/trunk/main/extensions/source/activex/main/SOActiveX.cpp 

mkdir: cannot create directory '../../../wntmsci12/slo/x64/': File exists

C:\build_tmp\trunk\main\solver\420\wntmsci12\inc\osl/endian.h(160) : fatal
error C1189: #error :  undetermined endianness

mkdir: cannot create directory '../../../wntmsci12/misc/x64': File exists
dmake:  Error code 2, while making '../../../wntmsci12/slo/x64/so_activex.obj'
SOActiveX.cpp

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126996] windows build breaks in module extensions - activex

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126996

damjan@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan@apache.org

--- Comment #1 from damjan@apache.org ---
You seem to be using an AMD64 compiler:
C:/PROGRA~2/MICROS~1.0/VC/bin/amd64/cl.exe

According to https://msdn.microsoft.com/en-us/library/b0084kay.aspx the _M_IX86
macro is "Defined for compilations that target x86 processors. This is not
defined for x64 processors."

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126996] windows build breaks in module extensions - activex

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126996

Oliver Brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.brinzing@gmx.de

--- Comment #2 from Oliver Brinzing <ol...@gmx.de> ---
that is strange. i did not change my configuration.
do you know where this compiler settings are stored?

-- 
You are receiving this mail because:
You are the assignee for the issue.