Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ARM] gcc 4.5.3-r2 compilation error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 706
Location: Billings, MT, USA

PostPosted: Mon Jan 02, 2012 2:01 am    Post subject: [ARM] gcc 4.5.3-r2 compilation error Reply with quote

Well, I decided to put Gentoo on my WM8505. All was going well, until..
Code:
armv5tel-softfloat-linux-gnueabi-gcc      -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -Wl,-O1 -Wl,--as-needed gcov-dump.o version.o errors.o \
        ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -o gcov-dump
armv5tel-softfloat-linux-gnueabi-gcc      -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -Wl,-O1 -Wl,--as-needed -o Tcollect2 \
        collect2.o collect2-aix.o tlink.o intl.o version.o ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
mv -f Tcollect2 collect2
armv5tel-softfloat-linux-gnueabi-gcc      -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -Wl,-O1 -Wl,--as-needed -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  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -lmpc -lmpfr -lgmp  -rdynamic -ldl  -lz
attribs.o: In function `decl_attributes':
attribs.c:(.text+0x1a2): relocation truncated to fit: R_ARM_THM_CALL against symbol `lookup_attribute_spec' defined in .glue_7 section in linker stubs
attribs.c:(.text+0x5f8): relocation truncated to fit: R_ARM_THM_CALL against symbol `get_identifier_with_length' defined in .glue_7 section in linker stubs
attribs.c:(.text+0x610): relocation truncated to fit: R_ARM_THM_CALL against symbol `get_identifier_with_length' defined in .glue_7 section in linker stubs
c-lex.o: In function `lex_string':
c-lex.c:(.text+0xb0): relocation truncated to fit: R_ARM_THM_CALL against symbol `cpp_get_token' defined in .glue_7 section in linker stubs
c-lex.o: In function `cb_ident':
c-lex.c:(.text+0x3a0): relocation truncated to fit: R_ARM_THM_CALL against symbol `cpp_interpret_string' defined in .glue_7 section in linker stubs
c-lex.o: In function `cb_def_pragma':
c-lex.c:(.text+0x468): relocation truncated to fit: R_ARM_THM_CALL against symbol `cpp_get_token' defined in .glue_7 section in linker stubs
c-lex.c:(.text+0x476): relocation truncated to fit: R_ARM_THM_CALL against symbol `cpp_token_as_text' defined in .glue_7 section in linker stubs
c-lex.c:(.text+0x47e): relocation truncated to fit: R_ARM_THM_CALL against symbol `cpp_get_token' defined in .glue_7 section in linker stubs
c-lex.c:(.text+0x496): relocation truncated to fit: R_ARM_THM_CALL against symbol `warning_at' defined in .glue_7 section in linker stubs
c-lex.c:(.text+0x4a4): relocation truncated to fit: R_ARM_THM_CALL against symbol `cpp_token_as_text' defined in .glue_7 section in linker stubs
c-lex.o: In function `interpret_float':
c-lex.c:(.text+0x706): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
make: *** [bootstrap-lean] Error 2
emake failed

Not sure what the heck is going on, so I decided to paste it here. Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum