ack icon indicating copy to clipboard operation
ack copied to clipboard

[bug] native assembler built in ASLD mode is likely to fail due to alignment requirements

Open ccodere opened this issue 7 years ago • 0 comments

The archive() procedure in comm4.c directly reads the ar_hdr structure using fread(), discarding possible platform specific alignment of the fields of the structure. This issue will only occur when ASLD is defined (which builds an assembler that also acts as a linker).

This should be replaced by a method to read the header field by field to avoid platform specific alignment issues.

ccodere avatar Mar 30 '19 17:03 ccodere