Compilation failure for openblas-0.3.7-1 under OSX 10.11.6
David Neuhaus <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I'm getting a compilation failure on openblas-0.3.7-1 during "update all", with the result that the openblas installation remains at 0.3.6-1. I have been seeing this consistently for a month or more on two machines (early 2009 Mac Pro and mid-2009 MacBook Pro) that are both running OSX 10.11.6 with fink 0.45.0, XCode 8.2.1 and xQuartz 2.7.11 (xorg-server 1.18.4); also, I get the same error whether I use maximum build jobs set to 1 or to 8 (as in the output below). However, I get no error on a third machine (2017 iMac) that is running OSX 10.13.6 with fink 0.45.0, XCode 10.1 and xQuartz 2.7.11; on that machine openblas was successfully upgraded to 0.3.7-1. Since I cannot update the OS beyond 10.11.6 on the two machines that show the failure I cannot at present get around this problem. A
ny help gratefully received.
Many thanks,
David Neuhaus.
I append below the last lines of output showing the compilation failure under OSX 10.11.6:
gcc-fsf-9 -O2 -mtune=intel -march=core2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"0.3.7\" -DASMNAME=_ccholesky -DASMFNAME=_ccholesky_ -DNAME=ccholesky_ -DCNAME=ccholesky -DCHAR_NAME=\"ccholesky_\" -DCHAR_CNAME=\"ccholesky\" -DNO_AFFINITY -I.. -c -DCOMPLEX -UDOUBLE -o ccholesky.o cholesky.c
cholesky.c: In function 'main':
cholesky.c:176:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
176 | for(i = 0; i < j; i++) a[i + j * m] = 0.;
| ^~~
cholesky.c:177:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
177 | a[j + j * m] = ((double) rand() / (double) RAND_MAX) + 8.;
| ^
cholesky.c: In function 'main':
cholesky.c:182:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
182 | for(i = 0; i < j; i++) a[i + j * m] = ((double) rand() / (double) RAND_MAX) - 0.5;
| ^~~
cholesky.c:176:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
176 | for(i = 0; i < j; i++) a[i + j * m] = 0.;
| ^~~
cholesky.c:183:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
183 | a[j + j * m] = ((double) rand() / (double) RAND_MAX) + 8.;
| ^
cholesky.c:177:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
177 | a[j + j * m] = ((double) rand() / (double) RAND_MAX) + 8.;
| ^
cholesky.c:182:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
182 | for(i = 0; i < j; i++) a[i + j * m] = ((double) rand() / (double) RAND_MAX) - 0.5;
| ^~~
cholesky.c:183:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
183 | a[j + j * m] = ((double) rand() / (double) RAND_MAX) + 8.;
| ^
smallscaling.c: In function 'delta_time':
smallscaling.c:121:2: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
121 | clock_gettime(CLOCK_MONOTONIC, &tock);
| ^~~~~~~~~~~~~
smallscaling.c:121:16: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
121 | clock_gettime(CLOCK_MONOTONIC, &tock);
| ^~~~~~~~~~~~~~~
smallscaling.c:121:16: note: each undeclared identifier is reported only once for each function it appears in
smallscaling.c: In function 'pthread_bench':
smallscaling.c:135:19: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
135 | clock_gettime(CLOCK_MONOTONIC, &tick);
| ^~~~~~~~~~~~~~~
smallscaling.c: In function 'seq_bench':
smallscaling.c:152:19: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
152 | clock_gettime(CLOCK_MONOTONIC, &tick);
| ^~~~~~~~~~~~~~~
smallscaling.c: In function 'omp_bench':
smallscaling.c:163:19: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
163 | clock_gettime(CLOCK_MONOTONIC, &tick);
| ^~~~~~~~~~~~~~~
make: *** [smallscaling] Error 1
make: *** Waiting for unfinished jobs....
### execution of /tmp/fink.LnJMA failed, exit code 2
### execution of /tmp/fink.txTZp failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-openblas-0.3.7-1
(Reading database ... 201635 files and directories currently installed.)
Removing fink-buildlock-openblas-0.3.7-1 ...
Failed: phase compiling: openblas-0.3.7-1 failed
Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Derek Homeier <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.0
Distribution version: selfupdate-git Mon Feb 17 11:41:32 2020, 10.11, x86_64
Trees: local/main stable/main unstable/main
Xcode.app: 8.2.1
Xcode command-line tools: 8.2.0.0.1.1480973914
Max. Fink build jobs: 8
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners