[mythtv-commits] Ticket #12408: mythtv fails to compile with Gentoo gcc 4.9

MythTV noreply at mythtv.org
Wed Oct 21 10:45:26 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 dekarl):

 Are you trying to work around a broken compiler?

 According to GCC's documentation (at
 https://gcc.gnu.org/onlinedocs/gccint/WHOPR.html ) the whole program
 optimization / link time optimization is supposed to work with C++
 programs using shared libraries with inline functions in headers. So to me
 this is clearly a bug in their compiler / linker.

 The referenced GCC bug (at
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63745 ) appears to state the
 opposite in contradiction with that documentation.

 I'm happy to apply a patch that moves the relevant function's
 implementation from the header to the implementation file if that helps
 Gentoo users.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12408#comment:12>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list