This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: templated cmath function instantiation
- To: Kurt Garloff <garloff at suse dot de>
- Subject: Re: templated cmath function instantiation
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 26 Jun 2001 14:31:22 +0200
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>, Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <20010622183025.A19855@disaster.jaj.com> <flr8wcc8vb.fsf@jambon.cmla.ens-cachan.fr> <20010625110457.A30639@disaster.jaj.com> <flvglk306e.fsf@jambon.cmla.ens-cachan.fr> <20010625132346.A31568@disaster.jaj.com> <fl66dk2ukg.fsf@jambon.cmla.ens-cachan.fr> <20010625150540.A32484@disaster.jaj.com> <fl1yo82tgb.fsf@jambon.cmla.ens-cachan.fr> <20010625155056.A363@disaster.jaj.com> <20010626124918.B4346@garloff.etpnet.phys.tue.nl> <20010626141848.A6237@garloff.etpnet.phys.tue.nl>
Kurt Garloff <garloff@suse.de> writes:
| OK:
| LD_RUN_PATH=../../lina/bin-ix86 g++ -o eulerflow eulerflow.o
| -L../../lina/bin-ix86 -ltbcicplxdouble -ltbcidouble -lpthread
| ../../lina/bin-ix86/libtbcicplxdouble.so: undefined reference to
| double std::__cmath_power<double>(double, unsigned)'
| collect2: ld returned 1 exit status
| garloff@pckurt:~/Physics/numerix-2.0-gcc3/mpt > gcc -v
| Reading specs from /raid/gcc300/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/specs
| [...]
| Thread model: posix
| gcc version 3.0.1 20010620 (prerelease)
|
| With the new CVS version:
| make[1]: Entering directory /home/garloff/Physics/numerix-2.0-gcc3/mpt/euler_flow'
| LD_RUN_PATH=../../lina/bin-ix86 g++ -o eulerflow eulerflow.o
| -L../../lina/bin-ix86 -ltbcicplxdouble -ltbcidouble -lpthread
| make[1]: Entering directory /home/garloff/Physics/numerix-2.0-gcc3/mpt/navier_flow'
| [...]
|
| It's fixed. You can close the PR.
Thanks a lot. Phil, please check in your patch.
Thanks to both of you.
-- Gaby