https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
Bug ID: 61577 Summary: [4.9.0] can't compile on hp-ux v3 ia64 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: FBergemann at web dot de Target: HP-UX v3 ia64 I cannot compile gcc-4.9.0 on a hp-ux B.11.31 (v3) ia64 machine. I used following component: > ls -tlr total 40 drwxr-xr-x 18 frank os_int 8192 Jun 17 09:40 binutils-2.24 drwxr-xr-x 16 frank os_int 8192 Jun 17 15:31 gmp-6.0.0 drwxr-xr-x 10 frank os_int 8192 Jun 17 15:34 mpfr-3.1.2 drwxr-xr-x 7 frank os_int 8192 Jun 17 15:35 mpc-1.0.2 drwxr-xr-x 35 frank os_int 8192 Jun 21 09:31 gcc-4.9.0 +) binutis had been compiled separately first into a /gs/frank/hp-ux/gcc-4.9.0/ dir) +) gmp, mpfr and mpc source directories had been linked below gcc directory. +) $PATH had been set to select /usr/local/gcc-4.7.2 for compilation (compiler provided by HP) +) compilation is for 32bit +) ../configure --prefix=/gs/frank/hp-ux/gcc-4.9.0 --enable-languages=c,c++ --with-gnu-as --with-as=/gs/frank/hp-ux/gcc-4.9.0/bin/as --without-gnu-ld --disable-nls --disable-shared > cat configure.out.fbe checking build system type... ia64-hp-hpux11.31 checking host system type... ia64-hp-hpux11.31 checking target system type... ia64-hp-hpux11.31 checking for a BSD-compatible install... /usr/local/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/local/bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libcilkrts support... no checking for libitm support... no checking for libsanitizer support... no checking for libvtv support... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for version 0.10 of ISL... no checking for version 0.11 of ISL... no checking for version 0.12 of ISL... no *** This configuration is not supported in the following subdirectories: target-libcilkrts target-libitm target-libsanitizer target-libvtv gnattools target-libada target-libgfortran target-libgo target-libffi target-libbacktrace target-zlib target-libjava target-libobjc target-boehm-gc (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for --enable-vtable-verify... no checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... expect checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... no checking for ld... (cached) /usr/ccs/bin/ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for readelf... readelf checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gcj... no checking for gfortran... no checking for gccgo... no checking for ar... /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin/ar checking for as... /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin/as checking for dlltool... no checking for dlltool... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... no checking for nm... /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin/nm checking for objdump... /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin/objdump checking for ranlib... /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin/ranlib checking for readelf... no checking for readelf... readelf checking for strip... /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin/strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... pre-installed in /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin checking where to find the target as... pre-installed in /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... host tool checking where to find the target gcc... just compiled checking where to find the target gcj... host tool checking where to find the target gfortran... host tool checking where to find the target gccgo... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... pre-installed in /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin checking where to find the target objdump... pre-installed in /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin checking where to find the target ranlib... pre-installed in /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin checking where to find the target readelf... host tool checking where to find the target strip... pre-installed in /gs/frank/hp-ux/gcc-4.9.0/ia64-hp-hpux11.31/bin checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile ERROR: make[3]: Entering directory `/tmp/FBE/gcc-4.9.0/obj/gcc' g++ -DUSE_LIBUNWIND_EXCEPTIONS -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -lunwind -o cc1plus \ cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o ia64-c.o default-c.o cc1plus-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/tmp/FBE/gcc-4.9.0/obj/./gmp/.libs -L/tmp/FBE/gcc-4.9.0/obj/./mpfr/src/.libs -L/tmp/FBE/gcc-4.9.0/obj/./mpc/src/.libs -lmpc -lmpfr -lgmp -L../zlib -lz ld: The value 0xfffffffffdf68820 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 74 of file libbackend.a[function.o] ld: The value 0xfffffffffdee13b0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 79 of file libbackend.a[function.o] ld: The value 0xfffffffffdfd2f10 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 60 of file libbackend.a[gimple.o] ld: The value 0xfffffffffdf4bab0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 65 of file libbackend.a[gimple.o] ld: The value 0xfffffffffde42460 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 207 of file libbackend.a[gimple.o] ld: The value 0xfffffffffde40a60 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 212 of file libbackend.a[gimple.o] ld: The value 0xfffffffffdffdbe0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 54 of file libbackend.a[gimple-expr.o] ld: The value 0xfffffffffdf767a0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 59 of file libbackend.a[gimple-expr.o] ld: The value 0xfffffffffde79210 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 21 of file libbackend.a[gimple-iterator.o] ld: The value 0xfffffffffde77cc0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 26 of file libbackend.a[gimple-iterator.o] ld: The value 0xfffffffffdf8b270 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 85 of file libbackend.a[gimple-fold.o] ld: The value 0xfffffffffde82160 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 106 of file libbackend.a[gimple-fold.o] ld: The value 0xfffffffffde807c0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 111 of file libbackend.a[gimple-fold.o] ld: The value 0xfffffffffdeb9900 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x22 in section index 172 of file libbackend.a[gimple-pretty-print.o] ld: The value 0xfffffffffdfe2cd0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0xc2 in section index 91 of file libbackend.a[ipa-inline-analysis.o] ld: The value 0xfffffffffdfdd7c0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x172 in section index 96 of file libbackend.a[ipa-inline-analysis.o] ld: The value 0xfffffffffdfdcf90 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x842 in section index 96 of file libbackend.a[ipa-inline-analysis.o] ld: The value 0xfffffffffdfdcef0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x8e2 in section index 96 of file libbackend.a[ipa-inline-analysis.o] ld: The value 0xfffffffffdfdcce0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0xaf2 in section index 96 of file libbackend.a[ipa-inline-analysis.o] ld: The value 0xfffffffffdfd6b60 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x62 in section index 20 of file libbackend.a[ira-color.o] 20 errors. collect2: error: ld returned 1 exit status make[3]: *** [cc1plus] Error 1 make[3]: Leaving directory `/tmp/FBE/gcc-4.9.0/obj/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/tmp/FBE/gcc-4.9.0/obj' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/tmp/FBE/gcc-4.9.0/obj' make: *** [all] Error 2