diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-05-12 18:31:05 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-24 09:58:30 +0200 |
commit | ffe9a828378d4db1e812b2e08c8cec74e94711c0 (patch) | |
tree | 6bd36bfecc58c24a79626becc48ebaaba9366097 | |
parent | 0b07cbc651e49dd9eed4694bede17ba62b1cdd7e (diff) | |
download | kernel_samsung_tuna-ffe9a828378d4db1e812b2e08c8cec74e94711c0.tar.gz kernel_samsung_tuna-ffe9a828378d4db1e812b2e08c8cec74e94711c0.tar.bz2 kernel_samsung_tuna-ffe9a828378d4db1e812b2e08c8cec74e94711c0.zip |
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>
-rw-r--r-- | fs/ntfs/runlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs/runlist.c b/fs/ntfs/runlist.c index eac7d6788a1..53a8258db5a 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 |