public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/39317]  New: [lto] - cannot compute suffix of object files - cannot represent relocation type BFD_RELOC_64
@ 2009-02-27  0:30 rob1weld at aol dot com
  2009-02-27  0:33 ` [Bug lto/39317] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rob1weld at aol dot com @ 2009-02-27  0:30 UTC (permalink / raw)
  To: gcc-bugs

# uname -a
Linux debian 2.6.26-1-amd64 #1 SMP Sat Jan 10 19:55:48 UTC 2009 x86_64
GNU/Linux


# gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=gcc/xgcc
Target: x86_64-unknown-linux-gnu
Configured with: ../lto_trunk/configure --prefix=/usr/local/lto
--enable-languages=lto,c++ --enable-multilib --enable-stage1-checking=all
--enable-checking=release CPPFLAGS=-I/usr/local/include
Thread model: posix
gcc version 4.4.0 20090218 (experimental) [lto revision 144454] (lto merged
with rev 144262) 


# make
...
make[3]: Leaving directory `/usr/src/lto_build/lto-plugin'
mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /usr/src/lto_build/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /usr/src/lto_build/./gcc/xgcc
-B/usr/src/lto_build/./gcc/ -B/usr/local/lto/x86_64-unknown-linux-gnu/bin/
-B/usr/local/lto/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/lto/x86_64-unknown-linux-gnu/include -isystem
/usr/local/lto/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/usr/src/lto_build/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/usr/src/lto_build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/src/lto_build'
make: *** [all] Error 2


The "config.log" says:
...
xgcc: '-V' must come at the start of the command line
configure:2396: $? = 1
configure:2415: /usr/src/lto_build/./gcc/xgcc -B/usr/src/lto_build/./gcc/
-B/usr/local/lto/x86_64-unknown-linux-gnu/bin/
-B/usr/local/lto/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/lto/x86_64-unknown-linux-gnu/include -isystem
/usr/local/lto/x86_64-unknown-linux-gnu/sys-include -o conftest -g -O2    
conftest.c  >&5
/tmp/ccEBgRfq.s: Assembler messages:
/tmp/ccEBgRfq.s:35: Error: cannot represent relocation type BFD_RELOC_64
/tmp/ccEBgRfq.s:36: Error: cannot represent relocation type BFD_RELOC_64
/tmp/ccEBgRfq.s:44: Error: cannot represent relocation type BFD_RELOC_64
/tmp/ccEBgRfq.s:45: Error: cannot represent relocation type BFD_RELOC_64
/tmp/ccEBgRfq.s:123: Error: cannot represent relocation type BFD_RELOC_64
configure:2418: $? = 1
configure:2590: checking for suffix of object files
...


This is similar to the problem described in these Bug Reports:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38743
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38804

Andrew has some input on fixing these type of problems, here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38804#c4 (and c5)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38743#c2


Thanks,
Rob


-- 
           Summary: [lto] - cannot compute suffix of object files - cannot
                    represent relocation type BFD_RELOC_64
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2009-07-09  5:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-27  0:30 [Bug lto/39317] New: [lto] - cannot compute suffix of object files - cannot represent relocation type BFD_RELOC_64 rob1weld at aol dot com
2009-02-27  0:33 ` [Bug lto/39317] " pinskia at gcc dot gnu dot org
2009-02-27  0:34 ` pinskia at gcc dot gnu dot org
2009-02-27  1:30 ` rob1weld at aol dot com
2009-02-27  6:09 ` rob1weld at aol dot com
2009-02-28  3:53 ` rob1weld at aol dot com
2009-02-28 17:34 ` rob1weld at aol dot com
2009-03-02  3:19 ` rob1weld at aol dot com
2009-03-05 22:59 ` rob1weld at aol dot com
2009-03-06 11:08 ` rob1weld at aol dot com
2009-07-09  5:52 ` bje 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).