This is the mail archive of the gcc-patches@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]

Re: templated cmath function instantiation


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


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