On Mon, Oct 31, 2005 at 12:32:46PM -0600, Marius Schamschula wrote:
Note: I don't see this problem under Mac OS 10.3.x (Panther)/Darwin 7.x. I tried building using both gcc 3.3 and gcc 4.0. gcc 3.3 dies with some linking errors.
Could you please be more specific? Can you build with gcc 3.3 and gcc 4.0 on Mac OS 10.3.x? Or only with gcc 4.0? What are exactly gcc 3.3 errors? (BTW, have you recompiled CLN with gcc 3.3 too?)
For Mac OS X 10.3.9 I get:
marius$ find ginac check -type f -name '*.o' | xargs nm | c++filt | grep -e 'GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info' 000024e8 S guard variable for GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info 000024c0 S GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info
It is not clear from you post what is the version of gcc produced this.
For Mac OS 10.4.2 I get:
marius$ find ginac check -type f -name '*.o' | xargs nm | c++filt | grep -e 'GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info' U GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info
The same here. Could you also try to compile the attached test code? -- All science is either physics or stamp collecting.