GNOME Bugzilla – Bug 783672
[closed:fixed] final link failed: Nonrepresentable section on output
Last modified: 2017-06-14 05:18:34 UTC
Created attachment 353592 [details] Error log from T2 build system Working on T2 building X86-64 all version 1.12.0 build except for this one. I've attached the full error log in case it helps as I suspect it will be needed. Thanks, some direction would be appreciated. Last few lines are;- /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../x86_64-t2-linux-gnu/bin/ld: /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../lib64/libtag.a(tiostream.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN6TagLib8IOStreamE' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../x86_64-t2-linux-gnu/bin/ld: /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../lib64/libtag.a(rifffile.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN6TagLib4RIFF4FileE' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../x86_64-t2-linux-gnu/bin/ld: /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../lib64/libtag.a(asftag.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN6TagLib3ASF3TagE' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../x86_64-t2-linux-gnu/bin/ld: /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../lib64/libtag.a(modfilebase.cpp.o): relocation R_X86_64_32 against symbol `_ZTVN6TagLib3Mod8FileBaseE' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-t2-linux-gnu/7.1.0/../../../../x86_64-t2-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make[3]: *** [Makefile:682: libgsttaglib.la] Error 1 make[3]: Leaving directory '/TOOLCHAIN/src.gst-plugins-good.racy6.20170612.100616.12475.localhost/gst-plugins-good-1.12.0/ext/taglib' make[2]: *** [Makefile:943: taglib] Error 2 make[2]: Leaving directory '/TOOLCHAIN/src.gst-plugins-good.racy6.20170612.100616.12475.localhost/gst-plugins-good-1.12.0/ext' make[1]: *** [Makefile:704: all-recursive] Error 1 make[1]: Leaving directory '/TOOLCHAIN/src.gst-plugins-good.racy6.20170612.100616.12475.localhost/gst-plugins-good-1.12.0' make: *** [Makefile:635: all] Error 2
That's a problem caused by your taglib (libtag.a) build. It only provides a static library, and that static library is not compiled with -fPIC. If you build either a shared library, or build the static library with -fPIC, this problem should disappear.
Thank you slomo. I'm at last down to my last few dozen problems and my brain is not working properly a lot of the time! Now for the dumb question, do you know what package has libtag.a in it, or a command that will tell me? many thanks scsijon
told you it wasn't working, it's taglib of course, now to work out why it didn't build properly. sorry scsijon
humf! typo in the taglib .conf file. Apologies for the problem. Extra Thanks to slomo.