[mythtv-commits] Ticket #3616: libdts in x86_64 linking against wrong library & --arch=k8 fails too

MythTV mythtv at cvs.mythtv.org
Fri Jun 15 00:19:39 UTC 2007


#3616: libdts in x86_64 linking against wrong library & --arch=k8 fails too
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  ijr    
     Type:  defect     |       Status:  new    
 Priority:  major      |    Milestone:  unknown
Component:  mythtv     |      Version:  head   
 Severity:  medium     |   Resolution:         
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by anonymous):

 Reposting again, the original post looked ugly.

 Trunk 13648 was compiling fine a few days ago, today I upgraded to 13687
 and it would not compile with --enable-dts or --enable-libdts (someone
 switched that to libdts now). It seems it's not linking against correct
 library. The correct one is: /usr/lib/libdts.a /usr/lib/libdts_pic.a

 this is the error I get:
 {{{
 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-
 gnu/4.1.2/../../../../lib64/libdts.a(parse.o): relocation R_X86_64_32S
 against `a local symbol' can not be used when making a shared object;
 recompile with -fPIC /usr/lib/gcc/x86_64-linux-
 gnu/4.1.2/../../../../lib64/libdts.a: could not read symbols: Bad value
 collect2: ld returned 1 exit status make[2]: ***
 [libmythavcodec-0.20.so.0.20.0] Error 1 make[2]: Leaving directory
 `/usr/src/mythtv_13687/mythtv/libs/libavcodec' make[1]: *** [sub-
 libavcodec] Error 2 make[1]: Leaving directory
 `/usr/src/mythtv_13687/mythtv/libs' make: *** [sub-libs] Error 2
 }}}

 Also, when configuring with --arch=k8 it fails too, this worked on 13648,
 the error i'm getting is:
 {{{
 ERROR: CPU specific ./configure options failed compile test
 Removing CPU specific compilation options. (-march=generic)
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3616#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list