This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[google/main] Fix arm build broken
- From: HÃn ShÄn (ææ) <shenhan at google dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Dehao Chen <dehao at google dot com>
- Cc: c-compiler-chrome <c-compiler-chrome at google dot com>
- Date: Tue, 11 Mar 2014 15:22:38 -0700
- Subject: [google/main] Fix arm build broken
- Authentication-results: sourceware.org; auth=none
Hi current google/main fails to build for arm because of duplicated
head file entries in gtyp-input.list.
Fixed by removing duplication in macro tm_file. This only affects arm
platform. Tested by successfully build for arm.
Patch below ----
--- config.gcc.orig 2014-03-11 15:10:26.849602409 -0700
+++ config.gcc 2014-03-11 15:00:28.855375515 -0700
@@ -1024,9 +1024,8 @@ arm*-*-linux-*) # ARM GNU/Linux with E
tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h arm/arm.h"
# Define multilib configuration for arm-linux-androideabi.
case ${target} in
arm*-*-linux-*eabi)
- tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
# Define multilib configuration for arm-linux-androideabi.
case ${target} in
*-androideabi)
Ok for google/main?
Han Shen