Bug 12833 - yasm fails to compile with parse error
: yasm fails to compile with parse error
Status: CLOSED FIXED
Product: Codex
Classification: Unclassified
Component: libs
: stable-rc grimoire
: All Linux
: P2 normal
Assigned To: Grimoire Bug List
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-10 13:54 UTC by Eric Sandall
Modified: 2007-03-31 02:22 UTC (History)
0 users

See Also:
eric: fixed_in_lesser_branch+
eric: integrate_to_stable‑rc_grimoire?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Sandall 2006-07-10 13:54:16 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 !
Comment 1 Eric Sandall 2006-07-10 14:48:55 UTC
Updated yasm to 0.5.0rc2 fixes this problem (as well as Bug #12832).
Comment 2 Eric Sandall 2006-07-10 14:49:55 UTC
This problem does not appear to exist in stable or test grimoires...
Comment 3 Eric Sandall 2006-07-10 14:57:37 UTC
Updated yasm to 0.5.0rc2 in test in commit d7db776087460b27849927fa19690a52b472b3b8.
Comment 4 Jeremy Blosser 2007-03-31 01:22:18 UTC
closing fixed bugs