[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Joseph John changed: What|Removed |Added CC||josephpattara at gmail dot com --- Comment #3 from Joseph John --- I am trying to compile GCC 4.9.2 on HP-UX 11.31 and am precisely getting the same LD error. Do we have any update or toot cause on this issue?
[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #4 from Joseph John --- I tried with source build for 4.9.2 and 4.9.3 but both of them resulted in same ld relocation error.
[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319 Joseph John changed: What|Removed |Added CC||josephpattara at gmail dot com --- Comment #9 from Joseph John --- Hi, I am hitting the same error on the below platform. B.11.31 U ia64 rx2800 g++ -c -DUSE_LIBUNWIND_EXCEPTIONS -g -DIN_GCC-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-5.2.0/gcc -I../../gcc-5.2.0/gcc/. -I../../gcc-5.2.0/gcc/../include -I../../gcc-5.2.0/gcc/../libcpp/include -I/home/jjohn/hpux/gcc_520/gcc_build/./gmp -I/home/jjohn/hpux/gcc_520/gcc-5.2.0/gmp -I/home/jjohn/hpux/gcc_520/gcc_build/./mpfr/src -I/home/jjohn/hpux/gcc_520/gcc-5.2.0/mpfr/src -I/home/jjohn/hpux/gcc_520/gcc-5.2.0/mpc/src -I../../gcc-5.2.0/gcc/../libdecnumber -I../../gcc-5.2.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-5.2.0/gcc/../libbacktrace -I/home/jjohn/hpux/gcc_520/gcc_build/./isl/include -I/home/jjohn/hpux/gcc_520/gcc-5.2.0/isl/include -o gcov-tool.o -MT gcov-tool.o -MMD -MP -MF ./.deps/gcov-tool.TPo ../../gcc-5.2.0/gcc/gcov-tool.c ../../gcc-5.2.0/gcc/gcov-tool.c: In function 'int unlink_profile_dir(const char*)': ../../gcc-5.2.0/gcc/gcov-tool.c:84: error: invalid conversion from 'int (*)(const char*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)' Makefile:1065: recipe for target 'gcov-tool.o' failed make[3]: *** [gcov-tool.o] Error 1 make[3]: Leaving directory '/home/jjohn/hpux/gcc_520/gcc_build/gcc' Is there a similar fix also for the ia64 platform?
[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #5 from Joseph John --- I am still struggling to compiler any version giver than GCC 4.9.0 on ia64 platform still but as far as this issue is concerned I was able to get pass the LD abort when I used the below options for configure: CC="gcc -mlp64" CXX="g++ -mlp64" With this option I was able to pass the linker abort just after the libbackend.a creation but I run into a segmentation error which I believe is the documented issue at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919
[Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919 Joseph John changed: What|Removed |Added CC||josephpattara at gmail dot com --- Comment #11 from Joseph John --- I tried to use the work around suggested by John but was not succesful in making the 4.9.2 compilation. I applied the patch to the 4.7.4 and made a succesful build of 4.7.4. I then installed the 4.7.4 and used to compile 4.9.2 which run into the below error: home/jjohn/hpux/gcc_492/gcc-build/./gcc/xgcc -shared-libgcc -B/home/jjohn/hpux/gcc_492/gcc-build/./gcc -nostdinc++ -L/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/src -L/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/src/.libs -L/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/libsupc++/.libs -B/opt/gcc_492/ia64-hp-hpux11.31/bin/ -B/opt/gcc_492/ia64-hp-hpux11.31/lib/ -isystem /opt/gcc_492/ia64-hp-hpux11.31/include -isystem /opt/gcc_492/ia64-hp-hpux11.31/sys-include-x c++-header -nostdinc++ -g -O2 -I/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/ia64-hp-hpux11.31 -I/home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include -I/home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h -o ia64-hp-hpux11.31/bits/stdc++.h.gch/O2ggnu++0x.gch In file included from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/move.h:57:0, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/stl_pair.h:59, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/stl_algobase.h:64, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/char_traits.h:39, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/ios:40, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/istream:38, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/sstream:38, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/complex:45, from /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/ccomplex:38, from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:52: /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:395:44: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:399:45: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:407:47: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:411:48: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:419:50: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:423:51: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:431:53: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:435:54: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:443:53: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:447:54: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:455:56: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:459:57: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:467:59: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:471:60: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:479:62: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:483:63: error: template argument 1 is invalid In file included from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:103:0: /home/jjohn/hpux/gcc_492/gcc-build/ia64-hp-hpux11.31/libstdc++-v3/include/future:1509:5: error: looser throw specifier for 'vi
[Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919 --- Comment #13 from Joseph John --- Yes. i also tried without the mlp64 option both for building the 4.7.4 and also for building the 4.9.2 using the 4.7.4 but again I have the same issue. Means. * 4.7.4 build is successful. * 4.9.2 build fails at libstdc++-v3 as below. /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:471:60: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:479:62: error: template argument 1 is invalid /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/type_traits:483:63: error: template argument 1 is invalid In file included from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:103:0: /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/future:1509:5: error: looser throw specifier for 'virtual std::__future_base::_Async_state_commonV2::~_Async_state_commonV2()' /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/future:316:15: error: overriding 'virtual std::__future_base::_State_baseV2::~_State_baseV2() noexcept (true)' In file included from /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/regex:57:0, from /home/jjohn/hpux/gcc_492/gcc-4.9.2/libstdc++-v3/include/precompiled/stdc++.h:108: /home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include/bits/regex_automaton.h:159:24: error: 'std::__detail::_NFA_base::_NFA_base' names constructor Makefile:1596: recipe for target 'ia64-hp-hpux11.31/bits/stdc++.h.gch/O2ggnu++0x.gch' failed make[5]: *** [ia64-hp-hpux11.31/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1 make[5]: Leaving directory '/home/jjohn/hpux/gcc_492/gcc_build/ia64-hp-hpux11.31/libstdc++-v3/include' The reason I went with using the mpl64 option was with out that option when I was doing a 4.9.2 building using the GCC 4.2.3 which was available by default I was getting the linker issue which is specified in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577. The only way I got get pass the linker errro just after the libbackend.a creation was using the -mlp64 option for 4.9.2 build. Were you successful in making the 4.9.2 build?
[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #6 from Joseph John --- Frank, Any pointers you could give me on this how you solved the first issue coming because of native LD? That could help me a lot. I believe you still compiled with native LD but how did you progress the "relocation PCREL21B" error?
[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #7 from Joseph John --- MY LD version is below: -bash-4.3$ ld -V ld: 92453-07 linker ld HP Itanium(R) B.12.60 IPF/IPF Are you using the same version?
[Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919 --- Comment #15 from Joseph John --- Hi John, What is the LD version you have in the system. MY LD version is below: -bash-4.3$ ld -V ld: 92453-07 linker ld HP Itanium(R) B.12.60 IPF/IPF The reason for my question is if I use default configure and make commands I was originally hitting an issue as below: . ld: The value 0xfdf68820 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 0xfdee13b0 does not fit when applying the relocation PCREL21B for symbol ".text" at offset 0x102 in section index 79 of file libbackend.a[functiono] .. which points to some issue on Native LD.
[Bug bootstrap/64919] bootstrap failure of gcc-4.9.2 on ia64-hpux in libgcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64919 --- Comment #18 from Joseph John --- Alexander, You were also able to build build gcc using almost the latest linker ? My linker is nearly same as yours so I was thinking is it some linker bugs which causes issues for me as I saw some references (although old) as below: http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=pdb_na-PHSS_43584&sp4ts.oid=417289&lang=en-us&cc=us " PHSS_42043: QXCR1001112198: linktime error seen - overflow while applying PCREL21B relocation "