[mythtv] Re: Mythtv CVS possibly borked on amd64

Ian Forde ian at duckland.org
Sat Jan 8 21:35:58 EST 2005


(sending to the dev list instead)

On Wed, 2004-12-29 at 09:07 -0600, Kevin Kuphal wrote:
> Chris Germano wrote:
> 
> > I'm trying to compile Mythtv CVS on an amd64 and it's failing. It 
> > compiled fine a few weeks ago so I don't know what's up. I tried the 
> > -fPIC thing in my cflags but it still did this, and i did make clean, 
> > etc. I'm running Gentoo 64 on a amd 64 3200.

I'm still having a problem here.  I'm running FC3 on AMD64 3200+.  More
below:

> > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: 
> > postprocess.o: relocation R_X86_64_32S against `a local symbol' can 
> > not be used when making a shared object; recompile with -fPIC
> > postprocess.o: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > make: *** [libmythavcodec-0.16.so.0.16.0] Error 1

Instead of R_X86_64_32S I'm seeing the following:

/usr/bin/ld: utils.o: relocation R_X86_64_32 against `a local symbol'
can not be used when making a shared object; recompile with -fPIC

> The answer has been posted to the list a couple times in the last 
> month.  You need to add --disable-mmx to your configure line.  I believe 
> there is a patch against the ffmpeg source that fixed this but Isaac 
> needs to include an ffmpeg resync to our code for it to be included.

I've tried it with and without '--disable-mmx' on the configure line
(and seen configure report that mmx is disabled) and have received the
same error.  gcc -v reports:

[root at tatooine mythtv]# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix --
disable-checking --with-system-zlib --enable-__cxa_atexit --disable-
libunwind-exceptions --enable-languages=c,c++,objc,java,f77 --enable-
java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

This is with current CVS (just downloaded it 10 minutes ago).  And it's
all so I can submit a backtrace for mythvideo crashing the frontend when
entering List View.  Anyone know what's going on here?

	-Ian



More information about the mythtv-dev mailing list