aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-12 18:31:05 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-12 18:31:05 +0200
commitfc2607009039ccd20b3fa935e62fed1405e7c4d4 (patch)
tree25350098bf7f2a1ba311ff57c8f390e932d95d13 /fs
parent61860a395c0e0e651283b90d928bbedc61f99ba4 (diff)
downloadkernel_samsung_tuna-fc2607009039ccd20b3fa935e62fed1405e7c4d4.zip
kernel_samsung_tuna-fc2607009039ccd20b3fa935e62fed1405e7c4d4.tar.gz
kernel_samsung_tuna-fc2607009039ccd20b3fa935e62fed1405e7c4d4.tar.bz2
fs/ntfs: Disable optimization for ntfs_runlists_merge
GCC version 5.4.1+svn241155-1 in Debian Stretch has a bug that breaks the build. The error is attached. TODO: Figure out the actual bug or revert patch if a newer GCC is available in Stretch. /home/wolfi/replicant/6.0-romsrc-official/kernel/samsung/tuna/fs/ntfs/runlist.c: In function 'ntfs_runlists_merge': /home/wolfi/replicant/6.0-romsrc-official/kernel/samsung/tuna/fs/ntfs/runlist.c:719:1: error: insn does not satisfy its constraints: } ^ (insn 1914 3742 3628 272 (parallel [ (set (reg:SI 2 r2 [orig:463 D.21528 ] [463]) (and:SI (geu:SI (reg:SI 2 r2 [orig:463 D.21528 ] [463]) (reg:SI 3 r3 [orig:1339 D.21528 ] [1339])) (leu:SI (reg:SI 2 r2 [orig:463 D.21528 ] [463]) (const_int -134217729 [0xfffffffff7ffffff])))) (clobber (reg:CC 100 cc)) ]) /home/wolfi/replicant/6.0-romsrc-official/kernel/samsung/tuna/include/linux/mm.h:315 256 {*and_scc_scc_nodom} (nil)) /home/wolfi/replicant/6.0-romsrc-official/kernel/samsung/tuna/fs/ntfs/runlist.c:719:1: internal compiler error: in extract_constrain_insn, at recog.c:2246 /home/wolfi/replicant/6.0-romsrc-official/kernel/samsung/tuna/fs/ntfs/runlist.c:719:1: internal compiler error: Segmentation fault arm-none-eabi-gcc: internal compiler error: Segmentation fault (program cc1) Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/ntfs/runlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs/runlist.c b/fs/ntfs/runlist.c
index eac7d67..53a8258 100644
--- a/fs/ntfs/runlist.c
+++ b/fs/ntfs/runlist.c
@@ -494,6 +494,7 @@ static inline runlist_element *ntfs_rl_split(runlist_element *dst, int dsize,
return dst;
}
+#pragma GCC optimize ("O0")
/**
* ntfs_runlists_merge - merge two runlists into one
* @drl: original runlist to be worked on
@@ -717,6 +718,7 @@ finished:
ntfs_debug_dump_runlist(drl);
return drl;
}
+#pragma GCC reset_options
/**
* ntfs_mapping_pairs_decompress - convert mapping pairs array to runlist