This is the mail archive of the gcc-help@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]

4.2-20060128 build on Itanium


Hi there, 
I have the following error while trying to build on Itanium:

gcc   -DUSE_LIBUNWIND_EXCEPTIONS -g -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes  -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-incpath.o cppdefault.o c-ppoutput.o
c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.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
attribs.o: In function `decl_attributes':
/home/dambra/GNUBUILD/obj-4.2-20060128/gcc/../../gcc-4.2-20060128/gcc/attribs.c:149: relocation truncated to fit: PCREL21B tree_check_failed
/home/dambra/GNUBUILD/obj-4.2-20060128/gcc/../../gcc-4.2-20060128/gcc/attribs.c:150: relocation truncated to fit: PCREL21B tree_check_failed

........... bunch of similar lines ............

/home/dambra/GNUBUILD/obj-4.2-20060128/gcc/../../gcc-4.2-20060128/gcc/attribs.c:310: relocation truncated to fit: PCREL21B build_type_attribute_variant
/home/dambra/GNUBUILD/obj-4.2-20060128/gcc/../../gcc-4.2-20060128/gcc/attribs.c:320: relocation truncated to fit: PCREL21B build_pointer_type
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/home/dambra/GNUBUILD/obj-4.2-20060128/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/dambra/GNUBUILD/obj-4.2-20060128'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/dambra/GNUBUILD/obj-4.2-20060128'
make: *** [bootstrap] Error 2
[dambra@mgt obj-4.2-20060128]$ 
[dambra@mgt obj-4.2-20060128]$ cat /proc/cpuinfo 
processor  : 0
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 5
archrev    : 0
features   : branchlong
cpu number : 0
cpu regs   : 4
cpu MHz    : 1400.000000
itc MHz    : 1400.000000
BogoMIPS   : 2097.15
[dambra@mgt obj-4.2-20060128]$ cat /etc/redhat-release 
Red Hat Linux Advanced Server release 2.1AS (Derry)
[dambra@mgt obj-4.2-20060128]$ gcc -v
Reading specs from /usr/lib/gcc-lib/ia64-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-118.7.2)


>From the GCC installation notes  I suspect that it is not easy/possible
to bootstrap starting from gcc 2.96. Is there any way to force this to
work? 

Thanks 
Salvatore
-- 
Salvatore Filippone -- sfilippone@NOSPAMuniroma2.it


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