annotate DOCS/gcc-2.96-3.0.html @ 5721:b53597b930b1

more deciliters
author gabucino
date Sat, 20 Apr 2002 07:02:36 +0000
parents 93c65f130dd6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
1 <HTML>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
2
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
3 <HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
4 <STYLE>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
5 .text
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
6 {font-family : Verdana, Arial, Helvetica, sans-serif;
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
7 font-size : 14px;}
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
8 </STYLE>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
9 </HEAD>
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
10
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
11 <BODY BGCOLOR=WHITE>
4982
6cb9d9a1716d HTML: different font handling - idea from new hp dezign
gabucino
parents: 4542
diff changeset
12 <FONT CLASS="text">
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
13
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
14 <P>
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
15 <B>Question:</B> What is GCC 2.96 ? I can't find it at the GNU site.
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
16 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
17
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
18 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
19 <B>Answer:</B> Read the <A HREF="http://gcc.gnu.org/gcc-2.96.html">official answer from GNU GCC team.</A>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
20 </P>
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
21
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
22 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
23 <B>Question:</B> What is the problem with GCC 2.96 ? And with 3.x ?
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
24 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
25
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
26 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
27 <B>Answer:</B>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
28 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
29
4542
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
30 <P>Read in MySQL documentation :</P>
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
31
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
32 <P><I>
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
33 Compiler Advisory: Several of our users have reported random crashes and
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
34 table corruption with MySQL binaries compiled with gcc two-dot-nine-six on
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
35 the x86 Linux platform. Although we were unable to duplicate the problems
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
36 ourselves or understand their exact cause, we suspect with a great degree of
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
37 confidence that the problem was compiler related. Replacing the faulty binary
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
38 with our binary always eliminated the problem.
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
39 </I></P>
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
40
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
41 <P>
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
42 And for the people who periodically ask what the exact problems with
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
43 gcc 2.96 are, my answer: <I>We don't know exactly.</I>
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
44 There were various problems and new problems / bugs come up periodically.
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
45 It is <I>not a single bug/problem</I>. We just see various bug reports, mostly
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
46 gcc internal bugs, compiler syntax errors in source or bad code compiled. They
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
47 are all solved by using a different version of gcc. I understand that gcc 2.96
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
48 has different default optimization flags and they conflict with our inline
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
49 asm code, but we can't fix them, and we really don't want to fix them as they
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
50 work with other compilers or gcc versions, and the fix may cause speed loss.
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
51 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
52
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
53 <P>
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
54 I think that gcc 2.96 should be fixed to be option-compatible with other
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
55 releases, but Red Hat guys refused to do it. If someone is interested - ask
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
56 Eugene K., avifile author, he has a long mailing with them, because they had
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
57 the same problems with avifile. Finally he changed avifile source to
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
58 <I>work around</I> gcc 2.96 bugs...
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
59 We simply have no interest and time to do it.
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
60 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
61
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
62 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
63 Ah, and about the pipe-in-comment bug: it wasn't really our bug.
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
64 I've talked to one of the gcc maintainers, and he told me that gcc 2.96 and 3.x
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
65 support Intel asm syntax, and it caused the pipe bug. But it <I>is</I> a bug,
2909
8551ccd5fab7 updated. pipe bug not yet fixed
arpi
parents: 2771
diff changeset
66 because gcc <I>silently</I>, without any warning, ignored the whole asm block!
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
67 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
68
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
69 <P>
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
70 Other gcc 3.x problems come from a broken libstdc++ or glibc header (std_*.h)
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
71 installation. They are not our fault. MPlayer compiles and works well with
5001
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
72 gcc 2.95.3 (<B>MEncoder</B> won't work with 2.95.2 because it miscompiles
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
73 some MMX instructions). <B>2.96 and 3.0.x are broken</B>, but it depends on
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
74 many environment elements, including gcc 2.96 release number, enabled mplayer
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
75 features, etc. <I>If it works for you using gcc 2.96, it doesn't mean it will
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
76 work for everyone.</I>
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
77 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
78
3053
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
79 <P><B>Answer 2:</B></P>
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
80
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
81 <P>
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
82 Also read <A HREF="users_against_developers.html">this</A> text !!!</P>
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
83
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
84 <P>
5001
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
85 <B>Question:</B> No! You are wrong! Everything works with gcc 2.96 <I>but</I> MPlayer !
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
86 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
87
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
88 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
89 <B>Answer:</B>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
90 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
91
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
92 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
93 No. You are wrong!
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
94 Several projects (mostly those which contain highly optimized inline asm code)
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
95 had problems with gcc 2.96, for example: avifile, MESA / DRI, Wine, ffmpeg,
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
96 lame, NuppelVideo, MySQL. But other projects already worked around gcc bugs
5001
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
97 (changed code which triggered compiler bugs) so they work for now.
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
98 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
99
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
100 <P>
5001
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
101 <B>Question:</B> No! You are wrong! Everything works with gcc 2.96 <I>including</I> MPlayer .
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
102 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
103
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
104 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
105 <B>Answer:</B>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
106 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
107
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
108 Good. Be happy. But you must know, it depends on many environment
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
109 elements, including gcc 2.96 release number, enabled mplayer features, etc.
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
110 <I>If it works for you using gcc 2.96, it doesn't mean it will work for everyone!</I>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
111 It only means that you are lucky, until you find a problem. But don't forget the
5001
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
112 <B>No.1 rule of gcc 2.96 users: NEVER REPORT BUGS OR PROBLEMS IF YOU ARE USING GCC 2.96</B> !
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
113
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
114 <P>
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
115 <B>Question:</B> OK. Understood. But I want to give it a try... how to compile with gcc 2.96?
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
116 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
117
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
118 <P>
5054
93c65f130dd6 corrections by Diego Biurrun <diego@biurrun.de>
jaf
parents: 5001
diff changeset
119 <B>Answer:</B> Really? Are you sure? OK. You know... here it is: ./configure --disable-gcc-checking
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
120 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
121
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
122 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
123 <B>Question:</B> No! I don't agree with you, because ...
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
124 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
125
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
126 <P>
5001
b4c4d1abb7a4 3.0.x sux + some other stuff
gabucino
parents: 4982
diff changeset
127 <B>Answer:</B> It doesn't matter. Keep your comments to yourself. We're not interested in gcc 2.96 stories.
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
128 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
129
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
130 </FONT>
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
131 </BODY>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
132 </HTML>