This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/38523] New: arm build fails to link cc1-dummy


At trunk rev 142742 on debian arm-linux-gnueabi bootstrap fails at the end of
stage1 with:

../trunk/configure --prefix=/n/50/guerby/install-trunk --enable-languages=c
--enable-__cxa_atexit --disable-nls --enable-threads=posix
--with-mpfr=/opt/cfarm/mpfr-2.3.2
make bootstrap 
...
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -o
cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o
c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o
c-parser.o arm-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
dummy-checksum.o \
          main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -L/opt/cfarm/mpfr-2.3.2/lib -lmpfr -lgmp  
attribs.o: In function `init_attributes':
/home/guerby/build/gcc/../../trunk/gcc/attribs.c:182: relocation truncated to
fit: R_ARM_CALL against symbol `htab_create' defined in .text section in
../libiberty/libiberty.a(hashtab.o)
/home/guerby/build/gcc/../../trunk/gcc/attribs.c:191: relocation truncated to
fit: R_ARM_CALL against symbol `htab_find_slot_with_hash' defined in .text
section in ../libiberty/libiberty.a(hashtab.o)
attribs.o: In function `lookup_attribute_spec':
/home/guerby/build/gcc/../../trunk/gcc/attribs.c:210: relocation truncated to
fit: R_ARM_CALL against symbol `htab_find_with_hash' defined in .text section
in ../libiberty/libiberty.a(hashtab.o)
c-lex.o: In function `init_c_lex':
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:81: relocation truncated to fit:
R_ARM_CALL against symbol `get_run_time' defined in .text section in
../libiberty/libiberty.a(getruntime.o)
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:85: relocation truncated to fit:
R_ARM_CALL against symbol `cpp_get_callbacks' defined in .text section in
../libcpp/libcpp.a(directives.o)
c-lex.o: In function `get_fileinfo':
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:110: relocation truncated to
fit: R_ARM_CALL against symbol `splay_tree_new' defined in .text section in
../libiberty/libiberty.a(splay-tree.o)
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:114: relocation truncated to
fit: R_ARM_CALL against symbol `splay_tree_lookup' defined in .text section in
../libiberty/libiberty.a(splay-tree.o)
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:118: relocation truncated to
fit: R_ARM_CALL against symbol `xmalloc' defined in .text section in
../libiberty/libiberty.a(xmalloc.o)
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:122: relocation truncated to
fit: R_ARM_CALL against symbol `splay_tree_insert' defined in .text section in
../libiberty/libiberty.a(splay-tree.o)
c-lex.o: In function `update_header_times':
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:134: relocation truncated to
fit: R_ARM_CALL against symbol `get_run_time' defined in .text section in
../libiberty/libiberty.a(getruntime.o)
c-lex.o: In function `dump_time_statistics':
/home/guerby/build/gcc/../../trunk/gcc/c-lex.c:154: additional relocation
overflows omitted from the output
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/home/guerby/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build'
make: *** [bootstrap] Error 2

Any idea on what to try?

Some debian build are successful, eg:

http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg00520.html

But I don't know what configure/patch are critical for building on this
platform.


-- 
           Summary: arm build fails to link cc1-dummy
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: arm-linux-gnueabi
  GCC host triplet: arm-linux-gnueabi
GCC target triplet: arm-linux-gnueabi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]