Bugzilla – Bug 12833
yasm fails to compile with parse error
Last modified: 2007-03-31 02:22:18 UTC
# cast yasm ... creating objfmt_elf.la (cd .libs && rm -f objfmt_elf.la && ln -s ../objfmt_elf.la objfmt_elf.la) if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DYASM_MODULEDIR="\"/usr/lib/yasm\"" -I./check -I./libltdl -ansi -pedantic -Wall -O -march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -DPIC -fPIC -O3 -MT coff-objfmt.lo -MD -MP -MF ".deps/coff-objfmt.Tpo" -c -o coff-objfmt.lo `test -f 'modules/objfmts/coff/coff-objfmt.c' || echo './'`modules/objfmts/coff/coff-objfmt.c; \ then mv -f ".deps/coff-objfmt.Tpo" ".deps/coff-objfmt.Plo"; else rm -f ".deps/coff-objfmt.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -DYASM_MODULEDIR=\"/usr/lib/yasm\" -I./check -I./libltdl -ansi -pedantic -Wall -O -march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -DPIC -fPIC -O3 -MT coff-objfmt.lo -MD -MP -MF .deps/coff-objfmt.Tpo -c modules/objfmts/coff/coff-objfmt.c -fPIC -DPIC -o .libs/coff-objfmt.o modules/objfmts/coff/coff-objfmt.c: In function `coff_objfmt_symtab_append': modules/objfmts/coff/coff-objfmt.c:228: warning: implicit declaration of function `__builtin_offsetof' modules/objfmts/coff/coff-objfmt.c:228: error: parse error before "struct" modules/objfmts/coff/coff-objfmt.c:228: error: parse error before ')' token make[2]: *** [coff-objfmt.lo] Error 1 make[2]: Leaving directory `/usr/src/yasm-0.4.0' make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 make[1]: Leaving directory `/usr/src/yasm-0.4.0' ! Problem Detected !
Updated yasm to 0.5.0rc2 fixes this problem (as well as Bug #12832).
This problem does not appear to exist in stable or test grimoires...
Updated yasm to 0.5.0rc2 in test in commit d7db776087460b27849927fa19690a52b472b3b8.
closing fixed bugs