You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wcc386 -zq -bt=nt -5s -fo=1.obj 1.c
wlink N a.exe SYS NT_WIN OPTION q LIBR { FLAC.lib } F { 1.obj }
Error! E2082: file FLAC.lib(stream_decoder.c), record 1: invalid record type 0x002f
Error! E2082: file FLAC.lib(stream_decoder.c), record 2: invalid record type 0x0001
Error! E2082: file FLAC.lib(stream_decoder.c), record 3: invalid record type 0x0073
Error! E2082: file FLAC.lib(stream_decoder.c), record 4: invalid record type 0x0000
Error! E2011: file FLAC.lib(stream_decoder.c): invalid object file attribute
It doesn't seem to matter if FLAC.lib is built using wlib from ow1.9
or ow2.0.
The lib contains object files built using nasm with its -f win32 flag.
If the asm sources of the library were built using -f obj instead, then
wlink from ow2.0 succeeds.
The text was updated successfully, but these errors were encountered:
The lib was created with -q -b -n -c -pa -s -t -zld -ii -io flags of
wlib. However, the failure doesn't go away even if I use bare minimum
flags of -q -b -n -c with wlib when creating the lib. Also note that
the lib contains obj (omf) format objects along with win32 coff format
ones. I hope those additional info helps with things.
I think issue happens only in situation if wlink uses COFF archive library with COFF objects.
Maybe also with COFF objects. Open Watcom build use only OMF libraries that no issue.
I will try to add some test for another formats (ELF and COFF) which is not currently used by Open Watcom build system.
Build the following test source with
wcc386 -zq -bt=nt -5s -fo=1.obj 1.c
:And link it with FLAC.lib :
This is the lib file in question: FLAC.lib.zip
This error doesn't happen with wlink from OW19.
It doesn't seem to matter if FLAC.lib is built using wlib from ow1.9
or ow2.0.
The lib contains object files built using nasm with its
-f win32
flag.If the asm sources of the library were built using
-f obj
instead, thenwlink from ow2.0 succeeds.
The text was updated successfully, but these errors were encountered: