Opened 12 years ago

Closed 12 years ago

#4039 closed defect (invalid)

Compile errors on i386 arch

Reported by: anonymous Owned by: Janne Grunau
Priority: major Milestone: 0.21
Component: mythtv Version: head
Severity: high Keywords:
Cc: Ticket locked: no


Compiling latest svn (14586) gives me the following error on i386:

i386/h264dsp_mmx.c: In function 'h264_loop_filter_strength_mmx2': i386/h264dsp_mmx.c:580: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'

x86_64 compiles fine. Trying a recent but older revision (14537) works on i386.

Change History (4)

comment:1 Changed 12 years ago by Janne Grunau

Milestone: unknown0.21
Owner: changed from Isaac Richards to Janne Grunau
Version: unknownhead

I need more details. configure commandline and output, processor and the gcc commandline before the error message.

All 3 compile types compiled fine on my pentium-m.

comment:2 Changed 12 years ago by jshatch@…

I'll get you the info you need as soon as I get access to the machine again.

comment:3 Changed 12 years ago by jshatch@…

The processor is a p4 3.00 ghz (Northwood I believe). I can get you /proc/cpuinfo if you need it.

configure commandline: ./configure --compile-type=release --cpu=i686 --tune=i686 --enable-mmx --prefix=/usr --libdir-name=lib --x11-path=/usr/include --enable-joystick-menu --enable-ivtv --enable-firewire --enable-dvb --dvb-path=/usr/include/v4l/ --enable-audio-oss --enable-audio-alsa --enable-audio-arts --enable-audio-jack --enable-x11 --enable-xrandr --enable-xv --enable-xvmc --enable-xvmc-vld --enable-xvmc-pro --enable-opengl-vsync --disable-directfb --enable-libdts --enable-proc-opt --with-bindings=perl

I believe the gcc commandline was: gcc -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -w -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I.. -I../.. -I../libavutil -I../libswscale -I/usr/lib/qt-3.3/include -o h264.o h264.c

but I can't be 100% sure at this point since it was done with make -j3 (error did not immediately follow the command on the screen).

Let me know if you need me to be more thorough. As I said, I saw this same behavior on this p4 and on an Athlon MP 2200+ (dual socket).

comment:4 Changed 12 years ago by Janne Grunau

Resolution: invalid
Status: newclosed

That is not a unmodified mythtv build.

You need either -fomit-frame-pointer in your CFLAGS or -g (debugging symbols) has to be removed.

Note: See TracTickets for help on using tickets.