You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Damjan Jovanovic <da...@apache.org> on 2025/01/02 20:44:45 UTC
Win64 port making progress
Hi
With my latest changes, 112 modules (60%) build successfully, and the
remaining blockers currently are:
- vcl, which is almost fixed. It needed changing SetClassLong() to
SetClassLongPtr(), and several other such Windows API changes for 64 bit
compatibility.
- connectivity, which builds but some of its DLLs (notably dbtools) fail to
link, with mysterious missing symbol errors.
- testtools, which runs a UNO test, which fails as our Win64 UNO bridge is
still buggy. But I am learning more about x86/amd64 assembly language, and
Windows ABI details, such as C++ exception handling in assembly, and hope
to fix that UNO bridge eventually.
But there are still a lot of compiler warnings, and it sounds like LO took
years to get their Win64 version fully working.
A Win64 version is increasingly important, as Java is deprecating Win32
support.
As always, you can test by passing --enable-win64 to ./configure on
Windows, and "source winAMD64Env.set.sh". Join the fun?
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 03.01.25 um 17:27 schrieb Damjan Jovanovic:
> On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel<ma...@hamburg.de>
> wrote:
>
>> Hi Damjan,
>>
>> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
>>> Hi
>>>
>>> With my latest changes, 112 modules (60%) build successfully, and the
>>> remaining blockers currently are:
>>> - vcl, which is almost fixed. It needed changing SetClassLong() to
>>> SetClassLongPtr(), and several other such Windows API changes for 64 bit
>>> compatibility.
>>> - connectivity, which builds but some of its DLLs (notably dbtools) fail
>> to
>>> link, with mysterious missing symbol errors.
>>> - testtools, which runs a UNO test, which fails as our Win64 UNO bridge
>> is
>>> still buggy. But I am learning more about x86/amd64 assembly language,
>> and
>>> Windows ABI details, such as C++ exception handling in assembly, and hope
>>> to fix that UNO bridge eventually.
>> That sounds great! Do you plan to cherry-pick that for AOO42X?
>>
> Thank you. With further fixes, 73.5% of modules build now :-).
>
> If it's finished in time for the AOO42X release, then yes, we should. But
> it might have to be a beta release though.
We should work on finalizing the Win64 version after the release of
4.2.0. Either Beta or Dev build, it will need a lot of testing.
>
>
>>> But there are still a lot of compiler warnings, and it sounds like LO
>> took
>>> years to get their Win64 version fully working.
>> Always remember, the work on LO is mostly done by paid full time
>> developers.
>>
>> We are all volunteers who do it in our spare time...
>>
> And yet sometimes we get impressive stuff done despite so little manpower
> ;-).
Definitely!
>
>
>>> A Win64 version is increasingly important, as Java is deprecating Win32
>>> support.
>> Yes, Win64 is important.
>>
>> But I don't see JAVA Win32 deprecated in the *near* future (at least not
>> for JAVA 8 and 11)
>>
> Seehttps://openjdk.org/jeps/479
OK, thanks!
But that seems to affect only Java 21 onward:
---
Summary
Remove the source code and build support for the Windows 32-bit x86
port. This port was deprecated for removal in JDK 21
<https://openjdk.org/jeps/449> with the express intent to remove it in a
future release.
---
Regarding our codebase I have never tested with anything newer than Java
11. And Java 8 and 11 are not planned to loose Win32-support:
---
Non-Goals
*
It is not a goal to remove or change 32-bit support for any
platforms other than Windows.
*
It is not a goal to remove either code or support for Windows 32-bit
in previous releases.
---
That said, of course we need a Win64 release at one point. That also
would be a great addition for the Microsoft Store!
Regards,
Matthias
>
>
>> I only use the JAVA runtime from Adoptium, though.
>>
>> Regards,
>>
>> Matthias
>
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Jan 4, 2025, 15:48 Damjan Jovanovic <da...@apache.org> wrote:
> On Fri, Jan 3, 2025 at 4:27 PM Damjan Jovanovic <da...@apache.org> wrote:
>
> >
> >
> > On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel <
> matthias.seidel@hamburg.de>
> > wrote:
> >
> >> Hi Damjan,
> >>
> >> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
> >> > Hi
> >> >
> >> > With my latest changes, 112 modules (60%) build successfully, and the
> >> > remaining blockers currently are:
> >> > - vcl, which is almost fixed. It needed changing SetClassLong() to
> >> > SetClassLongPtr(), and several other such Windows API changes for 64
> bit
> >> > compatibility.
> >> > - connectivity, which builds but some of its DLLs (notably dbtools)
> >> fail to
> >> > link, with mysterious missing symbol errors.
> >> > - testtools, which runs a UNO test, which fails as our Win64 UNO
> bridge
> >> is
> >> > still buggy. But I am learning more about x86/amd64 assembly language,
> >> and
> >> > Windows ABI details, such as C++ exception handling in assembly, and
> >> hope
> >> > to fix that UNO bridge eventually.
> >> That sounds great! Do you plan to cherry-pick that for AOO42X?
> >>
> >
> > Thank you. With further fixes, 73.5% of modules build now :-).
> >
> >
> It's going far better than expected. With further fixes, today we've
> reached 158 out of 185 modules (85.4%) building successfully. I've also
> updated the Wiki page (https://wiki.openoffice.org/wiki/Win64_port) with
> various issues I've found during the port.
>
Is there a way to give money to devs? There should be. Call it tips jar or
something.
I know it's possible to donate to given projects thru github. Not sure
about individual devs.
FC
Re: Win64 port making progress
Posted by Pedro Lino <pe...@mailbox.org.INVALID>.
Hi Damjan
> On 01/06/2025 1:24 AM WET Damjan Jovanovic <da...@apache.org> wrote:
>
>
> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
> > > The next major challenge will be getting it to run. With an
> > > incomplete/buggy UNO bridge, it will probably crash on startup.
> >
> > I am eagerly waiting to test it when it fully builds!
+1
Thank you for your efforts and count on me for testing unstable/debug builds on Windows 7/10/11 x64.
Best,
Pedro
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan,
>
> Am 05.01.25 um 18:14 schrieb Damjan Jovanovic:
> > On Sat, Jan 4, 2025 at 6:48 PM Damjan Jovanovic <da...@apache.org>
> wrote:
> >
> >>
> >> On Fri, Jan 3, 2025 at 4:27 PM Damjan Jovanovic <da...@apache.org>
> wrote:
> >>
> >>>
> >>> On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel <
> >>> matthias.seidel@hamburg.de> wrote:
> >>>
> >>>> Hi Damjan,
> >>>>
> >>>> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
> >>>>> Hi
> >>>>>
> >>>>> With my latest changes, 112 modules (60%) build successfully, and the
> >>>>> remaining blockers currently are:
> >>>>> - vcl, which is almost fixed. It needed changing SetClassLong() to
> >>>>> SetClassLongPtr(), and several other such Windows API changes for 64
> >>>> bit
> >>>>> compatibility.
> >>>>> - connectivity, which builds but some of its DLLs (notably dbtools)
> >>>> fail to
> >>>>> link, with mysterious missing symbol errors.
> >>>>> - testtools, which runs a UNO test, which fails as our Win64 UNO
> >>>> bridge is
> >>>>> still buggy. But I am learning more about x86/amd64 assembly
> language,
> >>>> and
> >>>>> Windows ABI details, such as C++ exception handling in assembly, and
> >>>> hope
> >>>>> to fix that UNO bridge eventually.
> >>>> That sounds great! Do you plan to cherry-pick that for AOO42X?
> >>>>
> >>> Thank you. With further fixes, 73.5% of modules build now :-).
> >>>
> >>>
> >> It's going far better than expected. With further fixes, today we've
> >> reached 158 out of 185 modules (85.4%) building successfully. I've also
> >> updated the Wiki page (https://wiki.openoffice.org/wiki/Win64_port)
> with
> >> various issues I've found during the port.
> >>
> >> I've also done a preliminary port of the "connectivity" module to
> gbuild,
> >> which successfully fixed its missing symbol issue. The same issue is now
> >> affecting "chart2", so it might get ported to gbuild too ;-).
> >>
> >>
> > Today, after a preliminary gbuild port of "chart2", Windows/AMD64
> building
> > reached the "postprocess" stage, the last stage before packaging. It
> breaks
> > there due to text file deficiencies (.xml, .srs, .xcu etc.) in my gbuild
> > ports of connectivity and chart2, which I hope to rectify soon, but the
> > fact we get that far means that all the code compiles and links, which
> is a
> > huge milestone.
>
> I just tried a build but of course it stopped after some time.
>
> Is this a private branch you work on or is it available via GitHub?
>
Some of the changes are in trunk, but the rest are still in a local branch.
Given the low quality of certain patches, I was hoping to refine them
further before pushing them upstream, but if you want to test now, I can
certainly push them to a branch.
>
> >
> > The next major challenge will be getting it to run. With an
> > incomplete/buggy UNO bridge, it will probably crash on startup.
>
> I am eagerly waiting to test it when it fully builds!
>
Thank you!
>
> Regards,
>
> Matthias
>
> >
> > Regards
> > Damjan
> >
>
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 09.01.25 um 04:53 schrieb Damjan Jovanovic:
> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>>
>> I just tried a build but of course it stopped after some time.
>>
>> Is this a private branch you work on or is it available via GitHub?
>>
> I've pushed what I have so far, so you can test it:
>
> git checkout windows-amd64
> autoconf
> ./configure --enable-win64 (and others. I also happened to use
> --disable-directx but you might not need it.)
> ./bootstrap
> source ./winAMD64Env.set.sh
> cd instsetoo_native
> build -P2 -- -P2
Thanks, I will try asap!
Regards,
Matthias
>
> The build should break in "postprocess". If it breaks earlier, please post
> the output and your configure flags.
>
> The remaining changes involve adding new gbuild classes so progress is
> slower.
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Mon, Jan 20, 2025 at 4:36 PM Marcus <ma...@wtnet.de> wrote:
> Am 19.01.25 um 08:06 schrieb Damjan Jovanovic:
> > Some good news for this weeked:
> >
> > With my latest changes, my minimal Windows/amd64 build runs to
> completion,
> > OpenOffice successfully gets packaged, and the first ever Win64
> OpenOffice
> > now exists:
> >
> > $ file soffice.exe
> > PE32+ executable (GUI) x86-64, for MS Windows
> > :-)
> >
> > Of course, it crashes almost immediately when run, with an assertion
> error
> > in main/bridges.
>
> nevertheless, a very big step forward. :-)
>
Thank you everyone :-).
>
> I'm curious what still needs to be done to avoid the (any) crashes.
>
The UNO bridge under main/bridges/source/cpp_uno/msvc_win64_x86-64 needs to
be completed and debugged.
However, since that's very complicated, needing assembly language and
platform-specific ABI details like the layout of the RTTI for C++ objects,
and how to catch and throw C++ exceptions and convert them to UNO
exceptions, it's going to take a while to complete. For now I am rather
porting the remaining modules, which Matthias found don't compile when you
do a fuller build:
coinmp
nss
embedserv
winaccessibility
extensions
So far I've got winaccessibility to build, but I am also trying to fix all
the warnings, as it's code that we probably won't be revisiting often or
testing much.
>
> Marcus
>
>
If anyone wishes to join in, please do so.
Regards
Damjan
Re: Win64 port making progress
Posted by Marcus <ma...@wtnet.de>.
Am 19.01.25 um 08:06 schrieb Damjan Jovanovic:
> Some good news for this weeked:
>
> With my latest changes, my minimal Windows/amd64 build runs to completion,
> OpenOffice successfully gets packaged, and the first ever Win64 OpenOffice
> now exists:
>
> $ file soffice.exe
> PE32+ executable (GUI) x86-64, for MS Windows
> :-)
>
> Of course, it crashes almost immediately when run, with an assertion error
> in main/bridges.
nevertheless, a very big step forward. :-)
I'm curious what still needs to be done to avoid the (any) crashes.
Marcus
> On Thu, Jan 9, 2025 at 3:53 AM Damjan Jovanovic <da...@apache.org> wrote:
>
>>
>>
>> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
>> wrote:
>>
>>>
>>>
>>> I just tried a build but of course it stopped after some time.
>>>
>>> Is this a private branch you work on or is it available via GitHub?
>>>
>>
>> I've pushed what I have so far, so you can test it:
>>
>> git checkout windows-amd64
>> autoconf
>> ./configure --enable-win64 (and others. I also happened to use
>> --disable-directx but you might not need it.)
>> ./bootstrap
>> source ./winAMD64Env.set.sh
>> cd instsetoo_native
>> build -P2 -- -P2
>>
>> The build should break in "postprocess". If it breaks earlier, please post
>> the output and your configure flags.
>>
>> The remaining changes involve adding new gbuild classes so progress is
>> slower.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Win64 port making progress
Posted by Aivaras Stepukonis <as...@gmail.com>.
Thank you, Damjan!
--
Pagarbiai / Sincerely,
📧 Aivaras Stepukonis <ma...@gmail.com>
------------------------------------------------------------------------
2025-01-19 09:10, D W rašė:
> Congratulations!
>
> On Sun, 19 Jan 2025 at 18:06, Damjan Jovanovic<da...@apache.org> wrote:
>
>> Hi
>>
>> Some good news for this weeked:
>>
>> With my latest changes, my minimal Windows/amd64 build runs to completion,
>> OpenOffice successfully gets packaged, and the first ever Win64 OpenOffice
>> now exists:
>>
>> $ file soffice.exe
>> PE32+ executable (GUI) x86-64, for MS Windows
>> :-)
>>
>> Of course, it crashes almost immediately when run, with an assertion error
>> in main/bridges.
>>
>> My changes have been pushed to the windows-amd64 branch.
>>
>> Regards
>> Damjan
>>
>> On Thu, Jan 9, 2025 at 3:53 AM Damjan Jovanovic<da...@apache.org> wrote:
>>
>>>
>>> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <
>> matthias.seidel@hamburg.de>
>>> wrote:
>>>
>>>>
>>>> I just tried a build but of course it stopped after some time.
>>>>
>>>> Is this a private branch you work on or is it available via GitHub?
>>>>
>>> I've pushed what I have so far, so you can test it:
>>>
>>> git checkout windows-amd64
>>> autoconf
>>> ./configure --enable-win64 (and others. I also happened to use
>>> --disable-directx but you might not need it.)
>>> ./bootstrap
>>> source ./winAMD64Env.set.sh
>>> cd instsetoo_native
>>> build -P2 -- -P2
>>>
>>> The build should break in "postprocess". If it breaks earlier, please
>> post
>>> the output and your configure flags.
>>>
>>> The remaining changes involve adding new gbuild classes so progress is
>>> slower.
>>>
>>> Regards
>>> Damjan
>>>
>>>
Re: Win64 port making progress
Posted by Pedro Lino <pe...@mailbox.org.INVALID>.
> On 01/19/2025 9:07 AM WET Arrigo Marchiori <ar...@apache.org> wrote:
>
>
> On Sun, Jan 19, 2025 at 06:10:05PM +1100, D W wrote:
>
> > Congratulations!
>
> +1 !
++1
>
> > On Sun, 19 Jan 2025 at 18:06, Damjan Jovanovic <da...@apache.org> wrote:
> >
> > > Hi
> > >
> > > Some good news for this weeked:
> > >
> > > With my latest changes, my minimal Windows/amd64 build runs to completion,
> > > OpenOffice successfully gets packaged, and the first ever Win64 OpenOffice
> > > now exists:
> > >
> > > $ file soffice.exe
> > > PE32+ executable (GUI) x86-64, for MS Windows
> > > :-)
> > >
> > > Of course, it crashes almost immediately when run, with an assertion error
> > > in main/bridges.
> > >
> > > My changes have been pushed to the windows-amd64 branch.
> > >
> > > Regards
> > > Damjan
> > >
> > > On Thu, Jan 9, 2025 at 3:53 AM Damjan Jovanovic <da...@apache.org> wrote:
> > >
> > > >
> > > >
> > > > On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <
> > > matthias.seidel@hamburg.de>
> > > > wrote:
> > > >
> > > >>
> > > >>
> > > >> I just tried a build but of course it stopped after some time.
> > > >>
> > > >> Is this a private branch you work on or is it available via GitHub?
> > > >>
> > > >
> > > > I've pushed what I have so far, so you can test it:
> > > >
> > > > git checkout windows-amd64
> > > > autoconf
> > > > ./configure --enable-win64 (and others. I also happened to use
> > > > --disable-directx but you might not need it.)
> > > > ./bootstrap
> > > > source ./winAMD64Env.set.sh
> > > > cd instsetoo_native
> > > > build -P2 -- -P2
> > > >
> > > > The build should break in "postprocess". If it breaks earlier, please
> > > post
> > > > the output and your configure flags.
> > > >
> > > > The remaining changes involve adding new gbuild classes so progress is
> > > > slower.
> > > >
> > > > Regards
> > > > Damjan
> > > >
> > > >
> > >
>
> --
> Arrigo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Win64 port making progress
Posted by Arrigo Marchiori <ar...@apache.org>.
On Sun, Jan 19, 2025 at 06:10:05PM +1100, D W wrote:
> Congratulations!
+1 !
> On Sun, 19 Jan 2025 at 18:06, Damjan Jovanovic <da...@apache.org> wrote:
>
> > Hi
> >
> > Some good news for this weeked:
> >
> > With my latest changes, my minimal Windows/amd64 build runs to completion,
> > OpenOffice successfully gets packaged, and the first ever Win64 OpenOffice
> > now exists:
> >
> > $ file soffice.exe
> > PE32+ executable (GUI) x86-64, for MS Windows
> > :-)
> >
> > Of course, it crashes almost immediately when run, with an assertion error
> > in main/bridges.
> >
> > My changes have been pushed to the windows-amd64 branch.
> >
> > Regards
> > Damjan
> >
> > On Thu, Jan 9, 2025 at 3:53 AM Damjan Jovanovic <da...@apache.org> wrote:
> >
> > >
> > >
> > > On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <
> > matthias.seidel@hamburg.de>
> > > wrote:
> > >
> > >>
> > >>
> > >> I just tried a build but of course it stopped after some time.
> > >>
> > >> Is this a private branch you work on or is it available via GitHub?
> > >>
> > >
> > > I've pushed what I have so far, so you can test it:
> > >
> > > git checkout windows-amd64
> > > autoconf
> > > ./configure --enable-win64 (and others. I also happened to use
> > > --disable-directx but you might not need it.)
> > > ./bootstrap
> > > source ./winAMD64Env.set.sh
> > > cd instsetoo_native
> > > build -P2 -- -P2
> > >
> > > The build should break in "postprocess". If it breaks earlier, please
> > post
> > > the output and your configure flags.
> > >
> > > The remaining changes involve adding new gbuild classes so progress is
> > > slower.
> > >
> > > Regards
> > > Damjan
> > >
> > >
> >
--
Arrigo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Win64 port making progress
Posted by D W <u1...@umail.usq.edu.au>.
Congratulations!
On Sun, 19 Jan 2025 at 18:06, Damjan Jovanovic <da...@apache.org> wrote:
> Hi
>
> Some good news for this weeked:
>
> With my latest changes, my minimal Windows/amd64 build runs to completion,
> OpenOffice successfully gets packaged, and the first ever Win64 OpenOffice
> now exists:
>
> $ file soffice.exe
> PE32+ executable (GUI) x86-64, for MS Windows
> :-)
>
> Of course, it crashes almost immediately when run, with an assertion error
> in main/bridges.
>
> My changes have been pushed to the windows-amd64 branch.
>
> Regards
> Damjan
>
> On Thu, Jan 9, 2025 at 3:53 AM Damjan Jovanovic <da...@apache.org> wrote:
>
> >
> >
> > On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <
> matthias.seidel@hamburg.de>
> > wrote:
> >
> >>
> >>
> >> I just tried a build but of course it stopped after some time.
> >>
> >> Is this a private branch you work on or is it available via GitHub?
> >>
> >
> > I've pushed what I have so far, so you can test it:
> >
> > git checkout windows-amd64
> > autoconf
> > ./configure --enable-win64 (and others. I also happened to use
> > --disable-directx but you might not need it.)
> > ./bootstrap
> > source ./winAMD64Env.set.sh
> > cd instsetoo_native
> > build -P2 -- -P2
> >
> > The build should break in "postprocess". If it breaks earlier, please
> post
> > the output and your configure flags.
> >
> > The remaining changes involve adding new gbuild classes so progress is
> > slower.
> >
> > Regards
> > Damjan
> >
> >
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
Hi
Some good news for this weeked:
With my latest changes, my minimal Windows/amd64 build runs to completion,
OpenOffice successfully gets packaged, and the first ever Win64 OpenOffice
now exists:
$ file soffice.exe
PE32+ executable (GUI) x86-64, for MS Windows
:-)
Of course, it crashes almost immediately when run, with an assertion error
in main/bridges.
My changes have been pushed to the windows-amd64 branch.
Regards
Damjan
On Thu, Jan 9, 2025 at 3:53 AM Damjan Jovanovic <da...@apache.org> wrote:
>
>
> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>>
>>
>> I just tried a build but of course it stopped after some time.
>>
>> Is this a private branch you work on or is it available via GitHub?
>>
>
> I've pushed what I have so far, so you can test it:
>
> git checkout windows-amd64
> autoconf
> ./configure --enable-win64 (and others. I also happened to use
> --disable-directx but you might not need it.)
> ./bootstrap
> source ./winAMD64Env.set.sh
> cd instsetoo_native
> build -P2 -- -P2
>
> The build should break in "postprocess". If it breaks earlier, please post
> the output and your configure flags.
>
> The remaining changes involve adding new gbuild classes so progress is
> slower.
>
> Regards
> Damjan
>
>
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi All,
answering myself, doing
source winAMD64Env.set.sh
before
./bootstrap
seems to work.
Regards,
Matthias
Am 11.01.25 um 18:09 schrieb Matthias Seidel:
> Hi Damjan,
>
> Am 09.01.25 um 04:53 schrieb Damjan Jovanovic:
>> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel
>> <ma...@hamburg.de>
>> wrote:
>>
>>>
>>> I just tried a build but of course it stopped after some time.
>>>
>>> Is this a private branch you work on or is it available via GitHub?
>>>
>> I've pushed what I have so far, so you can test it:
>>
>> git checkout windows-amd64
>> autoconf
>> ./configure --enable-win64 (and others. I also happened to use
>> --disable-directx but you might not need it.)
>> ./bootstrap
>
> One observation:
>
> After bootstrap dmake is in:
>
> /cygdrive/c/Source/openoffice/main/solenv/wntmsci12.pro/misc/build/dmake-4.13.1
>
>
>> source ./winAMD64Env.set.sh
>> cd instsetoo_native
>> build -P2 -- -P2
>
> Here it cannot find dmake because it expects it to be in "wntmscx12.pro"
>
> I have to rerun ./bootstrap again to build.
>
> Matthias
>
>>
>> The build should break in "postprocess". If it breaks earlier, please
>> post
>> the output and your configure flags.
>>
>> The remaining changes involve adding new gbuild classes so progress is
>> slower.
>>
>> Regards
>> Damjan
>>
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 09.01.25 um 04:53 schrieb Damjan Jovanovic:
> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>>
>> I just tried a build but of course it stopped after some time.
>>
>> Is this a private branch you work on or is it available via GitHub?
>>
> I've pushed what I have so far, so you can test it:
>
> git checkout windows-amd64
> autoconf
> ./configure --enable-win64 (and others. I also happened to use
> --disable-directx but you might not need it.)
> ./bootstrap
One observation:
After bootstrap dmake is in:
/cygdrive/c/Source/openoffice/main/solenv/wntmsci12.pro/misc/build/dmake-4.13.1
> source ./winAMD64Env.set.sh
> cd instsetoo_native
> build -P2 -- -P2
Here it cannot find dmake because it expects it to be in "wntmscx12.pro"
I have to rerun ./bootstrap again to build.
Matthias
>
> The build should break in "postprocess". If it breaks earlier, please post
> the output and your configure flags.
>
> The remaining changes involve adding new gbuild classes so progress is
> slower.
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Jan 12, 2025 at 2:59 AM Damjan Jovanovic <da...@apache.org> wrote:
> BUT I JUST REMEMBERED SOMETHING IMPORTANT:
> Some time ago, I found an earlier attempt to implement "configuration" in
> gbuild on our bugzilla: https://bz.apache.org/ooo/show_bug.cgi?id=118397
> It was from 2011, but the contributor said "patches are based on CWS
> gnumake4 and licensed under Apache License 2."
> :-O
> CAN WE USE IT???
>
>
To answer my own very important question:
As per https://bz.apache.org/ooo/show_bug.cgi?id=97173, the email address
mst.ooo at arcor.de is Michael Stahl.
In June 2011, Michael Stahl was selected as an individual committer to
OpenOffice Incubating:
> ||Michael Stahl ||mst at openoffice dot org ||Individual !OpenOffice.org
||
In the openoffice-pmc repository, CommitterStatus/PPMCStatus.ods confirms
he was a committer, and signed an iCLA, but did not join the PPMC.
On https://home.apache.org/phonebook.html?unix=openoffice we see he is
still a committer.
As per Git:
git log --author="Michael Stahl"
shows he committed 72 patches, from 1 July 2011 to 17 September 2011.
The Bugzilla issues in question:
https://bz.apache.org/ooo/show_bug.cgi?id=118386 - created on 7 August
2011, and patches were attached to it on the same date.
https://bz.apache.org/ooo/show_bug.cgi?id=118397 - created on 11 August
2011, and patches were attached to it as late as 27 August 2011.
Judging by his email addresses, he later joined CIB, then Red Hat.
However both patches say:
"patches are based on CWS gnumake4 and licensed under Apache License 2."
That, and the fact he signed an iCLA and committed other patches to SVN in
the same timeframe he attached those to Bugzilla, means they're in Bugzilla
instead of committed because they were developed on a different branch,
needed review, etc.
So I am going ahead and using those patches :-).
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 27.01.25 um 07:50 schrieb Damjan Jovanovic:
> On Sun, Jan 26, 2025 at 12:17 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>> Hi Damjan,
>>
>> Am 26.01.25 um 04:23 schrieb Damjan Jovanovic:
>> ...
>>> The code that prints that error is at
>>>
>> http://opengrok.openoffice.org/xref/trunk/main/solenv/bin/modules/installer/epmfile.pm?r=49cc8443#780
>>> .
>>>
>>> Try to see what the value of your EPM environment variable is. Also
>>> config.log might help.
>> The question is, why use epm at all? It is a Linux packager(?) and I
>> built all Windows 32-bit releases in the past years without it.
>>
>>
> Tracing backwards from find_epm_on_system() using OpenGrok, I see that it's
> called from line 956 of MakeNonWindowsBuild() in file main/solenv/bin/
> make_installer.pl.
> That is in turn called from line 2261 in the same file, if the
> "iswindowsbuild" variable is 0.
> The make_installer.pl file is itself called from line 253 of
> main/instsetoo_native/util/makefile.mk.
>
> But where is iswindowsbuild set? Apparently only in
> main/solenv/bin/modules/installer/parameter.pl:
> 279 if ( $installer::globals::compiler =~ /wnt(msc|gcc)i/ )
> 280 {
> 281 $installer::globals::iswindowsbuild = 1;
> 282 }
> That regular expression on line 279 probably needs to be changed to
> /wnt(msc|gcc)[ix]/.
> Can you please try that, and commit it if it works?
It works!
It has built the installer! :-D
Testing further...
Regards,
Matthias
>
> I've been testing and debugging that UNO bridge in
> main/bridges/source/cpp_uno/msvc_win64_x86-64. It's not a lot of code, but
> progress has been slow and difficult. Cygwin's gdb is useless and produces
> wrong stack traces, either by printing wrong info or corrupting the
> environment somehow. I've had to hack that code by adding 0xCC opcodes (for
> "INT 3") in various places, and then examine the raw registers, stack and
> disassembled code. I've managed to fix some of the problems, I increased
> the snippet size which got rid of the assertion error crashes, fixed a bad
> type_info layout in the RTTI, and eventually even found and fixed some bad
> machine code opcodes I must have mistyped in codeSnippet() when I first
> entered them and which were corrupting the stack. This finally gets some of
> the UNO bridge tests in main/testtools to run successfully, and 18 C++ to
> UNO functions get called (and presumably work and return successfully),
> before it crashes elsewhere, in a UNO to C++ call. Also I used to get 2
> crashes during the main/testtools test, now I get only 1 crash. So we are
> slowly getting there ;-).
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Jan 26, 2025 at 12:17 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan,
>
> Am 26.01.25 um 04:23 schrieb Damjan Jovanovic:
> ...
> > The code that prints that error is at
> >
> http://opengrok.openoffice.org/xref/trunk/main/solenv/bin/modules/installer/epmfile.pm?r=49cc8443#780
> > .
> >
> > Try to see what the value of your EPM environment variable is. Also
> > config.log might help.
> The question is, why use epm at all? It is a Linux packager(?) and I
> built all Windows 32-bit releases in the past years without it.
>
>
Tracing backwards from find_epm_on_system() using OpenGrok, I see that it's
called from line 956 of MakeNonWindowsBuild() in file main/solenv/bin/
make_installer.pl.
That is in turn called from line 2261 in the same file, if the
"iswindowsbuild" variable is 0.
The make_installer.pl file is itself called from line 253 of
main/instsetoo_native/util/makefile.mk.
But where is iswindowsbuild set? Apparently only in
main/solenv/bin/modules/installer/parameter.pl:
279 if ( $installer::globals::compiler =~ /wnt(msc|gcc)i/ )
280 {
281 $installer::globals::iswindowsbuild = 1;
282 }
That regular expression on line 279 probably needs to be changed to
/wnt(msc|gcc)[ix]/.
Can you please try that, and commit it if it works?
I've been testing and debugging that UNO bridge in
main/bridges/source/cpp_uno/msvc_win64_x86-64. It's not a lot of code, but
progress has been slow and difficult. Cygwin's gdb is useless and produces
wrong stack traces, either by printing wrong info or corrupting the
environment somehow. I've had to hack that code by adding 0xCC opcodes (for
"INT 3") in various places, and then examine the raw registers, stack and
disassembled code. I've managed to fix some of the problems, I increased
the snippet size which got rid of the assertion error crashes, fixed a bad
type_info layout in the RTTI, and eventually even found and fixed some bad
machine code opcodes I must have mistyped in codeSnippet() when I first
entered them and which were corrupting the stack. This finally gets some of
the UNO bridge tests in main/testtools to run successfully, and 18 C++ to
UNO functions get called (and presumably work and return successfully),
before it crashes elsewhere, in a UNO to C++ call. Also I used to get 2
crashes during the main/testtools test, now I get only 1 crash. So we are
slowly getting there ;-).
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 26.01.25 um 04:23 schrieb Damjan Jovanovic:
...
> The code that prints that error is at
> http://opengrok.openoffice.org/xref/trunk/main/solenv/bin/modules/installer/epmfile.pm?r=49cc8443#780
> .
>
> Try to see what the value of your EPM environment variable is. Also
> config.log might help.
The question is, why use epm at all? It is a Linux packager(?) and I
built all Windows 32-bit releases in the past years without it.
>
> In my successful build I used --with-package-format=installed.
Yes, this way you avoid building the NSIS/MSI packager.
Regards,
Matthias
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Fri, Jan 24, 2025 at 2:21 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan,
>
Hi Matthias
> Now it *almost* succeeds. :-D
>
> Since my configure wants to build the NSIS/MSI installer it fails in the
> final module "instsetoo_native".
> Adding "epm" to configure didn't help.
>
> BTW, I never needed epm for the Windows 32-bit build, maybe the cause is
> here:
>
> https://github.com/apache/openoffice/bcompleted because
> lob/trunk/main/instsetoo_native/util/makefile.mk#L117
> <https://github.com/apache/openoffice/blob/trunk/main/instsetoo_native/util/makefile.mk#L117>
>
> ---
>
> C:/cygwin64/bin/perl.exe -w C:/Source/openoffice/main/solenv/bin/packager.pl
> Using pack list /cygdrive/c/Source/Pack-small-64.lst
> Packager: dmake openoffice_de
> ... checking environment variables ...
>
> ########################################################make_installer.pl, version 1.0
> Product list file: ../util/openoffice.lst
> Taking setup script from solver
> Unpackpath: C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro
> Compiler: wntmscx12
> Product: Apache_OpenOffice
> BuildID: 9900
> Build: AOO450
> No minor set
> Product version
> Using default installpath
> Package format: msi
> msi templatepath: C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/misc/openoffice/msi_templates
> msi template path will be ignored for non Windows builds!
> msi languagepath: C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/misc/win_ulffiles
> msi language path will be ignored for non Windows builds!
> Calling epm
> Stripping files
> Unzip ARCHIVE files
> Languages: de
> ########################################################
> ... checking required files ...
> ...... searching zip.exe ...
> Found: C:/cygwin64/bin/zip.exe
> ... analyzing ../util/openoffice.lst ...
> ... reading include paths ...
> ... analyzing script: C:/Source/openoffice/main/solver/450/wntmscx12.pro/bin/setup_osl.inf ...
> ... analyzing script: C:/Source/openoffice/main/solver/450/wntmscx12.pro/bin/setup_osl.inf ...
> WARNING: mis-named or un-known %-variable in setup script at line 124637:
> Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124646:
> Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124655:
> Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124664:
> Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124673:
> Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124682:
> Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
> ... analyzing directories ...
> ... analyzing files ...
> ... analyzing scpactions ...
> ... analyzing shortcuts ...
> ... analyzing unix links ...
> ... analyzing profile ...
> ... analyzing profileitems ...
> ... analyzing modules ...
> ------------------------------------
> ... languages de ...
> ... analyzing files ...
> preparing 6 extension blobs for language de:
> dict-de_de.oxt
> dict-de_at.oxt
> dict-de_ch.oxt
> dict-en.oxt
> dict-fr.oxt
> dict-it.oxt
> preparing 0 bundled extensions for language de:
> ... analyzing files with flag ARCHIVE ...
> ... analyzing files with flag SUBST_FILENAME ...
> ... analyzing files with flag SCPZIP_REPLACE ...
> ... analyzing files with flag PATCH_SO_NAME ...
> ... analyzing files with flag HIDDEN ...
> ... analyzing all directories for this product ...
> ... analyzing links ...
> ... analyzing unix links ...
> ... creating profiles ...
> ... analyzing modules ...
> ... analyzing package list ...
> ... creating installation set in C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/Apache_OpenOffice/msi/install/de ...
> ... removing old installation directories ...
>
> **************************************************
> ERROR: ERROR: Could not find program epm!
> in function: find_epm_on_system
> **************************************************
> ... cleaning the output tree ...
> ... removing directory /tmp/ooopackaging/i_69851737693007 ...
> ... removing directory C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/Apache_OpenOffice/msi/stripped/de ...
> Error: ERROR: Could not find program epm!
> in function: find_epm_on_systemstopping log at Fri Jan 24 05:31:19 2025
> dmake: Error code 255, while making 'openoffice_de.msi'
> Packager finished: dmake openoffice_de
>
>
The code that prints that error is at
http://opengrok.openoffice.org/xref/trunk/main/solenv/bin/modules/installer/epmfile.pm?r=49cc8443#780
.
Try to see what the value of your EPM environment variable is. Also
config.log might help.
In my successful build I used --with-package-format=installed.
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Now it *almost* succeeds. :-D
Since my configure wants to build the NSIS/MSI installer it fails in the
final module "instsetoo_native".
Adding "epm" to configure didn't help.
BTW, I never needed epm for the Windows 32-bit build, maybe the cause is
here:
https://github.com/apache/openoffice/blob/trunk/main/instsetoo_native/util/makefile.mk#L117
---
C:/cygwin64/bin/perl.exe -wC:/Source/openoffice/main/solenv/bin/packager.pl
Using pack list /cygdrive/c/Source/Pack-small-64.lst
Packager: dmake openoffice_de
... checking environment variables ...
########################################################
make_installer.pl, version 1.0
Product list file: ../util/openoffice.lst
Taking setup script from solver
Unpackpath:C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro
Compiler: wntmscx12
Product: Apache_OpenOffice
BuildID: 9900
Build: AOO450
No minor set
Product version
Using default installpath
Package format: msi
msi templatepath:C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/misc/openoffice/msi_templates
msi template path will be ignored for non Windows builds!
msi languagepath:C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/misc/win_ulffiles
msi language path will be ignored for non Windows builds!
Calling epm
Stripping files
Unzip ARCHIVE files
Languages: de
########################################################
... checking required files ...
...... searching zip.exe ...
Found:C:/cygwin64/bin/zip.exe
... analyzing ../util/openoffice.lst ...
... reading include paths ...
... analyzing script:C:/Source/openoffice/main/solver/450/wntmscx12.pro/bin/setup_osl.inf ...
... analyzing script:C:/Source/openoffice/main/solver/450/wntmscx12.pro/bin/setup_osl.inf ...
WARNING: mis-named or un-known %-variable in setup script at line 124637:
Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
WARNING: mis-named or un-known %-variable in setup script at line 124646:
Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
WARNING: mis-named or un-known %-variable in setup script at line 124655:
Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
WARNING: mis-named or un-known %-variable in setup script at line 124664:
Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
WARNING: mis-named or un-known %-variable in setup script at line 124673:
Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
WARNING: mis-named or un-known %-variable in setup script at line 124682:
Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
... analyzing directories ...
... analyzing files ...
... analyzing scpactions ...
... analyzing shortcuts ...
... analyzing unix links ...
... analyzing profile ...
... analyzing profileitems ...
... analyzing modules ...
------------------------------------
... languages de ...
... analyzing files ...
preparing 6 extension blobs for language de:
dict-de_de.oxt
dict-de_at.oxt
dict-de_ch.oxt
dict-en.oxt
dict-fr.oxt
dict-it.oxt
preparing 0 bundled extensions for language de:
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SUBST_FILENAME ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... analyzing all directories for this product ...
... analyzing links ...
... analyzing unix links ...
... creating profiles ...
... analyzing modules ...
... analyzing package list ...
... creating installation set inC:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/Apache_OpenOffice/msi/install/de ...
... removing old installation directories ...
**************************************************
ERROR: ERROR: Could not find program epm!
in function: find_epm_on_system
**************************************************
... cleaning the output tree ...
... removing directory /tmp/ooopackaging/i_69851737693007 ...
... removing directoryC:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/Apache_OpenOffice/msi/stripped/de ...
Error: ERROR: Could not find program epm!
in function: find_epm_on_systemstopping log at Fri Jan 24 05:31:19 2025
dmake: Error code 255, while making 'openoffice_de.msi'
Packager finished: dmake openoffice_de
ERROR: Packager dmake openoffice_de
***************************************************************
ERROR: Packing not successful : dmake openoffice_de
in function: execute_system_calls
***************************************************************
dmake: Error code 255, while making 'updatepack'
Am 23.01.25 um 21:57 schrieb Matthias Seidel:
> Hi Damjan,
>
> Am 23.01.25 um 20:57 schrieb Damjan Jovanovic:
>> Hi Matthias
>>
>> For some reason, your build is trying to link with x86 ATL libraries,
>> causing that error.
>>
>> Note that my ./configure switches for ATL and MFC specified the amd64
>> subdirectory at the end:
>> --with-atl-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/ATL/amd64
>> --with-mfc-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/Mfc/amd64
>>
>> If you reused the directories from a 32 bit build, maybe that's the
>> problem?
>
> Thanks,
>
> indeed I reused my configure and did not notice that!
>
> I will do a rebuild now! ;-)
>
> Regards,
>
> Matthias
>
>>
>> Otherwise please send me your main/config.log.
>>
>> Regards
>> Damjan
>>
>> On Thu, Jan 23, 2025 at 11:44 AM Matthias Seidel
>> <ma...@hamburg.de>
>> wrote:
>>
>>> Hi Damjan,
>>>
>>> I still have all the 32-bit dll in "external", I wonder if that may
>>> be a
>>> problem?
>>>
>>> See below for error logs.
>>>
>>> Matthias
>>> Am 22.01.25 um 01:37 schrieb Damjan Jovanovic:
>>>
>>> On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel
>>> <ma...@hamburg.de> <ma...@hamburg.de>
>>> wrote:
>>>
>>>
>>> Hi Damjan, All,
>>>
>>> Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
>>>
>>> On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <
>>>
>>> matthias.seidel@hamburg.de>
>>>
>>> wrote:
>>>
>>>
>>> Hi Damjan,
>>>
>>> After removing
>>>
>>> --enable-win-x64-shellext \
>>>
>>> module shell now builds. We only need 64-bit shell extensions on a
>>> 64-bit system.
>>>
>>>
>>> Oh ok. I never used that flag.
>>>
>>> It is needed for a "Release Build" to produce the 64-bit shell
>>> extensions for AOO 32-bit installed on Windows 64-bit.
>>>
>>> Not needed here, but that module may need some attention.
>>>
>>>
>>> (win32 seems to be built anyway?)
>>>
>>>
>>> Yes, remember each build variant gets its own separate set of
>>>
>>> directories,
>>>
>>> something like:
>>> main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug
>>>
>>> build
>>>
>>> main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
>>> release build
>>> and now also:
>>> main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug
>>>
>>> build
>>>
>>> so different builds can coexist.
>>>
>>> If you want to delete the 32 bit files, you could:
>>> source winenv.set.sh
>>> dmake clean
>>> but it will also delete dmake, and you'll probably have to
>>> configure/bootstrap.
>>>
>>> Also you are doing a much fuller build, my flags are minimal and
>>> exclude
>>> directx, category B:
>>> --with-dmake-url=https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
>>>
>>> --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>
>>> --disable-directx
>>> --with-ant-home=/cygdrive/c/apache-ant-1.9.10
>>> --with-junit=/cygdrive/c/source/junit4.jar
>>> --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
>>> --enable-verbose
>>> --enable-pdfimport
>>> --enable-dbgutil
>>> --enable-crashdump
>>> --with-package-format=installed
>>> --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
>>> --enable-win64
>>>
>>> Yes, I use the configure for my "Test Build" to see how far it
>>> comes. It
>>> is quite impressive!
>>>
>>> BTW: After installing JAVA 8 64-bit the module "bean" is now
>>> building ;-):
>>>
>>> 5 module(s):
>>> coinmp
>>> nss
>>> embedserv
>>> winaccessibility
>>> extensions
>>> need(s) to be rebuilt
>>>
>>>
>>> This might be fixed now. With my latest changes, coinmp, nss and
>>> winaccessibility now build on Windows/amd64, and even the broader
>>> --enable-category-b build finishes successfully.
>>>
>>> 3 module(s):
>>> embedserv
>>> winaccessibility
>>> extensions
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making
>>> /cygdrive/c/Source/openoffice/main/embedserv/util
>>> ERROR: error 65280 occurred while making
>>> /cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM
>>> ERROR: error 65280 occurred while making
>>> /cygdrive/c/Source/openoffice/main/extensions/source/ole
>>>
>>> If not, please attach more detailed error logs.
>>>
>>> rc -DWIN32 -I. -I../wntmscx12.pro/inc/emser -I../inc -I../inc/pch
>>> -I../inc -I../WIN/inc -I../wntmscx12.pro/inc -I.
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc
>>> -IC:/Source/openoffice/main/solenv/wntmscx12/inc
>>> -IC:/Source/openoffice/main/solenv/inc
>>> -IC:/Source/openoffice/main/res
>>> -IC:/Source/openoffice/main/tools/inc
>>> -IC:/Source/openoffice/main/comphelper/inc
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include
>>> -IC:/Microsoft_SDKs/Windows/v7.0/include
>>> -IC:/PROGRA~2/MICROS~1.0/VC/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi
>>> -I. -I../res -I. ../wntmscx12.pro/misc/emser_def.rc
>>> cat ../wntmscx12.pro/misc/emser_def.res >
>>> ../wntmscx12.pro/misc/emser.res
>>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkVY5W2l
>>> if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then mt.exe
>>> -manifest ../wntmscx12.pro/bin/emser.dll.manifest
>>> -outputresource:../wntmscx12.pro/bin/emser.dll\;2
>>> <http://wntmscx12.pro/bin/emser.dll%5C;2> ; fi
>>> if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then /bin/rm -f
>>> ../wntmscx12.pro/bin/emser.dll.manifest ; fi
>>> if [ -f ../wntmscx12.pro/bin/emser.dll.tmanifest ] ; then /bin/rm -f
>>> ../wntmscx12.pro/bin/emser.dll.tmanifest ; fi
>>> Making: emser.dll
>>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>>
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>>
>>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG
>>> -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL
>>> -out:../wntmscx12.pro/bin/emser.dll
>>> -map:../wntmscx12.pro/misc/emser.map
>>> -def:../wntmscx12.pro/misc/emser.def
>>> -implib:../wntmscx12.pro/lib/emserimp.lib
>>> ../wntmscx12.pro/slo/emser_version.obj
>>> ../wntmscx12.pro/slo/register.obj ../wntmscx12.pro/slo/servprov.obj
>>> ../wntmscx12.pro/slo/docholder.obj
>>> ../wntmscx12.pro/slo/ed_ipersiststr.obj
>>> ../wntmscx12.pro/slo/ed_idataobj.obj
>>> ../wntmscx12.pro/slo/ed_ioleobject.obj
>>> ../wntmscx12.pro/slo/ed_iinplace.obj
>>> ../wntmscx12.pro/slo/iipaobj.obj ../wntmscx12.pro/slo/guid.obj
>>> ../wntmscx12.pro/slo/esdll.obj ../wntmscx12.pro/slo/intercept.obj
>>> ../wntmscx12.pro/slo/syswinwrapper.obj
>>> ../wntmscx12.pro/slo/tracker.obj isal.lib icppu.lib icppuhelper.lib
>>> ole32.lib gdi32.lib uuid.lib oleaut32.lib advapi32.lib
>>> C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib
>>> uwinapi.lib kernel32.lib user32.lib oldnames.lib
>>> ../wntmscx12.pro/misc/emser.res
>>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine
>>> type 'X86' conflicts with target machine type 'x64'
>>> dmake: Error code 88, while making '../wntmscx12.pro/bin/emser.dll'
>>>
>>> ---
>>>
>>> rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno
>>> -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch
>>> -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I.
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc
>>> -IC:/Source/openoffice/main/solenv/wntmscx12/inc
>>> -IC:/Source/openoffice/main/solenv/inc
>>> -IC:/Source/openoffice/main/res
>>> -IC:/Source/openoffice/main/tools/inc
>>> -IC:/Source/openoffice/main/comphelper/inc
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include
>>> -IC:/Microsoft_SDKs/Windows/v7.0/include
>>> -IC:/PROGRA~2/MICROS~1.0/VC/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi
>>> -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge.uno_def.rc
>>> cat ../../wntmscx12.pro/misc/oleautobridge.uno_def.res >
>>> ../../wntmscx12.pro/misc/oleautobridge.uno.res
>>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkNDDPWn
>>> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ;
>>> then mt.exe -manifest
>>> ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest
>>> -outputresource:../../wntmscx12.pro/bin/oleautobridge.uno.dll\;2
>>> <http://wntmscx12.pro/bin/oleautobridge.uno.dll%5C;2> ; fi
>>> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ;
>>> then /bin/rm -f
>>> ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ; fi
>>> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ] ;
>>> then /bin/rm -f
>>> ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ; fi
>>> rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno
>>> -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch
>>> -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I.
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc
>>> -IC:/Source/openoffice/main/solenv/wntmscx12/inc
>>> -IC:/Source/openoffice/main/solenv/inc
>>> -IC:/Source/openoffice/main/res
>>> -IC:/Source/openoffice/main/tools/inc
>>> -IC:/Source/openoffice/main/comphelper/inc
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include
>>> -IC:/Microsoft_SDKs/Windows/v7.0/include
>>> -IC:/PROGRA~2/MICROS~1.0/VC/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi
>>> -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge2.uno_def.rc
>>> cat ../../wntmscx12.pro/misc/oleautobridge2.uno_def.res >
>>> ../../wntmscx12.pro/misc/oleautobridge2.uno.res
>>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkpX2jrr
>>> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ;
>>> then mt.exe -manifest
>>> ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest
>>> -outputresource:../../wntmscx12.pro/bin/oleautobridge2.uno.dll\;2
>>> <http://wntmscx12.pro/bin/oleautobridge2.uno.dll%5C;2> ; fi
>>> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ;
>>> then /bin/rm -f
>>> ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ; fi
>>> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ] ;
>>> then /bin/rm -f
>>> ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ; fi
>>> Making: oleautobridge.uno.dll
>>> Making: oleautobridge2.uno.dll
>>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>>
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>>
>>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>>
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>>
>>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG
>>> -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL
>>> -out:../../wntmscx12.pro/bin/oleautobridge2.uno.dll
>>> -map:../../wntmscx12.pro/misc/oleautobridge2.uno.map
>>> -def:../../wntmscx12.pro/misc/oleautobridge2.uno.def
>>> -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t2.lib
>>> ../../wntmscx12.pro/slo/oleautobridge2.uno_version.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_servreg.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_servprov.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_unoobjw.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_oleobjw.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_olethread.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_oledll.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_jscriptclasses.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_ole2uno.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_windata.obj
>>> ../../wntmscx12.pro/slo/OWNGUID_unotypewrapper.obj isal.lib ivos.lib
>>> icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib
>>> oleaut32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib
>>> msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib
>>> ../../wntmscx12.pro/misc/oleautobridge2.uno.res
>>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine
>>> type 'X86' conflicts with target machine type 'x64'
>>> dmake: Error code 88, while making
>>> '../../wntmscx12.pro/bin/oleautobridge2.uno.dll'
>>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG
>>> -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL
>>> -out:../../wntmscx12.pro/bin/oleautobridge.uno.dll
>>> -map:../../wntmscx12.pro/misc/oleautobridge.uno.map
>>> -def:../../wntmscx12.pro/misc/oleautobridge.uno.def
>>> -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t1.lib
>>> ../../wntmscx12.pro/slo/oleautobridge.uno_version.obj
>>> ../../wntmscx12.pro/slo/servreg.obj
>>> ../../wntmscx12.pro/slo/servprov.obj
>>> ../../wntmscx12.pro/slo/unoobjw.obj
>>> ../../wntmscx12.pro/slo/oleobjw.obj
>>> ../../wntmscx12.pro/slo/olethread.obj
>>> ../../wntmscx12.pro/slo/oledll.obj
>>> ../../wntmscx12.pro/slo/jscriptclasses.obj
>>> ../../wntmscx12.pro/slo/ole2uno.obj
>>> ../../wntmscx12.pro/slo/windata.obj
>>> ../../wntmscx12.pro/slo/unotypewrapper.obj isal.lib ivos.lib
>>> icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib
>>> oleaut32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib
>>> msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib
>>> ../../wntmscx12.pro/misc/oleautobridge.uno.res
>>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine
>>> type 'X86' conflicts with target machine type 'x64'
>>> Killing of pid 39269 from pq[0] failed with: Resource temporarily
>>> unavailable - 15 ret: -1
>>>
>>> ---
>>>
>>> rc -DPRODUCT -DWIN32 -I. -I../../wntmscx12.pro/inc/UAccCOM
>>> -IC:/WinDDK/760016~1.1/inc/atl71 -I../../wntmscx12.pro/misc -I../inc
>>> -I../../inc/pch -I../../inc -I../../WIN/inc
>>> -I../../wntmscx12.pro/inc -I.
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc
>>> -IC:/Source/openoffice/main/solenv/wntmscx12/inc
>>> -IC:/Source/openoffice/main/solenv/inc
>>> -IC:/Source/openoffice/main/res
>>> -IC:/Source/openoffice/main/tools/inc
>>> -IC:/Source/openoffice/main/comphelper/inc
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32
>>> -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include
>>> -IC:/Microsoft_SDKs/Windows/v7.0/include
>>> -IC:/PROGRA~2/MICROS~1.0/VC/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Microsoft_DirectX_SDK_June_2010/include
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi
>>> -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi
>>> -I. -I../../res -I. ../../wntmscx12.pro/misc/UAccCOM_def.rc
>>> cat ../../wntmscx12.pro/res/UAccCOM.res
>>> ../../wntmscx12.pro/misc/UAccCOM_def.res >
>>> ../../wntmscx12.pro/misc/UAccCOM.res
>>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkSrRek3
>>> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then
>>> mt.exe -manifest ../../wntmscx12.pro/bin/UAccCOM.dll.manifest
>>> -outputresource:../../wntmscx12.pro/bin/UAccCOM.dll\;2
>>> <http://wntmscx12.pro/bin/UAccCOM.dll%5C;2> ; fi
>>> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then
>>> /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ; fi
>>> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ] ; then
>>> /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ; fi
>>> Making: UAccCOM.dll
>>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>>
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>>
>>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>
>>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG
>>> -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL
>>> -out:../../wntmscx12.pro/bin/UAccCOM.dll
>>> -map:../../wntmscx12.pro/misc/UAccCOM.map -def:UAccCOM.def
>>> -implib:../../wntmscx12.pro/lib/iUAccCOM_t1.lib
>>> ../../wntmscx12.pro/slo/AccAction.obj
>>> ../../wntmscx12.pro/slo/AccActionBase.obj
>>> ../../wntmscx12.pro/slo/AccComponent.obj
>>> ../../wntmscx12.pro/slo/AccComponentBase.obj
>>> ../../wntmscx12.pro/slo/AccEditableText.obj
>>> ../../wntmscx12.pro/slo/AccHyperLink.obj
>>> ../../wntmscx12.pro/slo/AccHypertext.obj
>>> ../../wntmscx12.pro/slo/AccImage.obj
>>> ../../wntmscx12.pro/slo/AccRelation.obj
>>> ../../wntmscx12.pro/slo/AccText.obj
>>> ../../wntmscx12.pro/slo/AccValue.obj
>>> ../../wntmscx12.pro/slo/EnumVariant.obj
>>> ../../wntmscx12.pro/slo/StdAfx.obj
>>> ../../wntmscx12.pro/slo/UAccCOM.obj
>>> ../../wntmscx12.pro/slo/UNOXWrapper.obj
>>> ../../wntmscx12.pro/slo/AccTable.obj
>>> ../../wntmscx12.pro/slo/AccTextBase.obj
>>> ../../wntmscx12.pro/slo/MAccessible.obj
>>> ../../wntmscx12.pro/slo/CheckEnableAccessible.obj icuuc.lib
>>> icuin.lib icppu.lib ivcl.lib isal.lib kernel32.lib user32.lib
>>> advapi32.lib ole32.lib oleaut32.lib shlwapi.lib uuid.lib oleacc.lib
>>> C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib
>>> kernel32.lib user32.lib oldnames.lib
>>> ../../wntmscx12.pro/misc/UAccCOM.res
>>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine
>>> type 'X86' conflicts with target machine type 'x64'
>>> dmake: Error code 88, while making
>>> '../../wntmscx12.pro/bin/UAccCOM.dll'
>>>
>>>
>>> Regards
>>> Damjan
>>>
>>>
>>>
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 23.01.25 um 20:57 schrieb Damjan Jovanovic:
> Hi Matthias
>
> For some reason, your build is trying to link with x86 ATL libraries,
> causing that error.
>
> Note that my ./configure switches for ATL and MFC specified the amd64
> subdirectory at the end:
> --with-atl-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/ATL/amd64
> --with-mfc-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/Mfc/amd64
>
> If you reused the directories from a 32 bit build, maybe that's the problem?
Thanks,
indeed I reused my configure and did not notice that!
I will do a rebuild now! ;-)
Regards,
Matthias
>
> Otherwise please send me your main/config.log.
>
> Regards
> Damjan
>
> On Thu, Jan 23, 2025 at 11:44 AM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>> Hi Damjan,
>>
>> I still have all the 32-bit dll in "external", I wonder if that may be a
>> problem?
>>
>> See below for error logs.
>>
>> Matthias
>> Am 22.01.25 um 01:37 schrieb Damjan Jovanovic:
>>
>> On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel <ma...@hamburg.de> <ma...@hamburg.de>
>> wrote:
>>
>>
>> Hi Damjan, All,
>>
>> Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
>>
>> On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <
>>
>> matthias.seidel@hamburg.de>
>>
>> wrote:
>>
>>
>> Hi Damjan,
>>
>> After removing
>>
>> --enable-win-x64-shellext \
>>
>> module shell now builds. We only need 64-bit shell extensions on a
>> 64-bit system.
>>
>>
>> Oh ok. I never used that flag.
>>
>> It is needed for a "Release Build" to produce the 64-bit shell
>> extensions for AOO 32-bit installed on Windows 64-bit.
>>
>> Not needed here, but that module may need some attention.
>>
>>
>> (win32 seems to be built anyway?)
>>
>>
>> Yes, remember each build variant gets its own separate set of
>>
>> directories,
>>
>> something like:
>> main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug
>>
>> build
>>
>> main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
>> release build
>> and now also:
>> main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug
>>
>> build
>>
>> so different builds can coexist.
>>
>> If you want to delete the 32 bit files, you could:
>> source winenv.set.sh
>> dmake clean
>> but it will also delete dmake, and you'll probably have to
>> configure/bootstrap.
>>
>> Also you are doing a much fuller build, my flags are minimal and exclude
>> directx, category B:
>> --with-dmake-url=https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
>> --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>> --disable-directx
>> --with-ant-home=/cygdrive/c/apache-ant-1.9.10
>> --with-junit=/cygdrive/c/source/junit4.jar
>> --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
>> --enable-verbose
>> --enable-pdfimport
>> --enable-dbgutil
>> --enable-crashdump
>> --with-package-format=installed
>> --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
>> --enable-win64
>>
>> Yes, I use the configure for my "Test Build" to see how far it comes. It
>> is quite impressive!
>>
>> BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-):
>>
>> 5 module(s):
>> coinmp
>> nss
>> embedserv
>> winaccessibility
>> extensions
>> need(s) to be rebuilt
>>
>>
>> This might be fixed now. With my latest changes, coinmp, nss and
>> winaccessibility now build on Windows/amd64, and even the broader
>> --enable-category-b build finishes successfully.
>>
>> 3 module(s):
>> embedserv
>> winaccessibility
>> extensions
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>> /cygdrive/c/Source/openoffice/main/embedserv/util
>> ERROR: error 65280 occurred while making
>> /cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM
>> ERROR: error 65280 occurred while making
>> /cygdrive/c/Source/openoffice/main/extensions/source/ole
>>
>> If not, please attach more detailed error logs.
>>
>> rc -DWIN32 -I. -I../wntmscx12.pro/inc/emser -I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../res -I. ../wntmscx12.pro/misc/emser_def.rc
>> cat ../wntmscx12.pro/misc/emser_def.res > ../wntmscx12.pro/misc/emser.res
>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkVY5W2l
>> if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then mt.exe -manifest ../wntmscx12.pro/bin/emser.dll.manifest -outputresource:../wntmscx12.pro/bin/emser.dll\;2 <http://wntmscx12.pro/bin/emser.dll%5C;2> ; fi
>> if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then /bin/rm -f ../wntmscx12.pro/bin/emser.dll.manifest ; fi
>> if [ -f ../wntmscx12.pro/bin/emser.dll.tmanifest ] ; then /bin/rm -f ../wntmscx12.pro/bin/emser.dll.tmanifest ; fi
>> Making: emser.dll
>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../wntmscx12.pro/bin/emser.dll -map:../wntmscx12.pro/misc/emser.map -def:../wntmscx12.pro/misc/emser.def -implib:../wntmscx12.pro/lib/emserimp.lib ../wntmscx12.pro/slo/emser_version.obj ../wntmscx12.pro/slo/register.obj ../wntmscx12.pro/slo/servprov.obj ../wntmscx12.pro/slo/docholder.obj ../wntmscx12.pro/slo/ed_ipersiststr.obj ../wntmscx12.pro/slo/ed_idataobj.obj ../wntmscx12.pro/slo/ed_ioleobject.obj ../wntmscx12.pro/slo/ed_iinplace.obj ../wntmscx12.pro/slo/iipaobj.obj ../wntmscx12.pro/slo/guid.obj ../wntmscx12.pro/slo/esdll.obj ../wntmscx12.pro/slo/intercept.obj ../wntmscx12.pro/slo/syswinwrapper.obj ../wntmscx12.pro/slo/tracker.obj isal.lib icppu.lib icppuhelper.lib ole32.lib gdi32.lib uuid.lib oleaut32.lib advapi32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../wntmscx12.pro/misc/emser.res
>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
>> dmake: Error code 88, while making '../wntmscx12.pro/bin/emser.dll'
>>
>> ---
>>
>> rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge.uno_def.rc
>> cat ../../wntmscx12.pro/misc/oleautobridge.uno_def.res > ../../wntmscx12.pro/misc/oleautobridge.uno.res
>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkNDDPWn
>> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest -outputresource:../../wntmscx12.pro/bin/oleautobridge.uno.dll\;2 <http://wntmscx12.pro/bin/oleautobridge.uno.dll%5C;2> ; fi
>> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ; fi
>> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ; fi
>> rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge2.uno_def.rc
>> cat ../../wntmscx12.pro/misc/oleautobridge2.uno_def.res > ../../wntmscx12.pro/misc/oleautobridge2.uno.res
>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkpX2jrr
>> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest -outputresource:../../wntmscx12.pro/bin/oleautobridge2.uno.dll\;2 <http://wntmscx12.pro/bin/oleautobridge2.uno.dll%5C;2> ; fi
>> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ; fi
>> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ; fi
>> Making: oleautobridge.uno.dll
>> Making: oleautobridge2.uno.dll
>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/oleautobridge2.uno.dll -map:../../wntmscx12.pro/misc/oleautobridge2.uno.map -def:../../wntmscx12.pro/misc/oleautobridge2.uno.def -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t2.lib ../../wntmscx12.pro/slo/oleautobridge2.uno_version.obj ../../wntmscx12.pro/slo/OWNGUID_servreg.obj ../../wntmscx12.pro/slo/OWNGUID_servprov.obj ../../wntmscx12.pro/slo/OWNGUID_unoobjw.obj ../../wntmscx12.pro/slo/OWNGUID_oleobjw.obj ../../wntmscx12.pro/slo/OWNGUID_olethread.obj ../../wntmscx12.pro/slo/OWNGUID_oledll.obj ../../wntmscx12.pro/slo/OWNGUID_jscriptclasses.obj ../../wntmscx12.pro/slo/OWNGUID_ole2uno.obj ../../wntmscx12.pro/slo/OWNGUID_windata.obj ../../wntmscx12.pro/slo/OWNGUID_unotypewrapper.obj isal.lib ivos.lib icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/oleautobridge2.uno.res
>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
>> dmake: Error code 88, while making '../../wntmscx12.pro/bin/oleautobridge2.uno.dll'
>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/oleautobridge.uno.dll -map:../../wntmscx12.pro/misc/oleautobridge.uno.map -def:../../wntmscx12.pro/misc/oleautobridge.uno.def -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t1.lib ../../wntmscx12.pro/slo/oleautobridge.uno_version.obj ../../wntmscx12.pro/slo/servreg.obj ../../wntmscx12.pro/slo/servprov.obj ../../wntmscx12.pro/slo/unoobjw.obj ../../wntmscx12.pro/slo/oleobjw.obj ../../wntmscx12.pro/slo/olethread.obj ../../wntmscx12.pro/slo/oledll.obj ../../wntmscx12.pro/slo/jscriptclasses.obj ../../wntmscx12.pro/slo/ole2uno.obj ../../wntmscx12.pro/slo/windata.obj ../../wntmscx12.pro/slo/unotypewrapper.obj isal.lib ivos.lib icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/oleautobridge.uno.res
>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
>> Killing of pid 39269 from pq[0] failed with: Resource temporarily unavailable - 15 ret: -1
>>
>> ---
>>
>> rc -DPRODUCT -DWIN32 -I. -I../../wntmscx12.pro/inc/UAccCOM -IC:/WinDDK/760016~1.1/inc/atl71 -I../../wntmscx12.pro/misc -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/UAccCOM_def.rc
>> cat ../../wntmscx12.pro/res/UAccCOM.res ../../wntmscx12.pro/misc/UAccCOM_def.res > ../../wntmscx12.pro/misc/UAccCOM.res
>> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkSrRek3
>> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/UAccCOM.dll.manifest -outputresource:../../wntmscx12.pro/bin/UAccCOM.dll\;2 <http://wntmscx12.pro/bin/UAccCOM.dll%5C;2> ; fi
>> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ; fi
>> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ; fi
>> Making: UAccCOM.dll
>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>>
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
>> Microsoft (R) Incremental Linker Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/UAccCOM.dll -map:../../wntmscx12.pro/misc/UAccCOM.map -def:UAccCOM.def -implib:../../wntmscx12.pro/lib/iUAccCOM_t1.lib ../../wntmscx12.pro/slo/AccAction.obj ../../wntmscx12.pro/slo/AccActionBase.obj ../../wntmscx12.pro/slo/AccComponent.obj ../../wntmscx12.pro/slo/AccComponentBase.obj ../../wntmscx12.pro/slo/AccEditableText.obj ../../wntmscx12.pro/slo/AccHyperLink.obj ../../wntmscx12.pro/slo/AccHypertext.obj ../../wntmscx12.pro/slo/AccImage.obj ../../wntmscx12.pro/slo/AccRelation.obj ../../wntmscx12.pro/slo/AccText.obj ../../wntmscx12.pro/slo/AccValue.obj ../../wntmscx12.pro/slo/EnumVariant.obj ../../wntmscx12.pro/slo/StdAfx.obj ../../wntmscx12.pro/slo/UAccCOM.obj ../../wntmscx12.pro/slo/UNOXWrapper.obj ../../wntmscx12.pro/slo/AccTable.obj ../../wntmscx12.pro/slo/AccTextBase.obj ../../wntmscx12.pro/slo/MAccessible.obj ../../wntmscx12.pro/slo/CheckEnableAccessible.obj icuuc.lib icuin.lib icppu.lib ivcl.lib isal.lib kernel32.lib user32.lib advapi32.lib ole32.lib oleaut32.lib shlwapi.lib uuid.lib oleacc.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/UAccCOM.res
>> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
>> dmake: Error code 88, while making '../../wntmscx12.pro/bin/UAccCOM.dll'
>>
>>
>> Regards
>> Damjan
>>
>>
>>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
Hi Matthias
For some reason, your build is trying to link with x86 ATL libraries,
causing that error.
Note that my ./configure switches for ATL and MFC specified the amd64
subdirectory at the end:
--with-atl-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/ATL/amd64
--with-mfc-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/Mfc/amd64
If you reused the directories from a 32 bit build, maybe that's the problem?
Otherwise please send me your main/config.log.
Regards
Damjan
On Thu, Jan 23, 2025 at 11:44 AM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan,
>
> I still have all the 32-bit dll in "external", I wonder if that may be a
> problem?
>
> See below for error logs.
>
> Matthias
> Am 22.01.25 um 01:37 schrieb Damjan Jovanovic:
>
> On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel <ma...@hamburg.de> <ma...@hamburg.de>
> wrote:
>
>
> Hi Damjan, All,
>
> Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
>
> On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <
>
> matthias.seidel@hamburg.de>
>
> wrote:
>
>
> Hi Damjan,
>
> After removing
>
> --enable-win-x64-shellext \
>
> module shell now builds. We only need 64-bit shell extensions on a
> 64-bit system.
>
>
> Oh ok. I never used that flag.
>
> It is needed for a "Release Build" to produce the 64-bit shell
> extensions for AOO 32-bit installed on Windows 64-bit.
>
> Not needed here, but that module may need some attention.
>
>
> (win32 seems to be built anyway?)
>
>
> Yes, remember each build variant gets its own separate set of
>
> directories,
>
> something like:
> main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug
>
> build
>
> main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
> release build
> and now also:
> main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug
>
> build
>
> so different builds can coexist.
>
> If you want to delete the 32 bit files, you could:
> source winenv.set.sh
> dmake clean
> but it will also delete dmake, and you'll probably have to
> configure/bootstrap.
>
> Also you are doing a much fuller build, my flags are minimal and exclude
> directx, category B:
> --with-dmake-url=https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
> --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
> --disable-directx
> --with-ant-home=/cygdrive/c/apache-ant-1.9.10
> --with-junit=/cygdrive/c/source/junit4.jar
> --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
> --enable-verbose
> --enable-pdfimport
> --enable-dbgutil
> --enable-crashdump
> --with-package-format=installed
> --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
> --enable-win64
>
> Yes, I use the configure for my "Test Build" to see how far it comes. It
> is quite impressive!
>
> BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-):
>
> 5 module(s):
> coinmp
> nss
> embedserv
> winaccessibility
> extensions
> need(s) to be rebuilt
>
>
> This might be fixed now. With my latest changes, coinmp, nss and
> winaccessibility now build on Windows/amd64, and even the broader
> --enable-category-b build finishes successfully.
>
> 3 module(s):
> embedserv
> winaccessibility
> extensions
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/embedserv/util
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/extensions/source/ole
>
> If not, please attach more detailed error logs.
>
> rc -DWIN32 -I. -I../wntmscx12.pro/inc/emser -I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../res -I. ../wntmscx12.pro/misc/emser_def.rc
> cat ../wntmscx12.pro/misc/emser_def.res > ../wntmscx12.pro/misc/emser.res
> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkVY5W2l
> if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then mt.exe -manifest ../wntmscx12.pro/bin/emser.dll.manifest -outputresource:../wntmscx12.pro/bin/emser.dll\;2 <http://wntmscx12.pro/bin/emser.dll%5C;2> ; fi
> if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then /bin/rm -f ../wntmscx12.pro/bin/emser.dll.manifest ; fi
> if [ -f ../wntmscx12.pro/bin/emser.dll.tmanifest ] ; then /bin/rm -f ../wntmscx12.pro/bin/emser.dll.tmanifest ; fi
> Making: emser.dll
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
> Microsoft (R) Incremental Linker Version 9.00.30729.01
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../wntmscx12.pro/bin/emser.dll -map:../wntmscx12.pro/misc/emser.map -def:../wntmscx12.pro/misc/emser.def -implib:../wntmscx12.pro/lib/emserimp.lib ../wntmscx12.pro/slo/emser_version.obj ../wntmscx12.pro/slo/register.obj ../wntmscx12.pro/slo/servprov.obj ../wntmscx12.pro/slo/docholder.obj ../wntmscx12.pro/slo/ed_ipersiststr.obj ../wntmscx12.pro/slo/ed_idataobj.obj ../wntmscx12.pro/slo/ed_ioleobject.obj ../wntmscx12.pro/slo/ed_iinplace.obj ../wntmscx12.pro/slo/iipaobj.obj ../wntmscx12.pro/slo/guid.obj ../wntmscx12.pro/slo/esdll.obj ../wntmscx12.pro/slo/intercept.obj ../wntmscx12.pro/slo/syswinwrapper.obj ../wntmscx12.pro/slo/tracker.obj isal.lib icppu.lib icppuhelper.lib ole32.lib gdi32.lib uuid.lib oleaut32.lib advapi32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../wntmscx12.pro/misc/emser.res
> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
> dmake: Error code 88, while making '../wntmscx12.pro/bin/emser.dll'
>
> ---
>
> rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge.uno_def.rc
> cat ../../wntmscx12.pro/misc/oleautobridge.uno_def.res > ../../wntmscx12.pro/misc/oleautobridge.uno.res
> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkNDDPWn
> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest -outputresource:../../wntmscx12.pro/bin/oleautobridge.uno.dll\;2 <http://wntmscx12.pro/bin/oleautobridge.uno.dll%5C;2> ; fi
> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ; fi
> if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ; fi
> rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge2.uno_def.rc
> cat ../../wntmscx12.pro/misc/oleautobridge2.uno_def.res > ../../wntmscx12.pro/misc/oleautobridge2.uno.res
> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkpX2jrr
> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest -outputresource:../../wntmscx12.pro/bin/oleautobridge2.uno.dll\;2 <http://wntmscx12.pro/bin/oleautobridge2.uno.dll%5C;2> ; fi
> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ; fi
> if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ; fi
> Making: oleautobridge.uno.dll
> Making: oleautobridge2.uno.dll
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
> Microsoft (R) Incremental Linker Version 9.00.30729.01
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/oleautobridge2.uno.dll -map:../../wntmscx12.pro/misc/oleautobridge2.uno.map -def:../../wntmscx12.pro/misc/oleautobridge2.uno.def -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t2.lib ../../wntmscx12.pro/slo/oleautobridge2.uno_version.obj ../../wntmscx12.pro/slo/OWNGUID_servreg.obj ../../wntmscx12.pro/slo/OWNGUID_servprov.obj ../../wntmscx12.pro/slo/OWNGUID_unoobjw.obj ../../wntmscx12.pro/slo/OWNGUID_oleobjw.obj ../../wntmscx12.pro/slo/OWNGUID_olethread.obj ../../wntmscx12.pro/slo/OWNGUID_oledll.obj ../../wntmscx12.pro/slo/OWNGUID_jscriptclasses.obj ../../wntmscx12.pro/slo/OWNGUID_ole2uno.obj ../../wntmscx12.pro/slo/OWNGUID_windata.obj ../../wntmscx12.pro/slo/OWNGUID_unotypewrapper.obj isal.lib ivos.lib icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/oleautobridge2.uno.res
> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
> dmake: Error code 88, while making '../../wntmscx12.pro/bin/oleautobridge2.uno.dll'
> Microsoft (R) Incremental Linker Version 9.00.30729.01
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/oleautobridge.uno.dll -map:../../wntmscx12.pro/misc/oleautobridge.uno.map -def:../../wntmscx12.pro/misc/oleautobridge.uno.def -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t1.lib ../../wntmscx12.pro/slo/oleautobridge.uno_version.obj ../../wntmscx12.pro/slo/servreg.obj ../../wntmscx12.pro/slo/servprov.obj ../../wntmscx12.pro/slo/unoobjw.obj ../../wntmscx12.pro/slo/oleobjw.obj ../../wntmscx12.pro/slo/olethread.obj ../../wntmscx12.pro/slo/oledll.obj ../../wntmscx12.pro/slo/jscriptclasses.obj ../../wntmscx12.pro/slo/ole2uno.obj ../../wntmscx12.pro/slo/windata.obj ../../wntmscx12.pro/slo/unotypewrapper.obj isal.lib ivos.lib icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/oleautobridge.uno.res
> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
> Killing of pid 39269 from pq[0] failed with: Resource temporarily unavailable - 15 ret: -1
>
> ---
>
> rc -DPRODUCT -DWIN32 -I. -I../../wntmscx12.pro/inc/UAccCOM -IC:/WinDDK/760016~1.1/inc/atl71 -I../../wntmscx12.pro/misc -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/UAccCOM_def.rc
> cat ../../wntmscx12.pro/res/UAccCOM.res ../../wntmscx12.pro/misc/UAccCOM_def.res > ../../wntmscx12.pro/misc/UAccCOM.res
> link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkSrRek3
> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/UAccCOM.dll.manifest -outputresource:../../wntmscx12.pro/bin/UAccCOM.dll\;2 <http://wntmscx12.pro/bin/UAccCOM.dll%5C;2> ; fi
> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ; fi
> if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ; fi
> Making: UAccCOM.dll
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
> Microsoft (R) Incremental Linker Version 9.00.30729.01
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/UAccCOM.dll -map:../../wntmscx12.pro/misc/UAccCOM.map -def:UAccCOM.def -implib:../../wntmscx12.pro/lib/iUAccCOM_t1.lib ../../wntmscx12.pro/slo/AccAction.obj ../../wntmscx12.pro/slo/AccActionBase.obj ../../wntmscx12.pro/slo/AccComponent.obj ../../wntmscx12.pro/slo/AccComponentBase.obj ../../wntmscx12.pro/slo/AccEditableText.obj ../../wntmscx12.pro/slo/AccHyperLink.obj ../../wntmscx12.pro/slo/AccHypertext.obj ../../wntmscx12.pro/slo/AccImage.obj ../../wntmscx12.pro/slo/AccRelation.obj ../../wntmscx12.pro/slo/AccText.obj ../../wntmscx12.pro/slo/AccValue.obj ../../wntmscx12.pro/slo/EnumVariant.obj ../../wntmscx12.pro/slo/StdAfx.obj ../../wntmscx12.pro/slo/UAccCOM.obj ../../wntmscx12.pro/slo/UNOXWrapper.obj ../../wntmscx12.pro/slo/AccTable.obj ../../wntmscx12.pro/slo/AccTextBase.obj ../../wntmscx12.pro/slo/MAccessible.obj ../../wntmscx12.pro/slo/CheckEnableAccessible.obj icuuc.lib icuin.lib icppu.lib ivcl.lib isal.lib kernel32.lib user32.lib advapi32.lib ole32.lib oleaut32.lib shlwapi.lib uuid.lib oleacc.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/UAccCOM.res
> atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
> dmake: Error code 88, while making '../../wntmscx12.pro/bin/UAccCOM.dll'
>
>
> Regards
> Damjan
>
>
>
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
I still have all the 32-bit dll in "external", I wonder if that may be a
problem?
See below for error logs.
Matthias
Am 22.01.25 um 01:37 schrieb Damjan Jovanovic:
> On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel<ma...@hamburg.de>
> wrote:
>
>> Hi Damjan, All,
>>
>> Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
>>> On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <
>> matthias.seidel@hamburg.de>
>>> wrote:
>>>
>>>> Hi Damjan,
>>>>
>>>> After removing
>>>>
>>>> --enable-win-x64-shellext \
>>>>
>>>> module shell now builds. We only need 64-bit shell extensions on a
>>>> 64-bit system.
>>>>
>>> Oh ok. I never used that flag.
>> It is needed for a "Release Build" to produce the 64-bit shell
>> extensions for AOO 32-bit installed on Windows 64-bit.
>>
>> Not needed here, but that module may need some attention.
>>
>>>
>>>> (win32 seems to be built anyway?)
>>>>
>>> Yes, remember each build variant gets its own separate set of
>> directories,
>>> something like:
>>> main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug
>> build
>>> main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
>>> release build
>>> and now also:
>>> main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug
>> build
>>> so different builds can coexist.
>>>
>>> If you want to delete the 32 bit files, you could:
>>> source winenv.set.sh
>>> dmake clean
>>> but it will also delete dmake, and you'll probably have to
>>> configure/bootstrap.
>>>
>>> Also you are doing a much fuller build, my flags are minimal and exclude
>>> directx, category B:
>>> --with-dmake-url=
>>> https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
>>> --with-epm-url=
>>> https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>> --disable-directx
>>> --with-ant-home=/cygdrive/c/apache-ant-1.9.10
>>> --with-junit=/cygdrive/c/source/junit4.jar
>>> --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
>>> --enable-verbose
>>> --enable-pdfimport
>>> --enable-dbgutil
>>> --enable-crashdump
>>> --with-package-format=installed
>>> --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
>>> --enable-win64
>> Yes, I use the configure for my "Test Build" to see how far it comes. It
>> is quite impressive!
>>
>> BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-):
>>
>> 5 module(s):
>> coinmp
>> nss
>> embedserv
>> winaccessibility
>> extensions
>> need(s) to be rebuilt
>>
> This might be fixed now. With my latest changes, coinmp, nss and
> winaccessibility now build on Windows/amd64, and even the broader
> --enable-category-b build finishes successfully.
3 module(s):
embedserv
winaccessibility
extensions
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/embedserv/util
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/extensions/source/ole
>
> If not, please attach more detailed error logs.
rc -DWIN32 -I. -I../wntmscx12.pro/inc/emser -I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../res -I. ../wntmscx12.pro/misc/emser_def.rc
cat ../wntmscx12.pro/misc/emser_def.res > ../wntmscx12.pro/misc/emser.res
link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkVY5W2l
if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then mt.exe -manifest ../wntmscx12.pro/bin/emser.dll.manifest -outputresource:../wntmscx12.pro/bin/emser.dll\;2 ; fi
if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then /bin/rm -f ../wntmscx12.pro/bin/emser.dll.manifest ; fi
if [ -f ../wntmscx12.pro/bin/emser.dll.tmanifest ] ; then /bin/rm -f ../wntmscx12.pro/bin/emser.dll.tmanifest ; fi
Making: emser.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../wntmscx12.pro/bin/emser.dll -map:../wntmscx12.pro/misc/emser.map -def:../wntmscx12.pro/misc/emser.def -implib:../wntmscx12.pro/lib/emserimp.lib ../wntmscx12.pro/slo/emser_version.obj ../wntmscx12.pro/slo/register.obj ../wntmscx12.pro/slo/servprov.obj ../wntmscx12.pro/slo/docholder.obj ../wntmscx12.pro/slo/ed_ipersiststr.obj ../wntmscx12.pro/slo/ed_idataobj.obj ../wntmscx12.pro/slo/ed_ioleobject.obj ../wntmscx12.pro/slo/ed_iinplace.obj ../wntmscx12.pro/slo/iipaobj.obj ../wntmscx12.pro/slo/guid.obj ../wntmscx12.pro/slo/esdll.obj ../wntmscx12.pro/slo/intercept.obj ../wntmscx12.pro/slo/syswinwrapper.obj ../wntmscx12.pro/slo/tracker.obj isal.lib icppu.lib icppuhelper.lib ole32.lib gdi32.lib uuid.lib oleaut32.lib advapi32.libC:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../wntmscx12.pro/misc/emser.res
atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
dmake: Error code 88, while making '../wntmscx12.pro/bin/emser.dll'
---
rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge.uno_def.rc
cat ../../wntmscx12.pro/misc/oleautobridge.uno_def.res > ../../wntmscx12.pro/misc/oleautobridge.uno.res
link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkNDDPWn
if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest -outputresource:../../wntmscx12.pro/bin/oleautobridge.uno.dll\;2 ; fi
if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ; fi
if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ; fi
rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge2.uno_def.rc
cat ../../wntmscx12.pro/misc/oleautobridge2.uno_def.res > ../../wntmscx12.pro/misc/oleautobridge2.uno.res
link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkpX2jrr
if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest -outputresource:../../wntmscx12.pro/bin/oleautobridge2.uno.dll\;2 ; fi
if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ; fi
if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ; fi
Making: oleautobridge.uno.dll
Making: oleautobridge2.uno.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/oleautobridge2.uno.dll -map:../../wntmscx12.pro/misc/oleautobridge2.uno.map -def:../../wntmscx12.pro/misc/oleautobridge2.uno.def -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t2.lib ../../wntmscx12.pro/slo/oleautobridge2.uno_version.obj ../../wntmscx12.pro/slo/OWNGUID_servreg.obj ../../wntmscx12.pro/slo/OWNGUID_servprov.obj ../../wntmscx12.pro/slo/OWNGUID_unoobjw.obj ../../wntmscx12.pro/slo/OWNGUID_oleobjw.obj ../../wntmscx12.pro/slo/OWNGUID_olethread.obj ../../wntmscx12.pro/slo/OWNGUID_oledll.obj ../../wntmscx12.pro/slo/OWNGUID_jscriptclasses.obj ../../wntmscx12.pro/slo/OWNGUID_ole2uno.obj ../../wntmscx12.pro/slo/OWNGUID_windata.obj ../../wntmscx12.pro/slo/OWNGUID_unotypewrapper.obj isal.lib ivos.lib icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.libC:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/oleautobridge2.uno.res
atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
dmake: Error code 88, while making '../../wntmscx12.pro/bin/oleautobridge2.uno.dll'
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/oleautobridge.uno.dll -map:../../wntmscx12.pro/misc/oleautobridge.uno.map -def:../../wntmscx12.pro/misc/oleautobridge.uno.def -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t1.lib ../../wntmscx12.pro/slo/oleautobridge.uno_version.obj ../../wntmscx12.pro/slo/servreg.obj ../../wntmscx12.pro/slo/servprov.obj ../../wntmscx12.pro/slo/unoobjw.obj ../../wntmscx12.pro/slo/oleobjw.obj ../../wntmscx12.pro/slo/olethread.obj ../../wntmscx12.pro/slo/oledll.obj ../../wntmscx12.pro/slo/jscriptclasses.obj ../../wntmscx12.pro/slo/ole2uno.obj ../../wntmscx12.pro/slo/windata.obj ../../wntmscx12.pro/slo/unotypewrapper.obj isal.lib ivos.lib icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.libC:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/oleautobridge.uno.res
atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
Killing of pid 39269 from pq[0] failed with: Resource temporarily unavailable - 15 ret: -1
---
rc -DPRODUCT -DWIN32 -I. -I../../wntmscx12.pro/inc/UAccCOM -IC:/WinDDK/760016~1.1/inc/atl71 -I../../wntmscx12.pro/misc -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc -IC:/Source/openoffice/main/solenv/wntmscx12/inc -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res -IC:/Source/openoffice/main/tools/inc -IC:/Source/openoffice/main/comphelper/inc -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Microsoft_DirectX_SDK_June_2010/include -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. -I../../res -I. ../../wntmscx12.pro/misc/UAccCOM_def.rc
cat ../../wntmscx12.pro/res/UAccCOM.res ../../wntmscx12.pro/misc/UAccCOM_def.res > ../../wntmscx12.pro/misc/UAccCOM.res
link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkSrRek3
if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then mt.exe -manifest ../../wntmscx12.pro/bin/UAccCOM.dll.manifest -outputresource:../../wntmscx12.pro/bin/UAccCOM.dll\;2 ; fi
if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ; fi
if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ] ; then /bin/rm -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ; fi
Making: UAccCOM.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../wntmscx12.pro/bin/UAccCOM.dll -map:../../wntmscx12.pro/misc/UAccCOM.map -def:UAccCOM.def -implib:../../wntmscx12.pro/lib/iUAccCOM_t1.lib ../../wntmscx12.pro/slo/AccAction.obj ../../wntmscx12.pro/slo/AccActionBase.obj ../../wntmscx12.pro/slo/AccComponent.obj ../../wntmscx12.pro/slo/AccComponentBase.obj ../../wntmscx12.pro/slo/AccEditableText.obj ../../wntmscx12.pro/slo/AccHyperLink.obj ../../wntmscx12.pro/slo/AccHypertext.obj ../../wntmscx12.pro/slo/AccImage.obj ../../wntmscx12.pro/slo/AccRelation.obj ../../wntmscx12.pro/slo/AccText.obj ../../wntmscx12.pro/slo/AccValue.obj ../../wntmscx12.pro/slo/EnumVariant.obj ../../wntmscx12.pro/slo/StdAfx.obj ../../wntmscx12.pro/slo/UAccCOM.obj ../../wntmscx12.pro/slo/UNOXWrapper.obj ../../wntmscx12.pro/slo/AccTable.obj ../../wntmscx12.pro/slo/AccTextBase.obj ../../wntmscx12.pro/slo/MAccessible.obj ../../wntmscx12.pro/slo/CheckEnableAccessible.obj icuuc.lib icuin.lib icppu.lib ivcl.lib isal.lib kernel32.lib user32.lib advapi32.lib ole32.lib oleaut32.lib shlwapi.lib uuid.lib oleacc.libC:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/UAccCOM.res
atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
dmake: Error code 88, while making '../../wntmscx12.pro/bin/UAccCOM.dll'
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan, All,
>
> Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
> > On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <
> matthias.seidel@hamburg.de>
> > wrote:
> >
> >> Hi Damjan,
> >>
> >> After removing
> >>
> >> --enable-win-x64-shellext \
> >>
> >> module shell now builds. We only need 64-bit shell extensions on a
> >> 64-bit system.
> >>
> > Oh ok. I never used that flag.
>
> It is needed for a "Release Build" to produce the 64-bit shell
> extensions for AOO 32-bit installed on Windows 64-bit.
>
> Not needed here, but that module may need some attention.
>
> >
> >
> >> (win32 seems to be built anyway?)
> >>
> > Yes, remember each build variant gets its own separate set of
> directories,
> > something like:
> > main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug
> build
> > main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
> > release build
> > and now also:
> > main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug
> build
> > so different builds can coexist.
> >
> > If you want to delete the 32 bit files, you could:
> > source winenv.set.sh
> > dmake clean
> > but it will also delete dmake, and you'll probably have to
> > configure/bootstrap.
> >
> > Also you are doing a much fuller build, my flags are minimal and exclude
> > directx, category B:
> > --with-dmake-url=
> > https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
> > --with-epm-url=
> > https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
> > --disable-directx
> > --with-ant-home=/cygdrive/c/apache-ant-1.9.10
> > --with-junit=/cygdrive/c/source/junit4.jar
> > --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
> > --enable-verbose
> > --enable-pdfimport
> > --enable-dbgutil
> > --enable-crashdump
> > --with-package-format=installed
> > --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
> > --enable-win64
>
> Yes, I use the configure for my "Test Build" to see how far it comes. It
> is quite impressive!
>
> BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-):
>
> 5 module(s):
> coinmp
> nss
> embedserv
> winaccessibility
> extensions
> need(s) to be rebuilt
>
This might be fixed now. With my latest changes, coinmp, nss and
winaccessibility now build on Windows/amd64, and even the broader
--enable-category-b build finishes successfully.
If not, please attach more detailed error logs.
Regards
Damjan
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan, All,
>
> Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
> > On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <
> matthias.seidel@hamburg.de>
> > wrote:
> >
> >> Hi Damjan,
> >>
> >> After removing
> >>
> >> --enable-win-x64-shellext \
> >>
> >> module shell now builds. We only need 64-bit shell extensions on a
> >> 64-bit system.
> >>
> > Oh ok. I never used that flag.
>
> It is needed for a "Release Build" to produce the 64-bit shell
> extensions for AOO 32-bit installed on Windows 64-bit.
>
> Not needed here, but that module may need some attention.
>
> >
> >
> >> (win32 seems to be built anyway?)
> >>
> > Yes, remember each build variant gets its own separate set of
> directories,
> > something like:
> > main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug
> build
> > main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
> > release build
> > and now also:
> > main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug
> build
> > so different builds can coexist.
> >
> > If you want to delete the 32 bit files, you could:
> > source winenv.set.sh
> > dmake clean
> > but it will also delete dmake, and you'll probably have to
> > configure/bootstrap.
> >
> > Also you are doing a much fuller build, my flags are minimal and exclude
> > directx, category B:
> > --with-dmake-url=
> > https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
> > --with-epm-url=
> > https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
> > --disable-directx
> > --with-ant-home=/cygdrive/c/apache-ant-1.9.10
> > --with-junit=/cygdrive/c/source/junit4.jar
> > --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
> > --enable-verbose
> > --enable-pdfimport
> > --enable-dbgutil
> > --enable-crashdump
> > --with-package-format=installed
> > --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
> > --enable-win64
>
> Yes, I use the configure for my "Test Build" to see how far it comes. It
> is quite impressive!
>
Thank you :).
>
> BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-):
>
> 5 module(s):
> coinmp
> nss
> embedserv
> winaccessibility
> extensions
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/embedserv/util
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/ext_libraries/coinmp
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/nss
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/extensions/source/activex/main
> ERROR: error 65280 occurred while making
> /cygdrive/c/Source/openoffice/main/extensions/source/ole
>
>
I don't have ATL so embedserv and winaccessibility are skipped. My coinmp
is disabled, NSS is disabled, and extensions is probably leaving out the
parts without ATL and NSS which break for you.
Still, it's good to know those will need fixing at some stage.
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan, All,
Am 12.01.25 um 03:59 schrieb Damjan Jovanovic:
> On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>> Hi Damjan,
>>
>> After removing
>>
>> --enable-win-x64-shellext \
>>
>> module shell now builds. We only need 64-bit shell extensions on a
>> 64-bit system.
>>
> Oh ok. I never used that flag.
It is needed for a "Release Build" to produce the 64-bit shell
extensions for AOO 32-bit installed on Windows 64-bit.
Not needed here, but that module may need some attention.
>
>
>> (win32 seems to be built anyway?)
>>
> Yes, remember each build variant gets its own separate set of directories,
> something like:
> main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug build
> main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
> release build
> and now also:
> main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug build
> so different builds can coexist.
>
> If you want to delete the 32 bit files, you could:
> source winenv.set.sh
> dmake clean
> but it will also delete dmake, and you'll probably have to
> configure/bootstrap.
>
> Also you are doing a much fuller build, my flags are minimal and exclude
> directx, category B:
> --with-dmake-url=
> https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
> --with-epm-url=
> https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
> --disable-directx
> --with-ant-home=/cygdrive/c/apache-ant-1.9.10
> --with-junit=/cygdrive/c/source/junit4.jar
> --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
> --enable-verbose
> --enable-pdfimport
> --enable-dbgutil
> --enable-crashdump
> --with-package-format=installed
> --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
> --enable-win64
Yes, I use the configure for my "Test Build" to see how far it comes. It
is quite impressive!
BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-):
5 module(s):
coinmp
nss
embedserv
winaccessibility
extensions
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/embedserv/util
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/ext_libraries/coinmp
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/nss
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/extensions/source/activex/main
ERROR: error 65280 occurred while making
/cygdrive/c/Source/openoffice/main/extensions/source/ole
Regards,
Matthias
>
> Among the related changes I am still developing, I've started the painful
> implementation of "configuration" (*.xcs/*.xcu) files in gbuild, and am
> finished with the "ConfigurationSchema" (*.xcs), but the
> "ConfigurationData" (*.xcu) is more complicated. I've done the first step,
> generation of destination/data/path/to/Class.xcu from
> source/path/to/Class.xcu via XSLT transformations, but there are 4 more
> steps, involving localization tools I've never used before. Once this is
> finished, it will enable at least 8 more modules (connectivity, desktop,
> extensions, filter, officecfg, reportbuilder, sdext, swext) to be ported to
> gbuild.
>
> BUT I JUST REMEMBERED SOMETHING IMPORTANT:
> Some time ago, I found an earlier attempt to implement "configuration" in
> gbuild on our bugzilla: https://bz.apache.org/ooo/show_bug.cgi?id=118397
> It was from 2011, but the contributor said "patches are based on CWS
> gnumake4 and licensed under Apache License 2."
> :-O
> CAN WE USE IT???
>
> Thank you for testing :).
>
>
>> Regards,
>>
>> Matthias
>>
>>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan,
>
> After removing
>
> --enable-win-x64-shellext \
>
> module shell now builds. We only need 64-bit shell extensions on a
> 64-bit system.
>
Oh ok. I never used that flag.
>
> (win32 seems to be built anyway?)
>
Yes, remember each build variant gets its own separate set of directories,
something like:
main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug build
main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit
release build
and now also:
main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug build
so different builds can coexist.
If you want to delete the 32 bit files, you could:
source winenv.set.sh
dmake clean
but it will also delete dmake, and you'll probably have to
configure/bootstrap.
Also you are doing a much fuller build, my flags are minimal and exclude
directx, category B:
--with-dmake-url=
https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz
--with-epm-url=
https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
--disable-directx
--with-ant-home=/cygdrive/c/apache-ant-1.9.10
--with-junit=/cygdrive/c/source/junit4.jar
--with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar
--enable-verbose
--enable-pdfimport
--enable-dbgutil
--enable-crashdump
--with-package-format=installed
--with-nasm-home=/cygdrive/c/Program Files (x86)/NASM
--enable-win64
Among the related changes I am still developing, I've started the painful
implementation of "configuration" (*.xcs/*.xcu) files in gbuild, and am
finished with the "ConfigurationSchema" (*.xcs), but the
"ConfigurationData" (*.xcu) is more complicated. I've done the first step,
generation of destination/data/path/to/Class.xcu from
source/path/to/Class.xcu via XSLT transformations, but there are 4 more
steps, involving localization tools I've never used before. Once this is
finished, it will enable at least 8 more modules (connectivity, desktop,
extensions, filter, officecfg, reportbuilder, sdext, swext) to be ported to
gbuild.
BUT I JUST REMEMBERED SOMETHING IMPORTANT:
Some time ago, I found an earlier attempt to implement "configuration" in
gbuild on our bugzilla: https://bz.apache.org/ooo/show_bug.cgi?id=118397
It was from 2011, but the contributor said "patches are based on CWS
gnumake4 and licensed under Apache License 2."
:-O
CAN WE USE IT???
Thank you for testing :).
>
> Regards,
>
> Matthias
>
>
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
After removing
--enable-win-x64-shellext \
module shell now builds. We only need 64-bit shell extensions on a
64-bit system.
(win32 seems to be built anyway?)
Regards,
Matthias
Am 11.01.25 um 20:19 schrieb Matthias Seidel:
> Hi Damjan,
>
> Am 09.01.25 um 04:53 schrieb Damjan Jovanovic:
>> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel
>> <ma...@hamburg.de>
>> wrote:
>>
>>>
>>> I just tried a build but of course it stopped after some time.
>>>
>>> Is this a private branch you work on or is it available via GitHub?
>>>
>> I've pushed what I have so far, so you can test it:
>>
>> git checkout windows-amd64
>> autoconf
>> ./configure --enable-win64 (and others. I also happened to use
>> --disable-directx but you might not need it.)
>> ./bootstrap
>> source ./winAMD64Env.set.sh
>> cd instsetoo_native
>> build -P2 -- -P2
>>
>> The build should break in "postprocess". If it breaks earlier, please
>> post
>> the output and your configure flags.
>
> It breaks earlier for me, 5 modules with error (bean, coinmp,
> embedserv, nss, shell).
> Configure is the same I always use plus "--enable-win64":
>
> SDK_PATH="/cygdrive/c/Microsoft_SDKs/Windows/v7.0"
> WDK_HOME="/cygdrive/c/WinDDK/7600.16385.1"
> LANGS_SMALL="ast bg ca ca-XR da de en-US es fi fr he hi it ja lt nb nl
> pl pt ru sv tr zh-CN"
> ./configure \
> --with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm` -
> Test Build (NOT FOR RELEASE)" \
> --with-vendor="Apache OpenOffice Developers" \
> --with-frame-home="$SDK_PATH" \
> --with-psdk-home="$SDK_PATH" \
> --with-midl-path="$SDK_PATH/bin" \
> --with-ant-home="/cygdrive/c/apache-ant-1.10.15" \
> --with-jdk-home="/cygdrive/c/Program Files (x86)/Eclipse
> Adoptium/jdk-8.0.432.6-hotspot" \
> --with-dmake-url="https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz"
> \
> --with-directx-home="/cygdrive/c/Microsoft_DirectX_SDK_June_2010" \
> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
> --with-atl-include-dir="$WDK_HOME/inc/atl71" \
> --with-atl-lib-dir="$WDK_HOME/lib/atl/i386" \
> --with-mfc-include-dir="$WDK_HOME/inc/mfc42" \
> --with-mfc-lib-dir="$WDK_HOME/lib/mfc/i386" \
> --with-nasm-home="/cygdrive/c/Program Files/NASM" \
> --enable-win-x64-shellext \
> --enable-wiki-publisher \
> --enable-win64 \
> --with-junit="/cygdrive/c/junit/junit-4.13.2.jar" \
> --with-hamcrest-core="/cygdrive/c/hamcrest/hamcrest-core-1.3.jar" \
> --without-stlport \
> --with-mozilla-build="/cygdrive/c/mozilla-build" \
> --with-intro-bitmaps="/cygdrive/c/bitmaps/test/intro.png" \
> --with-about-bitmaps="/cygdrive/c/bitmaps/test/about.png" \
> --enable-category-b \
> --enable-beanshell \
> --with-lang="${LANGS_SMALL}" \
> --enable-bundled-dictionaries \
> --with-packager-list=/cygdrive/c/Source/Pack-small.lst \
> --with-nsis-path="/cygdrive/c/NSIS"
>
>>
>> The remaining changes involve adding new gbuild classes so progress is
>> slower.
>>
>> Regards
>> Damjan
>>
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 09.01.25 um 04:53 schrieb Damjan Jovanovic:
> On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>>
>> I just tried a build but of course it stopped after some time.
>>
>> Is this a private branch you work on or is it available via GitHub?
>>
> I've pushed what I have so far, so you can test it:
>
> git checkout windows-amd64
> autoconf
> ./configure --enable-win64 (and others. I also happened to use
> --disable-directx but you might not need it.)
> ./bootstrap
> source ./winAMD64Env.set.sh
> cd instsetoo_native
> build -P2 -- -P2
>
> The build should break in "postprocess". If it breaks earlier, please post
> the output and your configure flags.
It breaks earlier for me, 5 modules with error (bean, coinmp, embedserv,
nss, shell).
Configure is the same I always use plus "--enable-win64":
SDK_PATH="/cygdrive/c/Microsoft_SDKs/Windows/v7.0"
WDK_HOME="/cygdrive/c/WinDDK/7600.16385.1"
LANGS_SMALL="ast bg ca ca-XR da de en-US es fi fr he hi it ja lt nb nl
pl pt ru sv tr zh-CN"
./configure \
--with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm` -
Test Build (NOT FOR RELEASE)" \
--with-vendor="Apache OpenOffice Developers" \
--with-frame-home="$SDK_PATH" \
--with-psdk-home="$SDK_PATH" \
--with-midl-path="$SDK_PATH/bin" \
--with-ant-home="/cygdrive/c/apache-ant-1.10.15" \
--with-jdk-home="/cygdrive/c/Program Files (x86)/Eclipse
Adoptium/jdk-8.0.432.6-hotspot" \
--with-dmake-url="https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz"
\
--with-directx-home="/cygdrive/c/Microsoft_DirectX_SDK_June_2010" \
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
--with-atl-include-dir="$WDK_HOME/inc/atl71" \
--with-atl-lib-dir="$WDK_HOME/lib/atl/i386" \
--with-mfc-include-dir="$WDK_HOME/inc/mfc42" \
--with-mfc-lib-dir="$WDK_HOME/lib/mfc/i386" \
--with-nasm-home="/cygdrive/c/Program Files/NASM" \
--enable-win-x64-shellext \
--enable-wiki-publisher \
--enable-win64 \
--with-junit="/cygdrive/c/junit/junit-4.13.2.jar" \
--with-hamcrest-core="/cygdrive/c/hamcrest/hamcrest-core-1.3.jar" \
--without-stlport \
--with-mozilla-build="/cygdrive/c/mozilla-build" \
--with-intro-bitmaps="/cygdrive/c/bitmaps/test/intro.png" \
--with-about-bitmaps="/cygdrive/c/bitmaps/test/about.png" \
--enable-category-b \
--enable-beanshell \
--with-lang="${LANGS_SMALL}" \
--enable-bundled-dictionaries \
--with-packager-list=/cygdrive/c/Source/Pack-small.lst \
--with-nsis-path="/cygdrive/c/NSIS"
>
> The remaining changes involve adding new gbuild classes so progress is
> slower.
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Jan 5, 2025 at 9:10 PM Matthias Seidel <ma...@hamburg.de>
wrote:
>
>
> I just tried a build but of course it stopped after some time.
>
> Is this a private branch you work on or is it available via GitHub?
>
I've pushed what I have so far, so you can test it:
git checkout windows-amd64
autoconf
./configure --enable-win64 (and others. I also happened to use
--disable-directx but you might not need it.)
./bootstrap
source ./winAMD64Env.set.sh
cd instsetoo_native
build -P2 -- -P2
The build should break in "postprocess". If it breaks earlier, please post
the output and your configure flags.
The remaining changes involve adding new gbuild classes so progress is
slower.
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 05.01.25 um 18:14 schrieb Damjan Jovanovic:
> On Sat, Jan 4, 2025 at 6:48 PM Damjan Jovanovic <da...@apache.org> wrote:
>
>>
>> On Fri, Jan 3, 2025 at 4:27 PM Damjan Jovanovic <da...@apache.org> wrote:
>>
>>>
>>> On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel <
>>> matthias.seidel@hamburg.de> wrote:
>>>
>>>> Hi Damjan,
>>>>
>>>> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
>>>>> Hi
>>>>>
>>>>> With my latest changes, 112 modules (60%) build successfully, and the
>>>>> remaining blockers currently are:
>>>>> - vcl, which is almost fixed. It needed changing SetClassLong() to
>>>>> SetClassLongPtr(), and several other such Windows API changes for 64
>>>> bit
>>>>> compatibility.
>>>>> - connectivity, which builds but some of its DLLs (notably dbtools)
>>>> fail to
>>>>> link, with mysterious missing symbol errors.
>>>>> - testtools, which runs a UNO test, which fails as our Win64 UNO
>>>> bridge is
>>>>> still buggy. But I am learning more about x86/amd64 assembly language,
>>>> and
>>>>> Windows ABI details, such as C++ exception handling in assembly, and
>>>> hope
>>>>> to fix that UNO bridge eventually.
>>>> That sounds great! Do you plan to cherry-pick that for AOO42X?
>>>>
>>> Thank you. With further fixes, 73.5% of modules build now :-).
>>>
>>>
>> It's going far better than expected. With further fixes, today we've
>> reached 158 out of 185 modules (85.4%) building successfully. I've also
>> updated the Wiki page (https://wiki.openoffice.org/wiki/Win64_port) with
>> various issues I've found during the port.
>>
>> I've also done a preliminary port of the "connectivity" module to gbuild,
>> which successfully fixed its missing symbol issue. The same issue is now
>> affecting "chart2", so it might get ported to gbuild too ;-).
>>
>>
> Today, after a preliminary gbuild port of "chart2", Windows/AMD64 building
> reached the "postprocess" stage, the last stage before packaging. It breaks
> there due to text file deficiencies (.xml, .srs, .xcu etc.) in my gbuild
> ports of connectivity and chart2, which I hope to rectify soon, but the
> fact we get that far means that all the code compiles and links, which is a
> huge milestone.
I just tried a build but of course it stopped after some time.
Is this a private branch you work on or is it available via GitHub?
>
> The next major challenge will be getting it to run. With an
> incomplete/buggy UNO bridge, it will probably crash on startup.
I am eagerly waiting to test it when it fully builds!
Regards,
Matthias
>
> Regards
> Damjan
>
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Sat, Jan 4, 2025 at 6:48 PM Damjan Jovanovic <da...@apache.org> wrote:
>
>
> On Fri, Jan 3, 2025 at 4:27 PM Damjan Jovanovic <da...@apache.org> wrote:
>
>>
>>
>> On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel <
>> matthias.seidel@hamburg.de> wrote:
>>
>>> Hi Damjan,
>>>
>>> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
>>> > Hi
>>> >
>>> > With my latest changes, 112 modules (60%) build successfully, and the
>>> > remaining blockers currently are:
>>> > - vcl, which is almost fixed. It needed changing SetClassLong() to
>>> > SetClassLongPtr(), and several other such Windows API changes for 64
>>> bit
>>> > compatibility.
>>> > - connectivity, which builds but some of its DLLs (notably dbtools)
>>> fail to
>>> > link, with mysterious missing symbol errors.
>>> > - testtools, which runs a UNO test, which fails as our Win64 UNO
>>> bridge is
>>> > still buggy. But I am learning more about x86/amd64 assembly language,
>>> and
>>> > Windows ABI details, such as C++ exception handling in assembly, and
>>> hope
>>> > to fix that UNO bridge eventually.
>>> That sounds great! Do you plan to cherry-pick that for AOO42X?
>>>
>>
>> Thank you. With further fixes, 73.5% of modules build now :-).
>>
>>
> It's going far better than expected. With further fixes, today we've
> reached 158 out of 185 modules (85.4%) building successfully. I've also
> updated the Wiki page (https://wiki.openoffice.org/wiki/Win64_port) with
> various issues I've found during the port.
>
> I've also done a preliminary port of the "connectivity" module to gbuild,
> which successfully fixed its missing symbol issue. The same issue is now
> affecting "chart2", so it might get ported to gbuild too ;-).
>
>
Today, after a preliminary gbuild port of "chart2", Windows/AMD64 building
reached the "postprocess" stage, the last stage before packaging. It breaks
there due to text file deficiencies (.xml, .srs, .xcu etc.) in my gbuild
ports of connectivity and chart2, which I hope to rectify soon, but the
fact we get that far means that all the code compiles and links, which is a
huge milestone.
The next major challenge will be getting it to run. With an
incomplete/buggy UNO bridge, it will probably crash on startup.
Regards
Damjan
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Fri, Jan 3, 2025 at 4:27 PM Damjan Jovanovic <da...@apache.org> wrote:
>
>
> On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>> Hi Damjan,
>>
>> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
>> > Hi
>> >
>> > With my latest changes, 112 modules (60%) build successfully, and the
>> > remaining blockers currently are:
>> > - vcl, which is almost fixed. It needed changing SetClassLong() to
>> > SetClassLongPtr(), and several other such Windows API changes for 64 bit
>> > compatibility.
>> > - connectivity, which builds but some of its DLLs (notably dbtools)
>> fail to
>> > link, with mysterious missing symbol errors.
>> > - testtools, which runs a UNO test, which fails as our Win64 UNO bridge
>> is
>> > still buggy. But I am learning more about x86/amd64 assembly language,
>> and
>> > Windows ABI details, such as C++ exception handling in assembly, and
>> hope
>> > to fix that UNO bridge eventually.
>> That sounds great! Do you plan to cherry-pick that for AOO42X?
>>
>
> Thank you. With further fixes, 73.5% of modules build now :-).
>
>
It's going far better than expected. With further fixes, today we've
reached 158 out of 185 modules (85.4%) building successfully. I've also
updated the Wiki page (https://wiki.openoffice.org/wiki/Win64_port) with
various issues I've found during the port.
I've also done a preliminary port of the "connectivity" module to gbuild,
which successfully fixed its missing symbol issue. The same issue is now
affecting "chart2", so it might get ported to gbuild too ;-).
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Keith,
Am 04.01.25 um 16:52 schrieb Keith N. McKenna:
> Damjan Jovanovic wrote:
>> Thank you. With further fixes, 73.5% of modules build now:-).
>>
>> If it's finished in time for the AOO42X release, then yes, we should.
>> But
>> it might have to be a beta release though.
>
> A beta release would be fine,as most of the critical blockers are
> fixed,except translation on Windows, IIRC can be bypassed by doing
> targeted builds on selected languages.
Missing translation affect *all* languages. This is not OS specific.
Regards,
Matthias
>
> Regards
> Keith
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
Re: Win64 port making progress
Posted by "Keith N. McKenna" <ke...@comcast.net.INVALID>.
Damjan Jovanovic wrote:
> Thank you. With further fixes, 73.5% of modules build now:-).
>
> If it's finished in time for the AOO42X release, then yes, we should. But
> it might have to be a beta release though.
A beta release would be fine,as most of the critical blockers are
fixed,except translation on Windows, IIRC can be bypassed by doing
targeted builds on selected languages.
Regards
Keith
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Win64 port making progress
Posted by Damjan Jovanovic <da...@apache.org>.
On Fri, Jan 3, 2025 at 3:26 PM Matthias Seidel <ma...@hamburg.de>
wrote:
> Hi Damjan,
>
> Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
> > Hi
> >
> > With my latest changes, 112 modules (60%) build successfully, and the
> > remaining blockers currently are:
> > - vcl, which is almost fixed. It needed changing SetClassLong() to
> > SetClassLongPtr(), and several other such Windows API changes for 64 bit
> > compatibility.
> > - connectivity, which builds but some of its DLLs (notably dbtools) fail
> to
> > link, with mysterious missing symbol errors.
> > - testtools, which runs a UNO test, which fails as our Win64 UNO bridge
> is
> > still buggy. But I am learning more about x86/amd64 assembly language,
> and
> > Windows ABI details, such as C++ exception handling in assembly, and hope
> > to fix that UNO bridge eventually.
> That sounds great! Do you plan to cherry-pick that for AOO42X?
>
Thank you. With further fixes, 73.5% of modules build now :-).
If it's finished in time for the AOO42X release, then yes, we should. But
it might have to be a beta release though.
> >
> > But there are still a lot of compiler warnings, and it sounds like LO
> took
> > years to get their Win64 version fully working.
>
> Always remember, the work on LO is mostly done by paid full time
> developers.
>
> We are all volunteers who do it in our spare time...
>
And yet sometimes we get impressive stuff done despite so little manpower
;-).
>
> >
> > A Win64 version is increasingly important, as Java is deprecating Win32
> > support.
>
> Yes, Win64 is important.
>
> But I don't see JAVA Win32 deprecated in the *near* future (at least not
> for JAVA 8 and 11)
>
See https://openjdk.org/jeps/479
>
> I only use the JAVA runtime from Adoptium, though.
>
> Regards,
>
> Matthias
Regards
Damjan
Re: Win64 port making progress
Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,
Am 02.01.25 um 21:44 schrieb Damjan Jovanovic:
> Hi
>
> With my latest changes, 112 modules (60%) build successfully, and the
> remaining blockers currently are:
> - vcl, which is almost fixed. It needed changing SetClassLong() to
> SetClassLongPtr(), and several other such Windows API changes for 64 bit
> compatibility.
> - connectivity, which builds but some of its DLLs (notably dbtools) fail to
> link, with mysterious missing symbol errors.
> - testtools, which runs a UNO test, which fails as our Win64 UNO bridge is
> still buggy. But I am learning more about x86/amd64 assembly language, and
> Windows ABI details, such as C++ exception handling in assembly, and hope
> to fix that UNO bridge eventually.
That sounds great! Do you plan to cherry-pick that for AOO42X?
>
> But there are still a lot of compiler warnings, and it sounds like LO took
> years to get their Win64 version fully working.
Always remember, the work on LO is mostly done by paid full time developers.
We are all volunteers who do it in our spare time...
>
> A Win64 version is increasingly important, as Java is deprecating Win32
> support.
Yes, Win64 is important.
But I don't see JAVA Win32 deprecated in the *near* future (at least not
for JAVA 8 and 11)
I only use the JAVA runtime from Adoptium, though.
Regards,
Matthias
>
> As always, you can test by passing --enable-win64 to ./configure on
> Windows, and "source winAMD64Env.set.sh". Join the fun?
>
> Regards
> Damjan
>