]>
Commit | Line | Data |
---|---|---|
1227625a SP |
1 | |
2 | I have received bug reports about dump telling that dump receives | |
3 | unexpected signals when dump directories (in pass III). I have tried to | |
4 | reproduce the problem and it appears that this may be caused by an optimization | |
5 | problem in some versions of gcc. Dump works fine when compiled with | |
6 | optimization by gcc 2.6.2 but it fails when compiled by gcc 2.6.3: | |
7 | - either it gets an unexpected signal (SIGFPE), | |
8 | - or it issues warnings ``Warning: dumpdirino called with file type | |
9 | 040000'' and does not dump directories. | |
10 | ||
11 | Finding the problem was not an easy task because the behavior seemed | |
12 | to be related to the version of the compiler. Anyway, I have found it :-) | |
13 | There was an incorrect assignement in the function dumpdirino(), which is | |
14 | responsible for dumping the contents of directories, and this caused some | |
15 | problems when compiled with optimizations by some versions of gcc. After | |
16 | fixing the problem, dump runs fine when compiled by gcc 2.6.3 or gcc 2.7.0. | |
17 | ||
18 | The new fixed version (numbered 0.2b) is now available on | |
19 | tsx-11.mit.edu in the directory /pub/linux/packages/ext2fs. Please get it | |
20 | if you are using dump and restore. | |
21 | ||
22 | Thanks to Daniel Veillard <Daniel.Veillard@imag.fr>, Bob Snyder | |
23 | <rsnyder@janet.advsys.com>, and Florian La Roche <rzsfl@rz.uni-sb.de> for | |
24 | their reports and their help! | |
25 | ||
26 | -- | |
27 | Remy Card | |
28 | Remy.Card@freenix.fr |