Discussion:
movzbl bug
Szabolcs Nagy
2011-08-07 21:25:11 UTC
Permalink
recent pcc fails to compile zlib

pcc -O -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
/tmp/ctm.POLX56: Assembler messages:
/tmp/ctm.POLX56:2086: Error: suffix or operands invalid for `movzbl'
make: *** [crc32.o] Error 1

the generated asm is
movzbl %eax,%eax
Iain Hibbert
2011-08-08 07:57:05 UTC
Permalink
Post by Szabolcs Nagy
recent pcc fails to compile zlib
pcc -O -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
/tmp/ctm.POLX56:2086: Error: suffix or operands invalid for `movzbl'
make: *** [crc32.o] Error 1
the generated asm is
movzbl %eax,%eax
This is essentially the same as http://pcc.ludd.ltu.se/jira/browse/PCC-374

iain
Anders Magnusson
2011-08-08 10:17:26 UTC
Permalink
Bug report PCC-374 addresses this issue.
I have a fix but it needs more testing before I commit it.

-- Ragge
Post by Szabolcs Nagy
recent pcc fails to compile zlib
pcc -O -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
/tmp/ctm.POLX56:2086: Error: suffix or operands invalid for `movzbl'
make: *** [crc32.o] Error 1
the generated asm is
movzbl %eax,%eax
Anders Magnusson
2011-08-11 19:05:39 UTC
Permalink
Unless I've forgotten to report it; tis bug should be fixed now.

-- Ragge
Post by Anders Magnusson
Bug report PCC-374 addresses this issue.
I have a fix but it needs more testing before I commit it.
-- Ragge
Post by Szabolcs Nagy
recent pcc fails to compile zlib
pcc -O -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
/tmp/ctm.POLX56:2086: Error: suffix or operands invalid for `movzbl'
make: *** [crc32.o] Error 1
the generated asm is
movzbl %eax,%eax
Loading...