From: SourceForge.net <no...@so...> - 2004-07-13 01:11:18
|
Bugs item #936086, was opened at 2004-04-16 13:14 Message generated for change (Comment added) made by achurch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=936086&group_id=9655 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andrew Church (achurch) Assigned to: Michael Roitzsch (mroi) Summary: Compilation error, 1-rc3c / GCC 3.3.2 Initial Comment: Trying to compile 1-rc3c with GCC 3.3.2 (CFLAGS="-O3 -march=pentium4 -msse2") results in various assembler errors along the lines of: {standard input}:80: Error: suffix or operands invalid for `add' from inline assembly code. The attached patch fixes these problems. ---------------------------------------------------------------------- >Comment By: Andrew Church (achurch) Date: 2004-07-13 10:11 Message: Logged In: YES user_id=527960 Note that these assembly files are generated with GCC 3.4.0, which reports the same errors as 3.3.2. BTW, this looks like the same bug as #838751. ---------------------------------------------------------------------- Comment By: Andrew Church (achurch) Date: 2004-07-13 10:08 Message: Logged In: YES user_id=527960 Relevant .s files attached. gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -DHAVE_MMX -mtune=pentiumpro -O3 -pipe -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=pentium4 -msse2 -MT mmx.lo -MD -MP -MF .deps/mmx.Tpo -c mmx.c -o .libs/mmx.o In file included from mmx.c:5: mmx.h:63: warning: no previous prototype for 'mm_support' mmx.h:228: warning: no previous prototype for 'mmx_ok' mmx.c:14: warning: no previous prototype for 'mmx_supported' mmx.c:22: warning: no previous prototype for 'zoom_filter_mmx' mmx.c:134: warning: no previous prototype for 'draw_line_mmx' {standard input}: Assembler messages: {standard input}:513: Error: suffix or operands invalid for `paddusb' {standard input}:537: Error: suffix or operands invalid for `paddusb' {standard input}:545: Error: suffix or operands invalid for `paddusb' {standard input}:553: Error: suffix or operands invalid for `paddusb' {standard input}:561: Error: suffix or operands invalid for `paddusb' {standard input}:569: Error: suffix or operands invalid for `paddusb' {standard input}:577: Error: suffix or operands invalid for `paddusb' {standard input}:585: Error: suffix or operands invalid for `paddusb' {standard input}:595: Error: suffix or operands invalid for `paddusb' {standard input}:626: Error: suffix or operands invalid for `paddusb' {standard input}:648: Error: suffix or operands invalid for `paddusb' {standard input}:663: Error: suffix or operands invalid for `paddusb' {standard input}:679: Error: suffix or operands invalid for `paddusb' {standard input}:697: Error: suffix or operands invalid for `paddusb' {standard input}:711: Error: suffix or operands invalid for `paddusb' {standard input}:724: Error: suffix or operands invalid for `paddusb' {standard input}:737: Error: suffix or operands invalid for `paddusb' {standard input}:799: Error: suffix or operands invalid for `paddusb' {standard input}:821: Error: suffix or operands invalid for `paddusb' {standard input}:837: Error: suffix or operands invalid for `paddusb' {standard input}:854: Error: suffix or operands invalid for `paddusb' {standard input}:872: Error: suffix or operands invalid for `paddusb' {standard input}:886: Error: suffix or operands invalid for `paddusb' {standard input}:900: Error: suffix or operands invalid for `paddusb' {standard input}:932: Error: suffix or operands invalid for `paddusb' {standard input}:956: Error: suffix or operands invalid for `paddusb' {standard input}:964: Error: suffix or operands invalid for `paddusb' {standard input}:972: Error: suffix or operands invalid for `paddusb' {standard input}:980: Error: suffix or operands invalid for `paddusb' {standard input}:988: Error: suffix or operands invalid for `paddusb' {standard input}:996: Error: suffix or operands invalid for `paddusb' {standard input}:1004: Error: suffix or operands invalid for `paddusb' {standard input}:1014: Error: suffix or operands invalid for `paddusb' {standard input}:1033: Error: suffix or operands invalid for `paddusb' {standard input}:1057: Error: suffix or operands invalid for `paddusb' {standard input}:1065: Error: suffix or operands invalid for `paddusb' {standard input}:1073: Error: suffix or operands invalid for `paddusb' {standard input}:1081: Error: suffix or operands invalid for `paddusb' {standard input}:1089: Error: suffix or operands invalid for `paddusb' {standard input}:1097: Error: suffix or operands invalid for `paddusb' {standard input}:1105: Error: suffix or operands invalid for `paddusb' {standard input}:1115: Error: suffix or operands invalid for `paddusb' {standard input}:1154: Error: suffix or operands invalid for `paddusb' {standard input}:1175: Error: suffix or operands invalid for `paddusb' {standard input}:1189: Error: suffix or operands invalid for `paddusb' {standard input}:1204: Error: suffix or operands invalid for `paddusb' {standard input}:1220: Error: suffix or operands invalid for `paddusb' {standard input}:1232: Error: suffix or operands invalid for `paddusb' {standard input}:1244: Error: suffix or operands invalid for `paddusb' {standard input}:1267: Error: suffix or operands invalid for `paddusb' {standard input}:1291: Error: suffix or operands invalid for `paddusb' {standard input}:1299: Error: suffix or operands invalid for `paddusb' {standard input}:1307: Error: suffix or operands invalid for `paddusb' {standard input}:1315: Error: suffix or operands invalid for `paddusb' {standard input}:1323: Error: suffix or operands invalid for `paddusb' {standard input}:1331: Error: suffix or operands invalid for `paddusb' {standard input}:1339: Error: suffix or operands invalid for `paddusb' {standard input}:1349: Error: suffix or operands invalid for `paddusb' {standard input}:1380: Error: suffix or operands invalid for `paddusb' {standard input}:1402: Error: suffix or operands invalid for `paddusb' {standard input}:1418: Error: suffix or operands invalid for `paddusb' {standard input}:1435: Error: suffix or operands invalid for `paddusb' {standard input}:1453: Error: suffix or operands invalid for `paddusb' {standard input}:1467: Error: suffix or operands invalid for `paddusb' {standard input}:1481: Error: suffix or operands invalid for `paddusb' gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -DHAVE_MMX -mtune=pentiumpro -O3 -pipe -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=pentium4 -msse2 -MT xmmx.lo -MD -MP -MF .deps/xmmx.Tpo -c xmmx.c -o .libs/xmmx.o In file included from xmmx.c:20: mmx.h:63: warning: no previous prototype for 'mm_support' mmx.h:228: warning: no previous prototype for 'mmx_ok' xmmx.c:24: warning: no previous prototype for 'xmmx_supported' xmmx.c:32: warning: no previous prototype for 'zoom_filter_xmmx' xmmx.c:258: warning: no previous prototype for 'draw_line_xmmx' {standard input}: Assembler messages: {standard input}:219: Error: suffix or operands invalid for `add' {standard input}:351: Error: suffix or operands invalid for `paddusb' {standard input}:375: Error: suffix or operands invalid for `paddusb' {standard input}:383: Error: suffix or operands invalid for `paddusb' {standard input}:391: Error: suffix or operands invalid for `paddusb' {standard input}:399: Error: suffix or operands invalid for `paddusb' {standard input}:407: Error: suffix or operands invalid for `paddusb' {standard input}:415: Error: suffix or operands invalid for `paddusb' {standard input}:423: Error: suffix or operands invalid for `paddusb' {standard input}:433: Error: suffix or operands invalid for `paddusb' {standard input}:464: Error: suffix or operands invalid for `paddusb' {standard input}:486: Error: suffix or operands invalid for `paddusb' {standard input}:501: Error: suffix or operands invalid for `paddusb' {standard input}:517: Error: suffix or operands invalid for `paddusb' {standard input}:535: Error: suffix or operands invalid for `paddusb' {standard input}:549: Error: suffix or operands invalid for `paddusb' {standard input}:562: Error: suffix or operands invalid for `paddusb' {standard input}:575: Error: suffix or operands invalid for `paddusb' {standard input}:638: Error: suffix or operands invalid for `paddusb' {standard input}:660: Error: suffix or operands invalid for `paddusb' {standard input}:676: Error: suffix or operands invalid for `paddusb' {standard input}:693: Error: suffix or operands invalid for `paddusb' {standard input}:711: Error: suffix or operands invalid for `paddusb' {standard input}:725: Error: suffix or operands invalid for `paddusb' {standard input}:739: Error: suffix or operands invalid for `paddusb' {standard input}:771: Error: suffix or operands invalid for `paddusb' {standard input}:795: Error: suffix or operands invalid for `paddusb' {standard input}:803: Error: suffix or operands invalid for `paddusb' {standard input}:811: Error: suffix or operands invalid for `paddusb' {standard input}:819: Error: suffix or operands invalid for `paddusb' {standard input}:827: Error: suffix or operands invalid for `paddusb' {standard input}:835: Error: suffix or operands invalid for `paddusb' {standard input}:843: Error: suffix or operands invalid for `paddusb' {standard input}:853: Error: suffix or operands invalid for `paddusb' {standard input}:872: Error: suffix or operands invalid for `paddusb' {standard input}:896: Error: suffix or operands invalid for `paddusb' {standard input}:904: Error: suffix or operands invalid for `paddusb' {standard input}:912: Error: suffix or operands invalid for `paddusb' {standard input}:920: Error: suffix or operands invalid for `paddusb' {standard input}:928: Error: suffix or operands invalid for `paddusb' {standard input}:936: Error: suffix or operands invalid for `paddusb' {standard input}:944: Error: suffix or operands invalid for `paddusb' {standard input}:954: Error: suffix or operands invalid for `paddusb' {standard input}:993: Error: suffix or operands invalid for `paddusb' {standard input}:1014: Error: suffix or operands invalid for `paddusb' {standard input}:1028: Error: suffix or operands invalid for `paddusb' {standard input}:1043: Error: suffix or operands invalid for `paddusb' {standard input}:1059: Error: suffix or operands invalid for `paddusb' {standard input}:1071: Error: suffix or operands invalid for `paddusb' {standard input}:1083: Error: suffix or operands invalid for `paddusb' {standard input}:1108: Error: suffix or operands invalid for `paddusb' {standard input}:1132: Error: suffix or operands invalid for `paddusb' {standard input}:1140: Error: suffix or operands invalid for `paddusb' {standard input}:1148: Error: suffix or operands invalid for `paddusb' {standard input}:1156: Error: suffix or operands invalid for `paddusb' {standard input}:1164: Error: suffix or operands invalid for `paddusb' {standard input}:1172: Error: suffix or operands invalid for `paddusb' {standard input}:1180: Error: suffix or operands invalid for `paddusb' {standard input}:1190: Error: suffix or operands invalid for `paddusb' {standard input}:1221: Error: suffix or operands invalid for `paddusb' {standard input}:1243: Error: suffix or operands invalid for `paddusb' {standard input}:1259: Error: suffix or operands invalid for `paddusb' {standard input}:1276: Error: suffix or operands invalid for `paddusb' {standard input}:1294: Error: suffix or operands invalid for `paddusb' {standard input}:1308: Error: suffix or operands invalid for `paddusb' {standard input}:1322: Error: suffix or operands invalid for `paddusb' ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-07-13 05:30 Message: Logged In: YES user_id=552060 Could you please post the complete error output you get from gcc? Thanks. ---------------------------------------------------------------------- Comment By: Andrew Church (achurch) Date: 2004-07-12 12:53 Message: Logged In: YES user_id=527960 The problem still occurs with current CVS (in mmx.c and xmmx.c). ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2004-07-11 20:09 Message: Logged In: YES user_id=552060 Would you be able to try the current CVS of xine-lib? We have a new goom version included and I would like to know if there are still problems with it. ---------------------------------------------------------------------- Comment By: Andrew Church (achurch) Date: 2004-04-26 17:19 Message: Logged In: YES user_id=527960 Hmm, where did the patch go... re(?)attaching. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-04-26 06:28 Message: Logged In: NO See also: http://www.freebsd.org/cgi/query-pr.cgi?pr=65967 ti...@co... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=936086&group_id=9655 |