[mythtv-commits] Ticket #12408: mythtv fails to compile with Gentoo gcc 4.9
MythTV
noreply at mythtv.org
Mon Oct 19 02:45:22 UTC 2015
#12408: mythtv fails to compile with Gentoo gcc 4.9
----------------------------------+----------------------------
Reporter: rich0@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.27-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+----------------------------
Comment (by mike.desimone@…):
This is odd. It complains about `undefined reference to
VideoBuffers::StartDisplayingFrame`, but it's right there in the linked-in
library:
{{{
# nm libmythtv-0.27.so | c++filt | grep VideoBuffers::StartDisplayingFrame
0000000000548000 t VideoBuffers::StartDisplayingFrame()
}}}
I've attached a tarball with the three modified Makefiles. All they do is
add the aforementioned object files directly to the link line. This is a
workaround, and not a real fix. This shouldn't be necessary since these
objects are in the linked libraries. Unless, of course, whatever GCC's
linker is doing ("devirtualization", I hear) is something it can't do
across shared library boundaries.
Let me know if you want anything else tried.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12408#comment:9>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list