This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR target/55144: bfin: fix opening glibc-c.o: No such file or directory


On 8 April 2015 at 20:37, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> building all-gcc for bfin-linux-uclibc results in
>
> build/genchecksum cp/cp-lang.o c-family/stub-objc.o ... glibc-c.o \
> libbackend.a .. > cc1plus-checksum.c.tmp
> opening glibc-c.o: No such file or directory
> make[2]: *** [cc1-checksum.c] Error 1
>
> Fix this by prepending tmake_file which nowadays consists of t-slibgcc
> t-linux t-glibc. Remove the already listed tmake_file entries.
>
> Fixes all-gcc config-list.mk build for bfin-linux-uclibc.
> Ok for trunk?

This was OKed by Jeff and committed to trunk as r222313.
thanks,
>
> gcc/ChangeLog
>
>         PR target/55144
>         * config.gcc (bfin*-linux-uclibc*): Prepend tmake_file and
>         remove already contained t-files.
>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> Cc: Bernd Schmidt <bernds@codesourcery.com>
> Cc: Jie Zhang <jzhang918@gmail.com>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
>  gcc/config.gcc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index cb08a5c..ddbd57b 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -1118,7 +1118,7 @@ bfin*-uclinux*)
>         ;;
>  bfin*-linux-uclibc*)
>         tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
> -       tmake_file="bfin/t-bfin-linux t-slibgcc t-linux"
> +       tmake_file="${tmake_file} bfin/t-bfin-linux"
>         use_collect2=no
>         ;;
>  bfin*-rtems*)
> --
> 2.1.4
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]