-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/7/11 11:41 AM, Jon Dantzig wrote:
>> It works here on 10.6/x86_64. A few things to investigate would be:
>> 1) Verify that you're using the right compiler. At around line 85 in
>> the config.log file I have ...
>
> I have exactly the same outputs that you have for "checking for gcc" and
> "checking for g++"
>
>> 2) What Xcode version are you using?
>
> I just downloaded and installed Xcode 3.2.5
> Same result.
>
>> 3) What happens when you run the remainder bug test manually? There's
>> a C++ header file and program file in
>> /sw/src/fink.build/ppl-0.10.2-3/ppl-0.10.2/build/config.log at about
>> line 925, and the test is slightly above that. If you extract the
>> confdefs.h header and the conftest.cpp, you can build a little program
>> using the exact command noted below the line saying "checking if the
>> compiler has the remainder bug" and then run the program.
>
> The test that you asked me to extract from config.log runs ok. It returns 1.
> However, if I look in the configure script itself, I find the following test
> program at the point where it is testing for the remainder bug (I added the
> comment lines). This hangs after printing "Entering the ozone..."
>
> #include <climits>
> #include <iostream>
> using namespace std;
>
> int minus_one(int n) {
> return (n+1)*(n-1)-n*n;
> }
>
> int p(int x, int y) {
> printf("Entering the ozone...\n");
> int z = x % y;
> return z;
> }
>
> int main(int argc, char** argv) {
> printf("%d\n", minus_one(argc));
> printf("%d\n", INT_MIN);
> if (p(INT_MIN, minus_one(argc)) != 0)
> return 1;
> else
> return 0;
> }
> ===========================================
> Jonathan A. Dantzig
> Professor Emeritus / Research Professor
> University of Illinois
> Vox: 217-333-4107 Fax: 217-244-6534
>
> Invited Professor
> Laboratory for the Simulation of Materials
> Ecole Polytechnique Federale de Lausanne
> Swiss NATEL: (+41) 076 204 93 65
> ===========================================
>
I'm not sure what's going on here. I'll cc the maintainer, and I've put
64 bit .deb files online at
http://akh.users.finkproject.org/debs/
Download those, and use "dpkg -i " to install them
- --
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1RzYkACgkQB8UpO3rKjQ/bgACffkhNbYRqcT5VwYDCvNKiV4e4
fi4AoInDkK6q3tquBowF0ybOqp30IZVD
=zoBA
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners