eric-haibin-lin opened a new issue #8305: MXNet Build Failure with DEV=1
URL: https://github.com/apache/incubator-mxnet/issues/8305
 
 
   Note: Providing complete information in the most concise form is the best 
way to get help. This issue template serves as the checklist for essential 
information to most of the technical issues.
   
   If the issue is non-technical, feel free to present the information in what 
you believe is the best form.
   
   ## Description
   (Brief description of the problem in no more than 2 sentences.)
   
   ## Environment info (Required)
   
   ```
   What to do:
   1. Download the diagnosis script from 
https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used (Python/R/Scala/Julia): fg
   
   (I'm using ...)
   
   For Scala user, please provide:
   1. Java version: (`java -version`)
   2. Maven version: (`mvn -version`)
   3. Scala runtime if applicable: (`scala -version`)
   
   For R user, please provide R `sessionInfo()`:
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio):
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.) 
65b258700dda06b0c9d1913ff5aa525beb88438b 
   
   Build config:
   (Paste the content of config.mk, or the build command.) 
   
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   ```
   src/io/iter_image_recordio_2.cc: In function ?<built-in>?:
   src/io/iter_image_recordio_2.cc:575:9: error: ?contrast_scaled? may be used 
uninitialized in this function [-Werror=maybe-uninitialized]
            ProcessImage<4>(res, &data, is_mirrored, contrast_scaled, 
illumination_scaled);
            ^
   src/io/iter_image_recordio_2.cc:558:13: note: ?contrast_scaled? was declared 
here
          float contrast_scaled;
                ^
   src/io/iter_image_recordio_2.cc:575:9: error: ?illumination_scaled? may be 
used uninitialized in this function [-Werror=maybe-uninitialized]
            ProcessImage<4>(res, &data, is_mirrored, contrast_scaled, 
illumination_scaled);
            ^
   src/io/iter_image_recordio_2.cc:559:13: note: ?illumination_scaled? was 
declared here
          float illumination_scaled;
   
   src/io/iter_image_recordio_2.cc: In member function ?void 
mxnet::io::ImageRecordIOParser2<DType>::ProcessImage(const cv::Mat&, 
mshadow::Tensor<mshadow::cpu, 3, DType>*, bool, float,
    float) [with int n_channels = 1; DType = float]?:
   src/io/iter_image_recordio_2.cc:409:13: error: ?RGBA_MEAN[0]? may be used 
uninitialized in this function [-Werror=maybe-uninitialized]
                RGBA[k] = (RGBA[k] - RGBA_MEAN[k]) * RGBA_MULT[k] + 
RGBA_BIAS[k];
   ```
   ## Minimum reproducible example
   (If you are using your own code, please provide a short script that 
reproduces the error. Otherwise, please provide link to the existing example.)
   
   ## Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1. build with DEV=1 in config.mk
   2.
   
   ## What have you tried to solve it?
   
   1. build with DEV=1 passes for commit 
ffa6e45aad4eeca8e6d27764789cd615d132fcb9 
   @ptrendx seems this is introduced by #7152 
   2.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to