[mythtv] latest commit gives me filter_invert.o: could not read symbols: Bad value

Matt W mwood23 at gmail.com
Sat Jul 16 17:36:55 UTC 2011


sorry, I'm not sure if this is a configuration bug or a problem with
my setup.  i'm currently on commit
4c98ad152bc33f4a8dcc9866cb73eba9efcdf21c but this same failure
happened a few days ago when I tried a new build.  fwiw I did a make
distclean before I did configure...


make[2]: Entering directory
`/home/mwood/src/mythtv/trunk/mythtv/mythtv/mythtv/filters/invert'
gcc -c -m64 -pipe -Wno-missing-prototypes -D_REENTRANT -D_GNU_SOURCE
-I/usr/local/qt47/mkspecs/linux-g++-64 -I. -I../../libs/libmythtv
-I../../libs/libmythbase -I../../external/FFmpeg
-I../../libs/libmythtv -o filter_invert.o filter_invert.c
make[2]: Entering directory
`/home/mwood/src/mythtv/trunk/mythtv/mythtv/mythtv/filters/denoise3d'
gcc -c -m64 -pipe -Wno-missing-prototypes -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
-Wmissing-prototypes -O3 -fno-math-errno -fno-signed-zeros
-fno-tree-vectorize -D_REENTRANT -D_GNU_SOURCE -DMMX -D_GNU_SOURCE
-I/usr/local/qt47/mkspecs/linux-g++-64 -I. -I../../libs/libmythtv
-I../../libs/libmythbase -I../../external/FFmpeg -I/usr/include
-I/usr/local/mythtv -I/usr/share/nvidia/include -I/usr/include/libxml2
-o filter_denoise3d.o filter_denoise3d.c
rm -f libinvert.so
g++ -m64 -Wl,-rpath,/usr/local/qt47/lib -shared -o libinvert.so
filter_invert.o    -lpthread
/make[2]: Entering directory
`/home/mwood/src/mythtv/trunk/mythtv/mythtv/mythtv/filters/linearblend'
gcc -c -m64 -pipe -Wno-missing-prototypes -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
-Wmissing-prototypes -O3 -fno-math-errno -fno-signed-zeros
-fno-tree-vectorize -D_REENTRANT -D_GNU_SOURCE -DMMX -D_GNU_SOURCE
-I/usr/local/qt47/mkspecs/linux-g++-64 -I. -I../../libs/libmythtv
-I../../libs/libmythbase -I../../external/FFmpeg -I/usr/include
-I/usr/local/mythtv -I/usr/share/nvidia/include -I/usr/include/libxml2
-o filter_linearblend.o filter_linearblend.c
usr/bin/ld: filter_invert.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with
-fPIC
filter_invert.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libinvert.so] Error 1

walking through this one and others in flilters/ manually, it seems
like everything in filters/ is missing the required -fPIC flag.  is
this bug-worthy?  :)


More information about the mythtv-dev mailing list