public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
@ 2008-06-26 20:05 dtom77 at gmail dot com
2008-06-26 20:17 ` [Bug c++/36644] " paolo dot carlini at oracle dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: dtom77 at gmail dot com @ 2008-06-26 20:05 UTC (permalink / raw)
To: gcc-bugs
Running make check fails after executing make. Shows two errors while
installing
gcc version 4.3.1 I'm using Debian Etch on PC. stuck at make check.
=== 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
--
Summary: make check fails:FAIL:
tr1/8_c_compatibility/cmath/functions.cc (test for
excess errors)
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dtom77 at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
@ 2008-06-26 20:17 ` paolo dot carlini at oracle dot com
2008-06-26 20:49 ` [Bug target/36644] " paolo dot carlini at oracle dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-06-26 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2008-06-26 20:16 -------
(In reply to comment #0)
> 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
If anything, this is not a libstdc++ issue.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
2008-06-26 20:17 ` [Bug c++/36644] " paolo dot carlini at oracle dot com
@ 2008-06-26 20:49 ` paolo dot carlini at oracle dot com
2008-06-26 21:27 ` dtom77 at gmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-06-26 20:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo dot carlini at oracle dot com 2008-06-26 20:48 -------
Let's tentatively recategorize as target: certainly doesn't happen on x86_64.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
2008-06-26 20:17 ` [Bug c++/36644] " paolo dot carlini at oracle dot com
2008-06-26 20:49 ` [Bug target/36644] " paolo dot carlini at oracle dot com
@ 2008-06-26 21:27 ` dtom77 at gmail dot com
2008-06-27 5:09 ` dtom77 at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dtom77 at gmail dot com @ 2008-06-26 21:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dtom77 at gmail dot com 2008-06-26 21:26 -------
Subject: Re: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc
(test for excess errors)
On Thursday 26 June 2008 16:48, paolo dot carlini at oracle dot com wrote:
> ------- Comment #2 from paolo dot carlini at oracle dot com 2008-06-26
> 20:48 ------- Let's tentatively recategorize as target: certainly doesn't
> happen on x86_64.
Actually i'm using amd64 with 32bit Linux OS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
` (2 preceding siblings ...)
2008-06-26 21:27 ` dtom77 at gmail dot com
@ 2008-06-27 5:09 ` dtom77 at gmail dot com
2008-06-27 10:30 ` paolo dot carlini at oracle dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dtom77 at gmail dot com @ 2008-06-27 5:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dtom77 at gmail dot com 2008-06-27 05:08 -------
Subject: Re: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc
(test for excess errors)
On Thursday 26 June 2008 16:16, paolo dot carlini at oracle dot com wrote:
>
> > 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
>
> If anything, this is not a libstdc++ issue.
Then do you think it is on the mpfr side? I grep the directory where i
installed it. Indeed mpfr.h has this mpfr_remainder() function. Don't know
why this is referenced as undefined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
` (3 preceding siblings ...)
2008-06-27 5:09 ` dtom77 at gmail dot com
@ 2008-06-27 10:30 ` paolo dot carlini at oracle dot com
2008-06-27 10:33 ` paolo dot carlini at oracle dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-06-27 10:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from paolo dot carlini at oracle dot com 2008-06-27 10:29 -------
I have no idea either. Unfortunately you target isn't very common among the
contributors of GCC / testers on testresults. As you can see, x86_64 -m32 is
also fine...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
` (4 preceding siblings ...)
2008-06-27 10:30 ` paolo dot carlini at oracle dot com
@ 2008-06-27 10:33 ` paolo dot carlini at oracle dot com
2008-06-27 10:34 ` paolo dot carlini at oracle dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-06-27 10:33 UTC (permalink / raw)
To: gcc-bugs
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
` (5 preceding siblings ...)
2008-06-27 10:33 ` paolo dot carlini at oracle dot com
@ 2008-06-27 10:34 ` paolo dot carlini at oracle dot com
2008-06-27 18:13 ` dtom77 at gmail dot com
2008-12-28 1:06 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-06-27 10:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from paolo dot carlini at oracle dot com 2008-06-27 10:34 -------
By the way, I would consider using a 64-bit OS...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
` (6 preceding siblings ...)
2008-06-27 10:34 ` paolo dot carlini at oracle dot com
@ 2008-06-27 18:13 ` dtom77 at gmail dot com
2008-12-28 1:06 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: dtom77 at gmail dot com @ 2008-06-27 18:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dtom77 at gmail dot com 2008-06-27 18:12 -------
Subject: Re: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc
(test for excess errors)
On Friday 27 June 2008 06:33, paolo dot carlini at oracle dot com wrote:
>>By the way, I would consider using a 64-bit OS...
I've lots and lots of apps and their configurations. I am not thinking about
transfering right now.
So I tried uninstalling the old libmpfr and using the command line parameters:
--with-mpfr=pathname
--with-mpfr-include=pathname
--with-mpfr-lib=pathname
Still gcc doesn't see the new lib. Seems like gcc is using the old lib
location which doesn't have mpfr_remainder() function. That creates
the previous errors from my first post.
Changes from versions 2.2.* to version 2.3.0(from mpfr homepage)
......
* New functions mpfr_j0, mpfr_j1, mpfr_jn, mpfr_y0, mpfr_y1,
mpfr_yn ,mpfr_lgamma, mpfr_remainder, mpfr_remquo, mpfr_fms,
mpfr_signbit, mpfr_setsign, mpfr_copysign, mpfr_get_patches.
* Functions mpfr_sin, mpfr_cos and mpfr_sin_cos improved (argument
reduction).
......
i think gcc needs to respect the location and CL parameters that refer to new
lib. Is there anyway to force the compilation process to recognize the new
path without creating symbolic link (even if it means modifying the source)? I
can provide assistance regarding this bug. output from config.log during
`make`:
checking for
i686-pc-linux-gnu-gcc... /home/ad/build_gcc/./gcc/xgcc
-B/home/ad/build_gcc/./gcc/ -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
checking for suffix of object files... configure: error: cannot compute suffix
of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/ad/build_gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ad/build_gcc'
make: *** [all] Error 2
And:
configure:2567: checking for suffix of object files
configure:2588: /home/ad/build_gcc/./gcc/xgcc -B/home/ad/build_gcc/./gcc/
-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 -c -g -fkeep-inline-functions
conftest.c >&5
/home/ad/build_gcc/./gcc/cc1: error while loading shared libraries:
libmpfr.so.1: cannot open shared object file: No such file or directory
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2605: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
` (7 preceding siblings ...)
2008-06-27 18:13 ` dtom77 at gmail dot com
@ 2008-12-28 1:06 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2008-12-28 01:04 -------
Make sure you either setup ld.so.conf correctly or set LD_LIBRARY_PATH.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36644
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-12-28 1:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-26 20:05 [Bug libstdc++/36644] New: make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors) dtom77 at gmail dot com
2008-06-26 20:17 ` [Bug c++/36644] " paolo dot carlini at oracle dot com
2008-06-26 20:49 ` [Bug target/36644] " paolo dot carlini at oracle dot com
2008-06-26 21:27 ` dtom77 at gmail dot com
2008-06-27 5:09 ` dtom77 at gmail dot com
2008-06-27 10:30 ` paolo dot carlini at oracle dot com
2008-06-27 10:33 ` paolo dot carlini at oracle dot com
2008-06-27 10:34 ` paolo dot carlini at oracle dot com
2008-06-27 18:13 ` dtom77 at gmail dot com
2008-12-28 1:06 ` pinskia at gcc dot gnu dot 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).