public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37627]  New: In function `fold_builtin_1': undefined reference to `mpfr_j0'
@ 2008-09-23 18:32 cfriedt at visible-assets dot com
  2008-09-23 18:33 ` [Bug bootstrap/37627] " cfriedt at visible-assets dot com
  2008-09-23 19:24 ` brian at dessent dot net
  0 siblings, 2 replies; 4+ messages in thread
From: cfriedt at visible-assets dot com @ 2008-09-23 18:32 UTC (permalink / raw)
  To: gcc-bugs

I just finished compiling mpfr-2.3.2 and was moving on to compile gcc-4.3.2,
and i'm consistently getting the attached build error which ends with the
snippet below. The error would suggest that, for example, the symbol / function
mpfr_j0 is not defined in libmpfr, although it is clearly defined globally both
in the static and the shared libraries. 

Where does this bug belong? I'm only submitting it here because it prevents me
from building gcc, but I will gladly submit it to the mpfr people if it's their
issue.

Cheers,

Chris

PS: I will submit the attachment after the bug is filed.
<snip>
libbackend.a(builtins.o): In function `fold_builtin_1':
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:9973:
undefined reference to `mpfr_j0'
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:9979:
undefined reference to `mpfr_j1'
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:9985:
undefined reference to `mpfr_y0'
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:9991:
undefined reference to `mpfr_y1'
libbackend.a(builtins.o): In function `fold_builtin_2':
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:10120:
undefined reference to `mpfr_jn'
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:10126:
undefined reference to `mpfr_yn'
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:10134:
undefined reference to `mpfr_remainder'
libbackend.a(builtins.o): In function `do_mpfr_remquo':
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:12957:
undefined reference to `mpfr_remquo'
libbackend.a(builtins.o): In function `do_mpfr_lgamma_r':
/home/cfriedt/gcc/gcc-4.3.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:13035:
undefined reference to `mpfr_lgamma'
collect2: ld returned 1 exit status
</snip>


-- 
           Summary: In function `fold_builtin_1': undefined reference to
                    `mpfr_j0'
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cfriedt at visible-assets dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


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

* [Bug bootstrap/37627] In function `fold_builtin_1': undefined reference to `mpfr_j0'
  2008-09-23 18:32 [Bug bootstrap/37627] New: In function `fold_builtin_1': undefined reference to `mpfr_j0' cfriedt at visible-assets dot com
@ 2008-09-23 18:33 ` cfriedt at visible-assets dot com
  2008-09-23 19:24 ` brian at dessent dot net
  1 sibling, 0 replies; 4+ messages in thread
From: cfriedt at visible-assets dot com @ 2008-09-23 18:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from cfriedt at visible-assets dot com  2008-09-23 18:31 -------
Created an attachment (id=16397)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16397&action=view)
output of 'gcc -v -save-temps'


-- 


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


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

* [Bug bootstrap/37627] In function `fold_builtin_1': undefined reference to `mpfr_j0'
  2008-09-23 18:32 [Bug bootstrap/37627] New: In function `fold_builtin_1': undefined reference to `mpfr_j0' cfriedt at visible-assets dot com
  2008-09-23 18:33 ` [Bug bootstrap/37627] " cfriedt at visible-assets dot com
@ 2008-09-23 19:24 ` brian at dessent dot net
  1 sibling, 0 replies; 4+ messages in thread
From: brian at dessent dot net @ 2008-09-23 19:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from brian at dessent dot net  2008-09-23 19:23 -------
Subject: Re:   New: In function `fold_builtin_1': undefined 
 reference to `mpfr_j0'

It sounds like you have an older system copy of mpfr in /usr/lib which
is being used instead of the one you built.  Use --with-mpfr=foo where
foo is the prefix you specified when you configured mpfr.


-- 


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


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

* [Bug bootstrap/37627] In function `fold_builtin_1': undefined reference to `mpfr_j0'
       [not found] <bug-37627-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-29 13:19 ` manu at gcc dot gnu.org
  0 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2010-09-29 13:19 UTC (permalink / raw)
  To: gcc-bugs

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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|                            |WORKSFORME

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2010-09-29 11:02:45 UTC ---
No replies in 2 years, please reopen if this is still an issue.


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

end of thread, other threads:[~2010-09-29 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-23 18:32 [Bug bootstrap/37627] New: In function `fold_builtin_1': undefined reference to `mpfr_j0' cfriedt at visible-assets dot com
2008-09-23 18:33 ` [Bug bootstrap/37627] " cfriedt at visible-assets dot com
2008-09-23 19:24 ` brian at dessent dot net
     [not found] <bug-37627-4@http.gcc.gnu.org/bugzilla/>
2010-09-29 13:19 ` manu 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).