2867
|
1 <HTML>
|
|
2 <BODY BGCOLOR=white>
|
|
3
|
|
4 <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
|
|
5
|
|
6 <P><B><I>In medias res</I></B></P>
|
|
7
|
|
8 <P>There are two major topic which always causes huge dispute and flame on the
|
|
9 <A HREF="http://www.MPlayerHQ.hu/cgi-bin/htsearch">mplayer-users</A>
|
|
10 mailing list. Number one is of course the topic of the</P>
|
|
11
|
|
12 <P><B><I>GCC 2.96 series</I></B></P>
|
|
13
|
|
14 <P>The <I>background</I> : there were/are the GCC <B>2.95</B> series. The
|
|
15 best of them was 2.95.3 . Please note the style of the version numbering.
|
|
16 This is how the GCC team numbers their compilers. The 2.95 series are good.
|
2910
|
17 We never ever saw anything that was miscompiled because of the 2.95's faultiness.</P>
|
2867
|
18
|
|
19 <P>The <I>action</I> : <B>RedHat</B> started to include a GCC version of <B>2.96</B>
|
|
20 with their distributions. Note the version numbering. This should be the GCC
|
2910
|
21 team's versioning. They patched the CVS version of GCC (something between 2.95 and 3.0)
|
2919
|
22 They patched it very deep, and used this version in the distrib because 3.0
|
|
23 wasn't out at time, and they wanted IA64 support ASAP (business reasons).
|
|
24 Oh, and GCC 2.95 miscompiles bash on the s390 architecture (there is
|
|
25 no RedHat distribution for s390..) .</P>
|
|
26
|
|
27 <P>The <I>facts</I> : <B>MPlayer</B>'s compile process needs the
|
|
28 <CODE>--disable-gcc-checking</CODE> to proceed upon detecting a GCC version of
|
|
29 2.96 (apparently it needs this option on <B>egcs</B> too. It's because we don't
|
|
30 test <B>MPlayer</B> on egcs. Pardon us, but we rather develop <B>MPlayer</B>).
|
|
31 If you know <B>MPlayer</B>, you should know that it has great speed. It
|
|
32 achieves this by having overoptimized MMX/SSE/3DNow/etc codes, fastmemcpy, and
|
|
33 lots of other features. <B>MPlayer</B> contained MMX/3DNow instructions in a
|
|
34 syntax that all Linux compilers accept it... except RedHat's GCC (it's more
|
|
35 standard compliant). It simply <B><I>skips</I></B> them. It doesn't give
|
|
36 errors. It doesn't give warnings. But hey, it compiles bash on s390 and
|
|
37 IA64.</P>
|
2867
|
38
|
|
39 <P>The <I>statements</I> : most developers around the world begun having
|
|
40 bad feelings about RedHat's GCC 2.96 , and told their RedHat users to
|
|
41 compile with other compiler than 2.96 . RedHat users' disappointment slowly
|
2910
|
42 went into anger. What was all good
|
2867
|
43 for, apart from giving headaches to developers, putting oil on anti-RedHat
|
|
44 flame, confusing users? The answer, I do not know.</P>
|
|
45
|
|
46 <P><I>Present age, present time</I> : RedHat says that GCC 2.96-85 and above
|
|
47 is fixed, and works properly. Note the versioning. They should have started
|
2910
|
48 with something like this. What about GCC 2.96.85 ? It doesn't matter now.
|
|
49 I don't search, but I still see bugs with 2.96 . It doesn't matter now,
|
|
50 hopefully now <B>RedHat will forget about 2.96</B> and turn towards <B>3.0</B>.
|
|
51 Towards a deep patched 3.0...
|
|
52 </P>
|
2867
|
53
|
|
54 <P><I>What I don't understand</I> is why are we hated by RedHat users for
|
|
55 putting warning messages, and stay-away documents in <B>MPlayer</B> .
|
|
56 Why are we called "brain damaged", "total asshole", "childish" by
|
|
57 <B>RedHat users</B>, on our mailing list, and even on the <B>redhat-devel</B> .
|
|
58 They even considered forking <B>MPlayer</B> for themselves. RedHat users.
|
|
59 Why? It's RedHat that made the compiler, why do <U>you</U> have to hate us?
|
|
60 Are you <U>that</U> fellow RedHat worshippers? Please stop it. We don't hold
|
|
61 a grudge against users, doesn't matter how loud you advertise its contrary.
|
|
62 Please go flame Linus Torvalds, the DRI developers (oh, now I know why
|
|
63 there were laid off by VA!), the Wine, avifile. Even if we are arrogant,
|
|
64 are we not the same as the previously listed ones? Why do <B>we</B> have
|
|
65 to suffer from your unrightful wrath?</P>
|
|
66
|
|
67 <P>I'm closing this topic. Think over it please. I (Gabucino) personally begun
|
|
68 with <A HREF="http://www.redhat.com">RedHat</A>, then used Mandrake (sorry I
|
|
69 don't know their URL), now I have <A
|
|
70 HREF="http://www.linuxfromscratch.com">LFS</A>. Never held a grudge against
|
|
71 RedHat or RedHat users, and I still don't. Hate is only comfortable. It
|
|
72 won't bring you anywhere.</P>
|
|
73
|
|
74 <P><B><I>Binary distribution of MPlayer</I></B></P>
|
|
75
|
2919
|
76 <P>Tons of users asked us about this. For example Debian users tend to say: Oh,
|
|
77 I can <CODE>apt-get install avifile</CODE>, why should I <B>compile MPlayer</B> ?
|
|
78 While this may sound reasonable, the problem lies a bit deeper than
|
|
79 those-fuckin-MPlayer-developers-hate-gcc-2.96-and-RedHat-and-Debian.
|
|
80 <UL>
|
|
81 <LI><B>MPlayer's</B> speed (MMX, SSE, fastmemcpy, etc) optimizations are
|
|
82 determined during compilation. Thus a compiled binary contains very
|
|
83 processor-specific code. An <B>MPlayer</B> binary compiled for K6 will die
|
|
84 on Pentiums and vice versa. This has to be workarounded by runtime
|
|
85 detection, which is not an easy thing to do becase it causes massive speed
|
|
86 decrease. If you don't believe (it was explained in details 10000 times on
|
|
87 mplayer-users, search the archive), solve it and send us a patch. Someone
|
|
88 begun work on it, but disappeared since then.</LI>
|
|
89 <LI><B>MPlayer's</B> video/audio system is not plugin based. It is compiled
|
|
90 into the binary, thus making the binary depend on various libraries (the
|
|
91 GUI depends on GTK, DivX4 depends on libdivxdecore, SDL depends on libSDL,
|
|
92 every SDL release contains an unique bug that has to be workarounded during
|
|
93 compiletime, X11 output compiles differently for X3 and X4, etc). You may
|
|
94 say: yes, let's make 30 versions of downloadable binaries! We won't. We
|
|
95 will make these stuff pluggable in the future.</LI>
|
|
96 <LI><B>MPlayer</B> includes GPL codes, and some non-GPL ones
|
|
97 (like OpenDivX alpha 48). Arpi's demuxers and other code has a special
|
|
98 license which is like GPL with one exception: it doesn't allow binary
|
|
99 distribution. Thus, anyone who distributes a binary which contains Arpi's
|
2920
|
100 code (which is the core of <B>MPlayer</B>) is doing a <B><I>FORBIDDEN
|
|
101 THING</I></B> ! For example that french guy called <B>Christian
|
|
102 Marillat</B> who denied our request, and is still distributing binary
|
|
103 Debian packages of <B>MPlayer</B>, despite the fact that there was at least
|
|
104 one user who downloaded it and failed (of course compiling from source
|
|
105 helped him). And there is <B>Guillaume Rousse</B>, who is doing the same,
|
|
106 but making RPMs for Mandrake. Please understand : we're trying to be GPL,
|
|
107 but there are still problems to resolve. Don't come and flame, instead help
|
|
108 (or better, stay quiet). Thanks.
|
2919
|
109 </UL>
|
2867
|
110
|
|
111 </HTML>
|