[vlc-devel] Compile problems on amd64

isteinmann at bluewin.ch isteinmann at bluewin.ch
Fri Apr 22 14:18:42 CEST 2005


Hello all

I cant compile last svn checkout of vlc on my amd64. The last version of
vlc that compiles is vlc-snapshot-20050415. The compiler fails because of
some assembler code in 

src/misc/cpu.c

I compared now this file with the one from vlc-snapshot-20050415 with diff
(take a look at the attachment).

I compile vlc this way:

./bootstrap
./configure --enable-dvb --enable-dvbpsi --enable-sout --disable-httpd --disable-smb
--disable-libcdio --disable-libcddb --disable-cdda --disable-vcd --disable-screen
--disable-ogg --disable-mkv --disable-mod --disable-mad --disable-ffmpeg
--disable-quicktime --disable-a52 --disable-dts --disable-libmpeg2 --disable-vorbis
--disable-speex --disable-png --disable-x11 --disable-glx --disable-xvideo
--disable-sdl --disable-freetype --disable-fribidi --disable-libxml2 --disable-alsa
--disable-wxwindows --disable-visual --disable-joystick --disable-plugins
--disable-skins2 --disable-daap --disable-fb --disable-cmml --disable-fribidi
--disable-x264
make


Error:
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DSYS_LINUX -I./include `top_builddir="."
./vlc-config --cflags vlc` -Wsign-compare -Wall  -pipe -c -o src/misc/lib_libvlc_a-cpu.o
`test -f 'src/misc/cpu.c' || echo './'`src/misc/cpu.c
{standard input}: Assembler messages:
{standard input}:26: Error: suffix or operands invalid for `push'
{standard input}:28: Error: suffix or operands invalid for `pop'
{standard input}:31: Error: suffix or operands invalid for `push'
{standard input}:34: Error: suffix or operands invalid for `pop'
{standard input}:36: Error: suffix or operands invalid for `pop'
{standard input}:52: Error: suffix or operands invalid for `push'
{standard input}:55: Error: suffix or operands invalid for `pop'
{standard input}:80: Error: suffix or operands invalid for `push'
{standard input}:83: Error: suffix or operands invalid for `pop'
{standard input}:110: Error: suffix or operands invalid for `push'
{standard input}:113: Error: suffix or operands invalid for `pop'
{standard input}:129: Error: suffix or operands invalid for `push'
{standard input}:132: Error: suffix or operands invalid for `pop'
make[2]: *** [src/misc/lib_libvlc_a-cpu.o] Error 1


gcc:
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)

as:
GNU assembler 2.15.92.0.2 20040927
This assembler was configured for a target of `x86_64-pc-linux-gnu'.

ld:
GNU ld version 2.15.92.0.2 20040927

uname -a:
Linux fileserv 2.6.12-rc2 #6 Tue Apr 19 05:31:34 CEST 2005 x86_64 AMD Athlon(tm)
64 Processor 3400+ AuthenticAMD GNU/Linux


Ivo Steinmann

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-amd64-problem.diff
Type: application/octet-stream
Size: 1158 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050422/425f2653/attachment.obj>


More information about the vlc-devel mailing list