public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12019] New: check for working C compiler on newlib targets fails due to missing crt0.o
@ 2003-08-21 19:36 dhazeghi at yahoo dot com
2003-08-23 17:17 ` [Bug bootstrap/12019] " pinskia at gcc dot gnu dot org
2003-12-26 19:57 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-21 19:36 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12019
Summary: check for working C compiler on newlib targets fails due
to missing crt0.o
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dhazeghi at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: d30v, fr30-elf
Using gcc mainline to build for some (most?) newlib targets fails when building libstdc++ due to:
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [configure-target-libstdc++-v3] Error 1
Looking at config.log, we see:
configure:2352: /home/dara/mainline/objdir/gcc/xgcc -B/home/dara/mainline/objdir/gcc/ -
nostdinc -B/home/dara/mainline/objdir/d30v/newlib/ -isystem /home/dara/mainline/objdir/
d30v/newlib/targ-include -isystem /home/dara/mainline/combined/newlib/libc/include -B/tmp/
/d30v/bin/ -B/tmp//d30v/lib/ -isystem /tmp//d30v/include -isystem /tmp//d30v/sys-include -
L/home/dara/mainline/objdir/ld -g -Os -Wa,-C -g -Os -Wa,-C conftest.c >&5
/home/dara/mainline/objdir/gcc/collect-ld: cannot open crt0.o: No such file or directory
Of course, crt0.o does exist, and has been built. To fix this, all we need to do is add -B$OBJDIR/
$TARGET/libgloss/$TARGET to the above command line, and gcc will find both crt0.o and libsim.a
(which is also needed).
Not sure which autoconf variables need hacking though...
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/12019] check for working C compiler on newlib targets fails due to missing crt0.o
2003-08-21 19:36 [Bug bootstrap/12019] New: check for working C compiler on newlib targets fails due to missing crt0.o dhazeghi at yahoo dot com
@ 2003-08-23 17:17 ` pinskia at gcc dot gnu dot org
2003-12-26 19:57 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 17:17 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12019
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/12019] check for working C compiler on newlib targets fails due to missing crt0.o
2003-08-21 19:36 [Bug bootstrap/12019] New: check for working C compiler on newlib targets fails due to missing crt0.o dhazeghi at yahoo dot com
2003-08-23 17:17 ` [Bug bootstrap/12019] " pinskia at gcc dot gnu dot org
@ 2003-12-26 19:57 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-26 19:38 -------
Removing d30v from the target list as it has been declared obsolete.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|d30v, fr30-elf |fr30-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12019
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-26 19:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-21 19:36 [Bug bootstrap/12019] New: check for working C compiler on newlib targets fails due to missing crt0.o dhazeghi at yahoo dot com
2003-08-23 17:17 ` [Bug bootstrap/12019] " pinskia at gcc dot gnu dot org
2003-12-26 19:57 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).