public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/48357] New: gcc compiling problem (mpfr)
@ 2011-03-30  9:00 Hast4656 at gmail dot com
  2011-04-01 21:18 ` [Bug other/48357] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: Hast4656 at gmail dot com @ 2011-03-30  9:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48357

           Summary: gcc compiling problem (mpfr)
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Hast4656@gmail.com


Hey. I'm trying to make gcc 4.4.5 on my ContOS 5.5.
I've got a gmp 4.3.2 and a mpfr 2.4.2 just installed.
configuring of gcc is going normal, bug make command returns the error below:

libbackend.a(builtins.o): In function `fold_builtin_1':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10304:
undefined reference to `mpfr_j0'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10310:
undefined reference to `mpfr_j1'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10316:
undefined reference to `mpfr_y0'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10322:
undefined reference to `mpfr_y1'
libbackend.a(builtins.o): In function `fold_builtin_2':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10443:
undefined reference to `mpfr_jn'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10449:
undefined reference to `mpfr_yn'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10457:
undefined reference to `mpfr_remainder'
libbackend.a(builtins.o): In function `do_mpfr_remquo':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:13357:
undefined reference to `mpfr_remquo'
libbackend.a(builtins.o): In function `do_mpfr_lgamma_r':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:13435:
undefined reference to `mpfr_lgamma'
collect2: ld returned 1 exit status

How can I fix this?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/48357] gcc compiling problem (mpfr)
  2011-03-30  9:00 [Bug other/48357] New: gcc compiling problem (mpfr) Hast4656 at gmail dot com
@ 2011-04-01 21:18 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-01 21:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48357

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-01 21:17:51 UTC ---
>a mpfr 2.4.2 just installed.

Do you have a different version installed in /usr/lib ?  I think you need to
check the versions you have installed.

Anyways this works for me and many other people so closing as such.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-01 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-30  9:00 [Bug other/48357] New: gcc compiling problem (mpfr) Hast4656 at gmail dot com
2011-04-01 21:18 ` [Bug other/48357] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).