Discussion:
[Bug 783672] New: final link failed: Nonrepresentable section on output
"GStreamer" (GNOME Bugzilla)
2017-06-12 04:02:34 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783672

Bug ID: 783672
Summary: final link failed: Nonrepresentable section on output
Classification: Platform
Product: GStreamer
Version: 1.12.0
OS: Linux
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@lamiaworks.com.au
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---

Created attachment 353592
--> https://bugzilla.gnome.org/attachment.cgi?id=353592&action=edit
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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-12 06:37:13 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783672

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |***@coaxion.net
Resolution|--- |NOTGNOME

--- Comment #1 from Sebastian Dröge (slomo) <***@coaxion.net> ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-12 11:09:54 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783672

--- Comment #2 from scsijon <***@lamiaworks.com.au> ---
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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-12 11:13:36 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783672

--- Comment #3 from scsijon <***@lamiaworks.com.au> ---
told you it wasn't working, it's taglib of course, now to work out why it
didn't build properly.

sorry
scsijon
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-14 05:16:41 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783672

scsijon <***@lamiaworks.com.au> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|final link failed: |[closed:fixed] final link
|Nonrepresentable section on |failed: Nonrepresentable
|output |section on output
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-14 05:18:34 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783672

--- Comment #4 from scsijon <***@lamiaworks.com.au> ---
humf! typo in the taglib .conf file.

Apologies for the problem.

Extra Thanks to slomo.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...