public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/21162] New: Build failure
@ 2005-04-22 15:13 jdavidb at goreadthebible dot com
  2005-04-22 15:15 ` [Bug bootstrap/21162] " jdavidb at goreadthebible dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: jdavidb at goreadthebible dot com @ 2005-04-22 15:13 UTC (permalink / raw)
  To: gcc-bugs

I get a build failure while building stage2 in a bootstrap-lean on Debian Sarge
for sparc on a Sun Blade 100.

I used the following command:
~/gcc-build$ ../gcc-4.0.0/configure --prefix=/usr/local/gnu/gcc/4.0.0 && make
bootstrap-lean check install

The tail end of the build process is as follows.  I can make a transcript of the
entire process if that will help.

stage1/xgcc -Bstage1/ -B/usr/local/gnu/gcc/4.0.0/sparc64-unknown-linux-gnu/bin/
-c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild
-I../../gcc-4.0.0/gcc -I../../gcc-4.0.0/gcc/build
-I../../gcc-4.0.0/gcc/../include -I../../gcc-4.0.0/gcc/../libcpp/include  \
 -o build/errors.o ../../gcc-4.0.0/gcc/errors.c
stage1/xgcc -Bstage1/ -B/usr/local/gnu/gcc/4.0.0/sparc64-unknown-linux-gnu/bin/
  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genmodes \
 build/genmodes.o build/errors.o
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a
/usr/bin/ld: warning: sparc architecture of input file
`../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)' is
incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file
`../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(xmalloc.o)' is
incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file
`../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(xstrdup.o)' is
incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file
`../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(xexit.o)' is
incompatible with sparc:v9 output
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x3b0):
In function `find_empty_slot_for_expand':
../../../gcc-4.0.0/libiberty/hashtab.c:256: undefined reference to `__muldi3'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x3cc):../../../gcc-4.0.0/libiberty/hashtab.c:261:
undefined reference to `.umul'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x40c):../../../gcc-4.0.0/libiberty/hashtab.c:256:
undefined reference to `__muldi3'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x42c):../../../gcc-4.0.0/libiberty/hashtab.c:261:
undefined reference to `.umul'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x624):
In function `htab_find_with_hash':
../../../gcc-4.0.0/libiberty/hashtab.c:256: undefined reference to `__muldi3'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x640):../../../gcc-4.0.0/libiberty/hashtab.c:261:
undefined reference to `.umul'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x6bc):../../../gcc-4.0.0/libiberty/hashtab.c:256:
undefined reference to `__muldi3'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x6dc):../../../gcc-4.0.0/libiberty/hashtab.c:261:
undefined reference to `.umul'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x7b4):
In function `htab_find_slot_with_hash':
../../../gcc-4.0.0/libiberty/hashtab.c:256: undefined reference to `__muldi3'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x7d0):../../../gcc-4.0.0/libiberty/hashtab.c:261:
undefined reference to `.umul'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x854):../../../gcc-4.0.0/libiberty/hashtab.c:256:
undefined reference to `__muldi3'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(hashtab.o)(.text+0x874):../../../gcc-4.0.0/libiberty/hashtab.c:261:
undefined reference to `.umul'
../build-sparc64-unknown-linux-gnu/libiberty/libiberty.a(xmalloc.o)(.text+0x124):
In function `xcalloc':
../../../gcc-4.0.0/libiberty/xmalloc.c:161: undefined reference to `.umul'
collect2: ld returned 1 exit status
make[2]: *** [build/genmodes] Error 1
make[2]: Leaving directory `/home/gnu/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/gnu/gcc-build/gcc'
make: *** [bootstrap-lean] Error 2

I was previously getting a similar error when trying to build gcc 3.4.3 in the
same environment.

I've got GNU as version 2.15, GNU ld version 2.15 (I presume this is all the
same version number for binutils).  Will provide additional info upon request.

-- 
           Summary: Build failure
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jdavidb at goreadthebible dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc64-unknown-linux-gnu
  GCC host triplet: sparc64-unknown-linux-gnu
GCC target triplet: sparc64-unknown-linux-gnu


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


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

end of thread, other threads:[~2005-04-22 18:27 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-22 15:13 [Bug bootstrap/21162] New: Build failure jdavidb at goreadthebible dot com
2005-04-22 15:15 ` [Bug bootstrap/21162] " jdavidb at goreadthebible dot com
2005-04-22 15:56 ` pinskia at gcc dot gnu dot org
2005-04-22 16:01 ` jdavidb at goreadthebible dot com
2005-04-22 17:02 ` jdavidb at goreadthebible dot com
2005-04-22 17:24 ` pinskia at gcc dot gnu dot org
2005-04-22 17:38 ` ebotcazou at gcc dot gnu dot org
2005-04-22 17:42 ` ebotcazou at gcc dot gnu dot org
2005-04-22 17:50 ` jdavidb at goreadthebible dot com
2005-04-22 18:09 ` davem at gcc dot gnu dot org
2005-04-22 18:13 ` jdavidb at goreadthebible dot com
2005-04-22 18:15 ` jdavidb at goreadthebible dot com
2005-04-22 18:21 ` davem at gcc dot gnu dot org
2005-04-22 18:25 ` jdavidb at goreadthebible dot com
2005-04-22 18:27 ` davem 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).