building GMP on Solaris 10 x86

Tom Chien tom.chien0 at gmail.com
Tue Sep 9 03:10:40 UTC 2014


forgot to give you this info

# file libgmp.so.10.2.0
libgmp.so.10.2.0:       ELF 64-bit LSB dynamic lib AMD64 Version 1,
dynamically linked, not stripped, no debugging information available
# file libgmp.a
libgmp.a:       current ar archive, 32-bit symbol table
# pwd
/opt/gmp/lib

64-bit shared library and 32-bit static library

On Mon, Sep 8, 2014 at 11:06 PM, Tom Chien <tom.chien0 at gmail.com> wrote:

> Torb/Will, thanks for the link, here's detail
>
> 1) the version i'm trying to build is 6.0.0a
> 2&3) i don't have a sample program to use GMP, in fact the reason i'm
> building GMP is because it is a pre-requisite for many other software such
> as GCC itself, the problem i'm having is that when built, the shared
> library is 64-bit  and at the same time the static library are 32-bit, the
> GMP build itself i believe is sucessful, it's the fact that when building
> other software that use the GMP installation i built produces errors such
> as "wrong elfclass" makes me think i didn;t built GMP correctly
> 4&5) none
> 6) configure --prefix=/opt/gmp
> 7) i have attached the output, the attachment file name is "configure.log"
> 8)
> # gcc -v
> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
> Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
> --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
> --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
> --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> 9)
> SunOS <hostname> 5.10 Genric_150401-01 i86pc i386 i86pc
> 10)
> # ./config.guess
> coreisbr-pc-solaris2.10
> # ./configfsf.guess
> i386-pc-solaris2.10
> 11) gzip'ed config.log is attached as well, though i don't know if the
> issue i'm having is related to configure or not
> 12) none
>
> Thanks very much!
>
>
> On Fri, Sep 5, 2014 at 8:13 AM, Will Galway <galway at math.uiuc.edu> wrote:
>
>> Please refer to the "Reporting Bugs" section of the GMP manual
>>   https://gmplib.org/manual/Reporting-Bugs.html#Reporting-Bugs
>>
>> There you'll find a description of what information you should provide.
>>
>> -- Regards, Will
>>
>>
>> On 2014-09-04 20:38, Tom Chien wrote:
>>
>>> Could you let me know what information i should provide? maybe it's
>>> something about my environment that myself didn't even know to be
>>> relevant...what i listed is literarily all i did.
>>>
>>>
>>> On Thu, Sep 4, 2014 at 4:03 PM, Torbjörn Granlund <tg at gmplib.org> wrote:
>>>
>>>  Tom Chien <tom.chien0 at gmail.com> writes:
>>>>
>>>>    i didn't do anything special, just
>>>>
>>>>    1) set path to include gcc and make, "/usr/sfw/bin" and
>>>> "/usr/ccs/bin"
>>>>    respectively
>>>>    2) configure --prefix=/opt/gcc
>>>>    3) make && make check && make install
>>>>
>>>> Something is special, or your conclusion aout library bittyness is
>>>> incorrect, since usually people get successful builds.
>>>>
>>>> But you still don't provide adequate information for even making a wild
>>>> guess about what the problem might be.
>>>>
>>>> I repeat: Send us the information we ask for.  We don't ask for it on a
>>>> whim.
>>>>
>>>>
>>>> Torbjörn
>>>> Please encrypt, key id 0xC8601622
>>>>
>>>>  _______________________________________________
>>> gmp-discuss mailing list
>>> gmp-discuss at gmplib.org
>>> https://gmplib.org/mailman/listinfo/gmp-discuss
>>>
>>
>>
>


More information about the gmp-discuss mailing list