Bug 55144 - opening glibc-c.o: No such file or directory
Summary: opening glibc-c.o: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: 6.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks: 47093
  Show dependency treegraph
 
Reported: 2012-10-31 03:48 UTC by Jorn Wolfgang Rennecke
Modified: 2016-01-02 14:12 UTC (History)
6 users (show)

See Also:
Host:
Target: bfin-linux-uclibc, cris-linux, crisv32-linux, m32rle-linux, m32r-linux
Build:
Known to work: 6.0
Known to fail: 4.8.0, 4.9.2, 5.0
Last reconfirmed: 2015-04-22 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorn Wolfgang Rennecke 2012-10-31 03:48:16 UTC
Since glibc-c.c has been added, a number of targets are configured to
link with glibc-c.o, yet t-glibc is not in tmake_file - presumably because
there was no need before to use ${tmake_file} - possibly even a reason not
to use it - in the tmake_file setting for the affected targets in config.gcc.
Comment 1 Mans Rullgard 2013-04-16 10:15:55 UTC
This fixes this problem (still fails building libgcc) for bfin-uclibc:

--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -966,7 +966,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"
+       tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc"
        use_collect2=no
        ;;
 bfin*-rtems*)
Comment 2 Bernhard Reutner-Fischer 2015-04-22 08:26:11 UTC
Author: aldot
Date: Wed Apr 22 08:25:40 2015
New Revision: 222313

URL: https://gcc.gnu.org/viewcvs?rev=222313&root=gcc&view=rev
Log:
PR target/55144

building all-gcc for bfin-linux-uclibc resulted 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


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
Comment 3 Bernhard Reutner-Fischer 2015-04-22 08:48:25 UTC
Fixed on the trunk.
Comment 4 Mike Frysinger 2016-01-02 14:12:23 UTC
previous commit should address this