[bug-notifications] [gcc4g++ 0003713]: g++ is not compatible with libmpfr

Mantis Bug Tracker noreply at opencsw.org
Fri Jun 19 00:17:04 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3713 
====================================================================== 
Reported By:                scottcurtis
Assigned To:                mwatters
====================================================================== 
Project:                    gcc4g++
Issue ID:                   3713
Category:                   upgrade
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2009-06-12 18:01 CEST
Last Modified:              2009-06-19 00:17 CEST
====================================================================== 
Summary:                    g++ is not compatible with libmpfr
Description: 
I did an upgrade to the "current" release to get the latest g++. When
compiling a function which requires g++ to load libmpfr, the compiler fails
with the message "undefined reference to __gmp_get_memory_functions". I
built and installed libmpfr version 2.4.1 and this corrected the problem.
====================================================================== 

---------------------------------------------------------------------- 
 (0006330) mwatters (manager) - 2009-06-19 00:17
 http://www.opencsw.org/mantis/view.php?id=3713#c6330 
---------------------------------------------------------------------- 
ok, using the sample program you gave me I cannot reproduce:

$ g++ m.cpp
$ ./a.out

I get no error

I tried on solaris 8 sparc, and 10 sparc and 10 x86

Here is the pertinent software I am using.

all the systems have the same revision of CSW software
$ pkg-get -c libgmp libmpfr
# (From site http://mirror/opencsw/current )
       software                        localrev                     
remoterev
         libgmp            4.2.2,REV=2007.12.08                          
SAME
        libmpfr            2.3.1,REV=2008.01.29                          
SAME

$ pkg-get -c |grep gcc4         
        gcc4ada            4.3.3,REV=2009.05.07                          
SAME
      gcc4adart            4.3.3,REV=2009.05.07                          
SAME
       gcc4core            4.3.3,REV=2009.05.07                          
SAME
     gcc4corert            4.3.3,REV=2009.05.07                          
SAME
        gcc4g++            4.3.3,REV=2009.05.07                          
SAME
      gcc4g++rt            4.3.3,REV=2009.05.07                          
SAME
   gcc4gfortran            4.3.3,REV=2009.05.07                          
SAME
 gcc4gfortranrt            4.3.3,REV=2009.05.07                          
SAME
       gcc4objc            4.3.3,REV=2009.05.07                          
SAME
     gcc4objcrt            4.3.3,REV=2009.05.07                          
SAME

what version of libgmp are you running? is there any other info you can
supply?




More information about the bug-notifications mailing list