From: Kevin B. <Co...@co...> - 2001-10-21 17:34:06
|
I pulled xine from CVS last night. I'm able to build successfully, but when I run it, xine fails with an Illegal Instruction: > xine This is xine (X11 gui) - a free video player v0.9.2 (c) 2000, 2001 by G. Bartsch and the xine project team. Built with xine library 0.9.2 [Sun 21 Oct 2001 12:18:32]-[gcc version 2.95.2 19991024 (release)]-[Linux 2.4.9-mosix i586]. Found xine library version: 0.9.2 (0.9.2). Display is not using Xinerama. video_out_xshm: video mode depth is 16 (16 bpp), TrueColor, not swapped, red: 0000f800, green: 000007e0, blue: 0000001f yuv2rgb: using MMX for colorspace transform load_plugins: video output plugin XShm successfully loaded. audio_oss_out: Opening audio device... audio_oss_out: realtime check: *FAILED* audio_oss_out: Audio driver realtime sync disabled... audio_oss_out: ...will use system real-time clock for soft-sync instead audio_oss_out: ...there may be audio/video synchronization issues audio_oss_out : supported modes are mono stereo load_plugins: audio output plugin oss successfully loaded. xine_init entered Benchmarking memcpy methods (smaller is better): glibc memcpy() : 503694506 linux kernel memcpy() : 500500518 Illegal instruction --------------------------- I did a standard make, gdb gives the following bt: Benchmarking memcpy methods (smaller is better): glibc memcpy() : 525389801 linux kernel memcpy() : 514222101 Program received signal SIGILL, Illegal instruction. [Switching to Thread 1024 (LWP 30990)] 0x401add36 in mmx_memcpy () from /usr/local/lib/libxine-0.9.so.0 (gdb) bt #0 0x401add36 in mmx_memcpy () from /usr/local/lib/libxine-0.9.so.0 #1 0x401b6bcc in memcpy_method () from /usr/local/lib/libxine-0.9.so.0 Cannot access memory at address 0x100000 (gdb) ---------------------------- System is SuSE 7.1 updated to kernel 2.4.9 ( w/MOSIX clustering patch) gcc 2.95.2, AMD K6-2 3D processor I notice that the default compiler options use -mcpu=pentium on my system. Setting XINE_BUILD=k6-pc-linux-gnu causes the use of -mcpu=k6 with no difference (xine still fails). Is there a way to set '-march' with the cvscompile.sh script? Or to fall back from -O3 to -O2? I tried a couple attempts but was unsuccessful. Thanks, -- Kevin |