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

Reply via email to