This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

make check returns error


While running `make check` fails after executing `make`. Shows two errors 
while installing  gcc version 4.3.1 I'm using Debian Etch on PC. Can someone 
kindly provide a way to fix these two errors?


 === libstdc++ tests ===

Schedule of variations:
    unix


Running /home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ...
XPASS: 26_numerics/headers/cmath/c99_classification_macros_c.cc (test for 
excess errors)
FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
FAIL: tr1/8_c_compatibility/cmath/overloads.cc (test for excess errors)

                === libstdc++ Summary ===

# of expected passes            4936
# of unexpected failures        3
# of unexpected successes       1
# of expected failures          59
# of unsupported tests          326
make[1]: *** [check-DEJAGNU] Error 1
make[1]: Leaving directory 
`/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make: *** [check-am] Error 2



And libstdc++.log:



 -include bits/stdc++.h
Executing on 
host: /home/ad/dloads/gcc-4.3.1/build/./gcc/g++ -shared-libgcc -B/home/ad/dloads/gcc-4.3.1/build/./gcc -nostdinc++ -L/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/opt/gcc-4.3.1/i686-pc-linux-gnu/bin/ -B/opt/gcc-4.3.1/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-4.3.1/i686-pc-linux-gnu/include -isystem /opt/gcc-4.3.1/i686-pc-linux-gnu/sys-include -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -g -O2   -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/include -I/home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/libsupc++ -I/home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/include/backward -I/home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/testsuite/util /home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/functions.cc    -include 
bits/stdc++.h -S  -o functions.s    (timeout = 600)
/home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: symbol lookup 
error: /home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: undefined symbol: 
mpfr_remainder 
compiler exited with status 1
output is:
/home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: symbol lookup 
error: /home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: undefined symbol: 
mpfr_remainder 

FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
Excess errors:
/home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: symbol lookup 
error: /home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: undefined symbol: 
mpfr_remainder

extra_tool_flags are:
  -include bits/stdc++.h
Executing on 
host: /home/ad/dloads/gcc-4.3.1/build/./gcc/g++ -shared-libgcc -B/home/ad/dloads/gcc-4.3.1/build/./gcc -nostdinc++ -L/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/opt/gcc-4.3.1/i686-pc-linux-gnu/bin/ -B/opt/gcc-4.3.1/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-4.3.1/i686-pc-linux-gnu/include -isystem /opt/gcc-4.3.1/i686-pc-linux-gnu/sys-include -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -g -O2   -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/ad/dloads/gcc-4.3.1/build/i686-pc-linux-gnu/libstdc++-v3/include -I/home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/libsupc++ -I/home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/include/backward -I/home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/testsuite/util /home/ad/dloads/gcc-4.3.1/gcc-4.3.1/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads.cc    -include 
bits/stdc++.h -S  -o overloads.s    (timeout = 600)
/home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: symbol lookup 
error: /home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: undefined symbol: 
mpfr_remainder 
compiler exited with status 1
output is:
/home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: symbol lookup 
error: /home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: undefined symbol: 
mpfr_remainder 

FAIL: tr1/8_c_compatibility/cmath/overloads.cc (test for excess errors)
Excess errors:
/home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: symbol lookup 
error: /home/ad/dloads/gcc-4.3.1/build/./gcc/cc1plus: undefined symbol: 
mpfr_remainder


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]