Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Re: [mythtv-commits] Ticket #11012: mythtv-0.25.2_p20120716 - configure sets incorrect CFLAGS

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


dekarl at spaetfruehstuecken

Aug 16, 2012, 1:16 PM

Post #1 of 2 (245 views)
Permalink
Re: [mythtv-commits] Ticket #11012: mythtv-0.25.2_p20120716 - configure sets incorrect CFLAGS

On 16.08.2012 18:48, MythTV wrote:
> #11012: mythtv-0.25.2_p20120716 - configure sets incorrect CFLAGS
> --------------------------------+--------------------------------------
> Reporter: klamp<klampiar@…> | Type: Bug Report - General
> Status: new | Priority: minor
> Milestone: unknown | Component: MythTV - General
> Version: Unspecified | Severity: medium
> Keywords: CFLAGS | Ticket locked: 0
> --------------------------------+--------------------------------------
> This is basically copy of bug reported at
> https://bugs.gentoo.org/show_bug.cgi?id=431618.
> ---------------------------------------------------------------------
...
>
> While I expect system CFLAGS, or CFLAGS as close to system as possible, to
> be used.
> ---------------------------------------------------------------------
> Doug Goldstein:
> ... I don't like how they mess with CFLAGS. For the
> longest time they insisted we block all user CFLAGS and use what they
> generate.
> ---------------------------------------------------------------------
> ..., I dont like how you mess with CFLAGS
> either. Can you please just follow behavior of majority of software and
> honor user set CFLAGS?

You know that its frowned upon but come over here to tell us "we
don't like what MythTV does" without giving details or a reason.

What did you expect?

Regards,
Karl
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


raymond at wagnerrp

Aug 16, 2012, 2:47 PM

Post #2 of 2 (230 views)
Permalink
Re: [mythtv-commits] Ticket #11012: mythtv-0.25.2_p20120716 - configure sets incorrect CFLAGS [In reply to]

On 8/16/2012 15:39, MythTV wrote:
> #11012: mythtv-0.25.2_p20120716 - configure sets incorrect CFLAGS
> ----------------------------------+-----------------------------
> Reporter: klamp <klampiar@…> | Owner:
> Type: Bug Report - General | Status: closed
> Priority: minor | Milestone: unknown
> Component: MythTV - General | Version: Unspecified
> Severity: medium | Resolution: Won't Fix
> Keywords: CFLAGS | Ticket locked: 0
> ----------------------------------+-----------------------------
>
> Comment (by klamp <klampiar@…>):
>
> Hm, that's exactly something I would expect from developers of software
> that segfaults every 60 minutues or so. No hard feelings involved, just
> observation of performance of your code @ gentoo.
>

I've been a big proponent of Gentoo, and the whole concept of "compile
your own Linux", since I started using it in the mid-2000s. I had
previously used, and still use, FreeBSD for anything that doesn't
require Linux for hardware compatibility, and the architecture of Gentoo
is the next closest thing. You don't have to worry about complex chains
of interdependent package versions. You don't have to compile in every
feature under the sun, under the odd chance someone somewhere will want
to use it. If you are missing a feature, recompile. If you have a
version mismatch, recompile. If you have a compatibility issue,
recompile. It's the simple, if perhaps not very quick, end all solution
to most problems.

The problem with compiling everything, and potentially doing it
repeatedly, is that the people most likely to put up with all that CPU
load are the "tuners" who think by fiddling with every last compiler
feature, they can eek another couple percent of performance out of their
applications. At least in my opinion, this type of use is a perversion
of the Gentoo ethos. Let the package system or build scripts decide what
is the best configuration on their own. If you think you are intelligent
enough to know better for your particular scenario, then you're
intelligent enough to patch the ebuild or build scripts yourself. If you
think it has value outside your own personal use, by all means submit
the patch upstream.

When you start blanketing non-standard compile flags to everything on
your system on a whim, that's when you really start running into
stability issues. Most things that are not standard are not standard for
good reason. I can honestly say I don't find MythTV the least bit
unstable. Just about the only time I've seen a segfault since maybe 0.20
or 0.21 has been either when I've been tinkering with some piece of code
and am in the process of debugging it, or have done something absurd
like pushed video to a remote XMing X11 server using XShm. If you are
experiencing them frequently and repeatedly, open up the core dump and
submit a ticket with the backtrace. If it were something one of the devs
was experiencing, it would have been fixed in short order. Process of
elimination means it's not, and so the only way it is going to be known
is if you report it.

The one exemption to the above is when trying to perform
cross-compilation for another system. In such cases, it is simply not
possible for the build scripts to determine the best configuration for
the system on their own. They need external specifications to do so for
them, however cross-compilation is a very different problem, and must be
handled differently than simple manual tuning parameters.
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.