annotate DOCS/Polish/gcc-2.96-3.0.html @ 3523:dadab20dc2b4

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