annotate DOCS/gcc-2.96-3.0.html @ 4592:5fbfd8545c3b

query_ stuff replaced by new control() - patch by David Holm
author arpi
date Sat, 09 Feb 2002 00:47:26 +0000
parents e67d400b6fde
children 6cb9d9a1716d
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>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
2 <BODY BGCOLOR=WHITE>
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
3 <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
4
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
5 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
6 <B>Question:</B> What is GCC 2.96 ? I can't find it at GNU site.
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
7 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
8
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
9 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
10 <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
11 </P>
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
12
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
13 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
14 <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
15 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
16
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
17 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
18 <B>Answer:</B>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
19 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
20
4542
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
21 <P>Read in MySQL documentation :</P>
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
22
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
23 <P><I>
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
24 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
25 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
26 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
27 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
28 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
29 with our binary always eliminated the problem.
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
30 </I></P>
e67d400b6fde mysql also goes haywire from sneaky-sucky-fucky gcc2.100-4
gabucino
parents: 3845
diff changeset
31
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
32 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
33 And for the people, who periodically asks what are the exact problems with
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
34 gcc 2.96, my answer: <I>we don't know exactly.</I>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
35 There were various problems and new problems / bugs come up periodically.
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
36 It is <I>not a single bug/problem</I>. We just see various bugreports, mostly
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
37 gcc internal bugs, compiler syntax errors in source or bad code compiled. They
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
38 all are solved using different version of gcc. I understand that gcc 2.96
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
39 has different default optimization flags and they conflicts with our inline
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
40 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
41 work with other compilers or gcc versions, and the fix may cause speed loss.
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
42 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
43
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
44 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
45 I think that the gcc 2.96 should be fixed to be option-compatible with other
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
46 releases, but redhat guys refused to do it. If someone interested - ask
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
47 Eugene K., avifile author, he has a long mailing with them, because they had
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
48 the same problems with avifile. Finally he changed avifile source to
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
49 <I>workaround</I> gcc 2.96 bugs...
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
50 We simply has no interest and time to do it.
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>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
54 Ah, and about the pipe-in-comment bug: it wasn't really our bug.
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
55 I've talked one of gcc maintainers, and he told me that gcc 2.96 and 3.x
2909
8551ccd5fab7 updated. pipe bug not yet fixed
arpi
parents: 2771
diff changeset
56 supports intel asm syntax, and it caused the pipe bug. But it <I>is</I> a bug,
8551ccd5fab7 updated. pipe bug not yet fixed
arpi
parents: 2771
diff changeset
57 because gcc <I>silently</I>, without any warning, ignored the whole asm block!
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
58 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
59
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
60 <P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
61 Other gcc 3.x problems comes from broken libstdc++ or glibc header (std_*.h)
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
62 installation. They are not our fault. MPlayer compiles and works well with
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
63 gcc 3.x versions. <B>Only 2.96 is broken</B>, but it depends on many environment
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
64 elements, including gcc 2.96 release number, enabled mplayer features, etc.
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
65 <I>If it works for you using gcc 2.96, it doesn't mean it will work for everyone.</I>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
66 </P>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
67
3053
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
68 <P><B>Answer 2:</B></P>
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
69
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
70 <P>
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
71 Also read <A HREF="users_against_developers.html">this</A> text !!!</P>
153fc4f5464f ehh too much
gabucino
parents: 2909
diff changeset
72
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
73 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
74 <B>Question:</B> No! You are wrong! Everything works with gcc 2.96 <I>but</I> MPlayer
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
75 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
76
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
77 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
78 <B>Answer:</B>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
79 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
80
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
81 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
82 No. You are wrong!
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
83 Several projects (mainly which source contains high optimized inline asm code)
3845
8feacfc6bfee nuppelvideo is suffering too
gabucino
parents: 3222
diff changeset
84 had problems with gcc 2.96. For example: avifile, MESA / DRI, Wine, ffmpeg, lame, NuppelVideo.
2441
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
85 But other projects already workarounded gcc bugs (changed code which
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
86 triggered compiler bugs) so they work for now.
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
87 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
88
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
89 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
90 <B>Question:</B> No! You are wrong! Everything works with gcc 2.96 <I>including</I> MPlayer
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
91 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
92
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
93 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
94 <B>Answer:</B>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
95 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
96
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
97 Good. Be happy. But you must know, it depends on many environment
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
98 elements, including gcc 2.96 release number, enabled mplayer features, etc.
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
99 <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
100 It only means that you are lucky, until you find a problem. But don't forget the
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
101 <B>No.1 rule of gcc 2.96 users: NEVER REPORT BUGS OR PROBLEMS IF YOU ARE USING GCC 2.96</B>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
102
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
103 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
104 <B>Question:</B> Ok. Understood. But I want to give it a try... how to compile with gcc 2.96?
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
105 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
106
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
107 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
108 <B>Answer:</B> Really? Are you sure? Ok. You know... here is it: ./configure --disable-gcc-checking
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
109 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
110
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
111 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
112 <B>Question:</B> No! I don't agree with you, because ...
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
113 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
114
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
115 <P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
116 <B>Answer:</B> It doesn't matter. Keep your commets for yourself. We're not interested in gcc 2.96 stories.
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
117 </P>
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
118
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
119
f8352ff67ef7 htmlize, added new things
arpi
parents: 2440
diff changeset
120 </FONT>
2440
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
121 </BODY>
3b792a1d0fc2 hmm. am I a doxwriter?
arpi
parents:
diff changeset
122 </HTML>