提交 f5e83fa4 编写于 作者: S Segher Boessenkool 提交者: Sam Ravnborg

powerpc: Refuse to build 64-bit with GCC-4.2.0 and CONFIG_MODULES

...since this won't work (compiler bug, see <http://gcc.gnu.org/PR31490>).
Signed-off-by: NSegher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 0ab2a272
......@@ -201,6 +201,14 @@ checkbin:
false; \
fi ; \
fi
@if test "$(call cc-fullversion)" = "040200" \
&& test "x${CONFIG_MODULES}${CONFIG_PPC64}" = "xyy" ; then \
echo -n '*** GCC-4.2.0 cannot compile the 64-bit powerpc ' ; \
echo 'kernel with modules enabled.' ; \
echo -n '*** Please use a different GCC version or ' ; \
echo 'disable kernel modules' ; \
false ; \
fi
@if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \
echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \
echo 'correctly with old versions of binutils.' ; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册