From: anonymous c. <nas...@us...> - 2016-08-02 13:57:31
|
[adjusting thread subject, to split this off into its own thread] On 8/1/16, Dave Yeo <dav...@gm...> wrote: > On 08/01/16 04:45 PM, H. Peter Anvin wrote: >> Reorganizing the source code certainly has both caused and exposed >> dependency issues. >> -- > > I tried building trunk (freshly checked out) on OS/2. Dies here, > ... > perl -I./perllib -I. ./asm/tokhash.pl c \ > ./x86/insns.dat ./x86/regs.dat \ > ./asm/tokens.dat > asm/tokhash.c > 2222 vectors, trying n = 2048... > 1: Collision: 239,1648: cmpunordps with vpsubusb > 2: Graph is cyclic > 3: Collision: 565,2334: fucomp with vfmsub123ss > 4: Graph is cyclic > 5: Graph is cyclic > 6: Graph is cyclic > 7: Done: n = 2048, sv = [0xace2d0e4, 0x80575791] > gcc -std=gnu99 -c -g -O2 -fwrapv -W -Wall -std=c99 -pedantic -Wno-long-long > -Werror=implicit -Werror=missing-braces -Werror=return-type > -Werror=trigraphs -Werror=pointer-arith -Werror=missing-prototypes > -Werror=missing-declarations -Werror=comment -Werror=vla -DHAVE_CONFIG_H -I. > -I. -I./include -I./include -I./x86 -I./x86 -I./asm -I./asm -I./disasm > -I./disasm -I./output -I./output -o asm/tokhash.o asm/tokhash.c > asm/tokhash.c: In function 'nasm_token_hash': > asm/tokhash.c:4349:46: error: 'I_MONITORX' undeclared (first use in this > function) > { "monitorx", TOKEN_INSN, C_none, 0, I_MONITORX }, > ^ > asm/tokhash.c:4349:46: note: each undeclared identifier is reported only > once for each function it appears in > asm/tokhash.c:4349:9: warning: missing initializer for field 'num' of 'const > struct tokendata' [-Wmissing-field-initializers] > { "monitorx", TOKEN_INSN, C_none, 0, I_MONITORX }, > ^ > asm/tokhash.c:18:13: note: 'num' declared here > int32_t num; > ^ > asm/tokhash.c:4362:44: error: 'I_MWAITX' undeclared (first use in this > function) > { "mwaitx", TOKEN_INSN, C_none, 0, I_MWAITX }, > ^ > asm/tokhash.c:4362:9: warning: missing initializer for field 'num' of 'const > struct tokendata' [-Wmissing-field-initializers] > { "mwaitx", TOKEN_INSN, C_none, 0, I_MWAITX }, > ^ > asm/tokhash.c:18:13: note: 'num' declared here > int32_t num; > ^ > asm/tokhash.c:5964:44: error: 'I_RDPKRU' undeclared (first use in this > function) > { "rdpkru", TOKEN_INSN, C_none, 0, I_RDPKRU }, > ^ > asm/tokhash.c:5964:9: warning: missing initializer for field 'num' of 'const > struct tokendata' [-Wmissing-field-initializers] > { "rdpkru", TOKEN_INSN, C_none, 0, I_RDPKRU }, > ^ > asm/tokhash.c:18:13: note: 'num' declared here > int32_t num; > ^ > asm/tokhash.c:5965:44: error: 'I_WRPKRU' undeclared (first use in this > function) > { "wrpkru", TOKEN_INSN, C_none, 0, I_WRPKRU }, > ^ > asm/tokhash.c:5965:9: warning: missing initializer for field 'num' of 'const > struct tokendata' [-Wmissing-field-initializers] > { "wrpkru", TOKEN_INSN, C_none, 0, I_WRPKRU }, > ^ > asm/tokhash.c:18:13: note: 'num' declared here > int32_t num; > ^ > asm/tokhash.c:5967:44: error: 'I_CLZERO' undeclared (first use in this > function) > { "clzero", TOKEN_INSN, C_none, 0, I_CLZERO }, > ^ > asm/tokhash.c:5967:9: warning: missing initializer for field 'num' of 'const > struct tokendata' [-Wmissing-field-initializers] > { "clzero", TOKEN_INSN, C_none, 0, I_CLZERO }, > ^ > asm/tokhash.c:18:13: note: 'num' declared here > int32_t num; > ^ > make: *** [asm/tokhash.o] Error 1 > > Dave > > ------------------------------------------------------------------------------ > _______________________________________________ > Nasm-devel mailing list > Nas...@li... > https://lists.sourceforge.net/lists/listinfo/nasm-devel > |