open-watcom / open-watcom-v2

Open Watcom V2.0 - Source code repository, Wiki, Latest Binary build, Archived builds including all installers for download.
Other
989 stars 162 forks source link

wlib static issue on Jan 27 build #1216

Closed bradh352 closed 9 months ago

bradh352 commented 9 months ago

We have a github action building for our project to include openwatcom and it started failing with the Jan 27 build of openwatcom during linking of the static library, the dynamic library appears to be ok: https://github.com/c-ares/c-ares/actions/runs/7682548593/job/20937046171

Jan 26 build was fine: https://github.com/c-ares/c-ares/actions/runs/7673704692/job/20916876318

jmalak commented 9 months ago

It should be fixed. Please recheck with new OW build.

bradh352 commented 9 months ago

same issue in the Jan 28 build: https://github.com/c-ares/c-ares/actions/runs/7685678893/job/20943691053

omm commented 9 months ago

Hi,

The same error while compiling Harbour

C:\WATCOM\binnt64>wcc386.exe -v
Open Watcom C x86 32-bit Optimizing Compiler
Version 2.0 beta Jan 28 2024 02:01:46 (64-bit)
...
hbmk2: Creating static library... ..\lib\win\watcom\minizip.lib
hbmk2: Lib command:
wlib.exe @C:\Users\o2m\AppData\Local\Temp\7pkpo1.lnk
hbmk2: Lib script:
-q  -p=64 ..\lib\win\watcom\minizip.lib -+ ..\lib\win\watcom\.hbmk\minizip\ioapi.obj -+ ..\lib\win\watcom\.hbmk\minizip\zip.obj -+ ..\lib\win\watcom\.hbmk\minizip\unzip.obj
Error! Invalid command line near '-+ ..\lib\win\watcom\.hbmk\minizip\ioapi.obj -+ ..\lib\win\watcom\.hbmk\minizip\zip.obj -+ ..\lib\win\watcom\.hbmk\minizip\unzip.obj'

With previous version Open Watcom C x86 32-bit Optimizing Compiler Version 2.0 beta Nov 12 2023 02:04:52 (64-bit) ... all fine.

Thanks

jmalak commented 9 months ago

Sorry, you use still old version. fix was submitted 2024-01-28 05:34 UTC. and you use version Version 2.0 beta Jan 28 2024 02:01:46 (64-bit)

omm commented 9 months ago

Thanks, waiting for binary packages for testing.

omm commented 9 months ago

Ok, tested on Version 2.0 beta Jan 29 2024 01:58:16 (64-bit), all fine. Thanks