Opened 16 years ago

Closed 16 years ago

#5988 closed defect (invalid)

Compile errors on Pentium III (Coppermine)

Reported by: J. Ali Harlow <ali@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: high Keywords:
Cc: Ticket locked: no

Description

Compiling svn r19269 (trunk) fails with the following error:

i386/h264dsp_mmx.c: In function ‘put_h264_qpel4_h_lowpass_3dnow’: i386/h264dsp_mmx.c:1891: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ i386/h264dsp_mmx.c:1891: error: ‘asm’ operand has impossible constraints

Configure command:

./configure --prefix=/usr/local

(output attached as config.out)

gcc command:

gcc -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -funit-at-a-time -Wwrite-strings -Wtype-limits -fno-math-errno -fno-signed-zeros -w -D_REENTRANT -DPIC -fPIC -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -I/usr/lib/qt-3.3/mkspecs/default -I. -I.. -I../.. -o dsputil_mmx.o i386/dsputil_mmx.c

/proc/cpuinfo attached as cpuinfo

Attachments (2)

config.out (1.7 KB) - added by J. Ali Harlow <ali@…> 16 years ago.
Output of configure
cpuinfo (417 bytes) - added by J. Ali Harlow <ali@…> 16 years ago.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by J. Ali Harlow <ali@…>

Attachment: config.out added

Output of configure

Changed 16 years ago by J. Ali Harlow <ali@…>

Attachment: cpuinfo added

comment:1 Changed 16 years ago by Nigel

I just did a clean build on an old CopperMine? PIII. No problems:

ccache gcc -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -funit-at-a-time -Wwrite-strings -fno-math-errno -w -D_REENTRANT -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I. -o dsputil_mmx.o i386/dsputil_mmx.c
ccache gcc -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -funit-at-a-time -Wwrite-strings -fno-math-errno -w -D_REENTRANT -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I. -o mpegvideo_mmx.o i386/mpegvideo_mmx.c

This was with GCC v4.2.3, a different GCC version may behave differently. Note that trunk requires Qt4, but your gcc command includes a Qt 3.3 directory. You may need to delete all the makefiles and reconfigure (or find out what is adding that directory in).

comment:2 Changed 16 years ago by J. Ali Harlow <ali@…>

Good catch, many thanks. It seems on Fedora 10 I must do configure, qmake-qt4, make rather than configure, qmake, make as I had assumed. Bit of an odd symptom, but there you go.

Please close this ticket.

comment:3 Changed 16 years ago by Dibblah

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.