public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/32154]  New: sim-crt0.o isn't found during configure due to missing -L or -B
@ 2007-05-30 13:19 rask at sygehus dot dk
  2007-05-31 10:02 ` [Bug other/32154] sim-crt0.o/crt0.o " rask at sygehus dot dk
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: rask at sygehus dot dk @ 2007-05-30 13:19 UTC (permalink / raw)
  To: gcc-bugs

I configured GCC like this:

/n/08/rask/src/gcc/configure --target=powerpc-unknown-eabisim --disable-nls
--with-newlib --enable-sim --disable-shared --enable-languages=c,c++,objc

When make runs configure in the target subdirectories, sim-crt0.o from libgloss
isn't found:

configure:2362: checking for C compiler version
[...]
configure:2397: /home/rask/build/gcc-powerpc-unknown-eabisim/./gcc/xgcc
-B/home/rask/build/gcc-powerpc-unknown-eabisim/./gcc/ -nostdinc
-B/home/rask/build/gcc-powerpc-unknown-eabisim/powerpc-unknown-eabisim/newlib/
-isystem
/home/rask/build/gcc-powerpc-unknown-eabisim/powerpc-unknown-eabisim/newlib/targ-include
-isystem /n/08/rask/src/gcc/newlib/libc/include
-B/usr/local/powerpc-unknown-eabisim/bin/
-B/usr/local/powerpc-unknown-eabisim/lib/ -isystem
/usr/local/powerpc-unknown-eabisim/include -isystem
/usr/local/powerpc-unknown-eabisim/sys-include
-L/home/rask/build/gcc-powerpc-unknown-eabisim/./ld -o conftest -O2 -g -O2   
conftest.c  >&5
/home/rask/build/gcc-powerpc-unknown-eabisim/gcc/../ld/ld-new: sim-crt0.o: No
such file: No such file or directory
collect2: ld returned 1 exit status
configure:2400: $? = 1

I see this in several target subdirs' config.log:
boehm-gc/config.log
libgcc/config.log
libiberty/config.log
libssp/config.log
libstdc++-v3/config.log

The cause of the problem is that the necessary -L or -B option pointing to the
libgloss/rs6000 directory is missing. The result is that link tests fail.


-- 
           Summary: sim-crt0.o isn't found during configure due to missing -
                    L or -B
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rask at sygehus dot dk
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-eabisim


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32154


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-09-10 14:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-30 13:19 [Bug other/32154] New: sim-crt0.o isn't found during configure due to missing -L or -B rask at sygehus dot dk
2007-05-31 10:02 ` [Bug other/32154] sim-crt0.o/crt0.o " rask at sygehus dot dk
2007-05-31 21:01 ` rask at sygehus dot dk
2007-05-31 21:09 ` dj at redhat dot com
2007-05-31 22:37 ` rask at sygehus dot dk
2007-06-01  1:09 ` dj at redhat dot com
2007-06-01 19:56 ` rask at sygehus dot dk
2007-06-08 17:35 ` rask at sygehus dot dk
2007-06-11 22:05 ` rask at sygehus dot dk
2007-06-15 14:24 ` rask at sygehus dot dk
2007-06-20 11:13 ` bonzini at gnu dot org
2007-09-10  2:43 ` patchapp at dberlin dot org
2007-09-10 14:20 ` rask at gcc dot gnu dot org
2007-09-10 14:28 ` rask 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).