Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Build fails on i386: error: incomplete definition of type 'mshadow::DataType<long double>' #20832

Closed
yurivict opened this issue Jan 20, 2022 · 3 comments

Comments

@yurivict
Copy link
Contributor

In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/src/operator/quantization/quantized_elemwise_mul.cc:24:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mxnet/./op_attr_types.h:35:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mxnet/base.h:577:
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mxnet/./tensor_blob.h:255:20: error: implicit instantiation of undefined template 'mshadow::DataType<long double>'
    CHECK(mshadow::DataType<DType>::kFlag == type_flag_)
                   ^
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/src/operator/quantization/quantized_elemwise_mul.cc:202:60: note: in instantiation of function template specialization 'mxnet::TBlob::dptr<long double>' requested here
    auto *out_data = outputs[quantized_elemwise_mul::kOut].dptr<out_type>();
                                                           ^
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mshadow/base.h:375:8: note: template is declared here
struct DataType;
       ^
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/src/operator/quantization/quantized_elemwise_mul.cc:24:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mxnet/./op_attr_types.h:35:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mxnet/base.h:577:
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mxnet/./tensor_blob.h:255:35: error: incomplete definition of type 'mshadow::DataType<long double>'
    CHECK(mshadow::DataType<DType>::kFlag == type_flag_)
          ~~~~~~~~~~~~~~~~~~~~~~~~^~
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.0/include/mshadow/./logging.h:86:9: note: expanded from macro 'CHECK'
  if (!(x))                                                \
        ^
2 warnings and 2 errors generated.

Log: http://beefy15.nyi.freebsd.org/data/130i386-default/a9f0602be17e/logs/mxnet-1.9.0.log (IPv6 URL)

Version: 1.9.0
OS: i386

@RafLit
Copy link
Contributor

RafLit commented Feb 17, 2022

@yurivict could you resend the logs? I can't access them unfortunately.
I would appreciate if you could upload them to something publicly available like pastebin.

@yurivict
Copy link
Contributor Author

@bgawrych
Copy link
Contributor

@yurivict Fix have been merged - do you still have problem? If no, we can close this issue

@bgawrych bgawrych closed this as completed Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants