Zha0q1 edited a comment on issue #18855:
URL: 
https://github.com/apache/incubator-mxnet/issues/18855#issuecomment-671503674


   One more thing is that currently the static build script defaults to 
dynamically linking openblas. We would need to make it a static link; I can 
share my changes (build openblas 32 => 64; dynamic link => static link) once we 
have a final consensus on how to support openblas 64 in the future.
   
   Also, opencv would fail to link with this error:
   ```
   ../staticdeps/lib/libopenblas.a(sormbr.o): In function `sormbr_':
   sormbr.f:(.text+0x3a6): undefined reference to `_gfortran_concat_string'
   sormbr.f:(.text+0x562): undefined reference to `_gfortran_concat_string'
   sormbr.f:(.text+0x5d1): undefined reference to `_gfortran_concat_string'
   sormbr.f:(.text+0x621): undefined reference to `_gfortran_concat_string'
   ../staticdeps/lib/libopenblas.a(sormlq.o): In function `sormlq_':
   sormlq.f:(.text+0x30b): undefined reference to `_gfortran_concat_string'
   ../staticdeps/lib/libopenblas.a(sormlq.o):sormlq.f:(.text+0x842): more 
undefined references to `_gfortran_concat_string' follow
   ../staticdeps/lib/libopenblas.a(slartg.o): In function `slartg_':
   slartg.f:(.text+0xb1): undefined reference to `_gfortran_pow_r4_i8'
   ../staticdeps/lib/libopenblas.a(dlartg.o): In function `dlartg_':
   dlartg.f:(.text+0xb3): undefined reference to `_gfortran_pow_r8_i8'
   ../staticdeps/lib/libopenblas.a(slaed6.o): In function `slaed6_':
   slaed6.f:(.text+0x109): undefined reference to `_gfortran_pow_r4_i8'
   ../staticdeps/lib/libopenblas.a(dlaed6.o): In function `dlaed6_':
   dlaed6.f:(.text+0x10e): undefined reference to `_gfortran_pow_r8_i8'
   collect2: error: ld returned 1 exit status
   ```
   For my poc build I had to turn off opencv for the mxnet build. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to