Craig Talbert
2010-Jun-04 22:28 UTC
[Xapian-discuss] Xapian 1.2.0 build fails on libxapian.la target - Solaris 9 (SunOS 5.9) sun4u SPARC
Hi all, I've only pasted the last few lines of where the Xapian build fails below (the entire piece is 6639 lines long). I didn't get any warnings regarding zlib or libuuid from configure, so I'm assuming I have compatible versions. I am using libtool 2.2.6b, GNU ld 2.20.2010303. I know gcc 3.3.2 is a little behind the times, but I see the the documentation the minimum requirement is 3.1. I also see James Aylett reported compiling Xapian version 1.0.5 on the Solaris 9 with platform with gcc 3.3. Any ideas? vtable for __cxxabiv1::__vmi_class_type_info0x4 /usr/local/gcc-3.3.2/lib/./libstdc++.a(tinfo.o) vtable for __cxxabiv1::__vmi_class_type_info0xc /usr/local/gcc-3.3.2/lib/./libstdc++.a(tinfo.o) vtable for __cxxabiv1::__vmi_class_type_info0x4 /usr/local/gcc-3.3.2/lib/./libstdc++.a(tinfo.o) vtable for __cxxabiv1::__vmi_class_type_info0xc /usr/local/gcc-3.3.2/lib/./libstdc++.a(tinfo.o) vtable for __cxxabiv1::__vmi_class_type_info0x8 /usr/local/gcc-3.3.2/lib/./libstdc++.a(tinfo.o) vtable for __cxxabiv1::__vmi_class_type_info0xc /usr/local/gcc-3.3.2/lib/./libstdc++.a(tinfo.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(io-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(io-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(istream-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(locale-inst.o) vtable for __cxxabiv1::__vmi_class_type_info0x0 /usr/local/gcc-3.3.2/lib/./libstdc++.a(ostream-inst.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `libxapian.la' Current working directory /tmp/talbert/xapian-core-1.2.0 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/talbert/xapian-core-1.2.0 *** Error code 1 make: Fatal error: Command failed for target `all'
Richard Boulton
2010-Jun-04 23:03 UTC
[Xapian-discuss] Xapian 1.2.0 build fails on libxapian.la target - Solaris 9 (SunOS 5.9) sun4u SPARC
On 4 June 2010 23:28, Craig Talbert <craig.talbert at gmail.com> wrote:> I've only pasted the last few lines of where the Xapian build fails > below (the entire piece is 6639 lines long). I didn't get any warnings > regarding zlib or libuuid from configure, so I'm assuming I have > compatible versions. I am using libtool 2.2.6b, GNU ld 2.20.2010303. I > know gcc 3.3.2 is a little behind the times, but I see the the > documentation the minimum requirement is 3.1. I also see James Aylett > reported compiling Xapian version 1.0.5 on the Solaris 9 with platform > with gcc 3.3. > > Any ideas?I don't think there's any useful information there (thought someone with more experience of Solaris might see something I'm missing). The start of the errors is usually much more useful than the end, but the whole log would be best - just put in in a pastebin somewhere (eg, http://pastebin.com/) and send the link to us. -- Richard
Olly Betts
2010-Jun-07 12:13 UTC
[Xapian-discuss] Xapian 1.2.0 build fails on libxapian.la target - Solaris 9 (SunOS 5.9) sun4u SPARC
On Fri, Jun 04, 2010 at 04:28:55PM -0600, Craig Talbert wrote:> I've only pasted the last few lines of where the Xapian build fails > below (the entire piece is 6639 lines long). I didn't get any warnings > regarding zlib or libuuid from configure, so I'm assuming I have > compatible versions.Solaris has its own libuuid library, which is pretty close to the e2fsprogs one, so we use that (as of 1.1.3 when I added fixes for the missing function and const-ness of parameters).> I am using libtool 2.2.6b, GNU ld 2.20.2010303.If you build from a tarball, then your libtool doesn't get used (unless you force it to be by running libtoolize or autoreconf).> I know gcc 3.3.2 is a little behind the times, but I see the the > documentation the minimum requirement is 3.1. I also see James Aylett > reported compiling Xapian version 1.0.5 on the Solaris 9 with platform > with gcc 3.3.I just tried 1.2.0 on Solaris: $ uname -a SunOS current9s 5.9 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise-T5220 $ g++ --version g++ (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. xapian-core built fine with this (I didn't try anything else as that was where you reported an issue). Your errors don't meant much to me, but I'd suggest trying to build with --disable-shared - older GCC didn't work well with shared builds on Solaris. If that doesn't help, all I can suggest is to upgrade GCC I'm afraid. Cheers, Olly
Seemingly Similar Threads
- Problems compiling xapian-core to run omega, SunOS
- How to call DBLEPR in Fortran code to be used by R
- Problems with 64bit dll compile in R-2.15.0
- How to specify compiler options when using R CMD SHLIB
- SunOS neptune 5.11 snv_127 sun4u sparc SUNW, Sun-Fire-880