Opened 10 years ago

Closed 10 years ago

#6859 closed defect (invalid)

mythtv compile fails with gcc 4.3.2 on x86

Reported by: mythtv@… Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: mythtv@… Ticket locked: no

Description

See the build error below:

Tested with latest SVN revision (21309). CFLAGS are stripped before build and auto-detected by configure script.

Best regards, Miwer

gcc -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -DNDEBUG -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -g -Wall -Wno-switch -Wdisabled-optimization
 -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
 -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 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -o h264.o h264.c
cabac.h: In function ‘get_cabac_noinline’:
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h: In function ‘decode_cabac_residual_dc’:
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
x86/h264_i386.h:44: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h: In function ‘decode_cabac_residual_nondc’:
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
x86/h264_i386.h:97: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
x86/h264_i386.h:44: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h: In function ‘decode_cabac_mb_mvd’:
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h: In function ‘decode_mb_cabac’:
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
cabac.h:527: error: PIC register ‘%ebx’ clobbered in ‘asm’
make[2]: *** [h264.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-svn-0.22-r3/work/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec-make_default] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-svn-0.22-r3/work/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2

Change History (1)

comment:1 Changed 10 years ago by Janne Grunau

Resolution: invalid
Status: newclosed

do not use PIC on x86_32 or disable libav*'s asm

Note: See TracTickets for help on using tickets.