[GitHub] [incubator-mxnet] flygragon commented on issue #13773: Compiler error with g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

2020-05-08 Thread GitBox


flygragon commented on issue #13773:
URL: 
https://github.com/apache/incubator-mxnet/issues/13773#issuecomment-625759400


   > You shouldn't downgrade the GCC version. This is a compiler bug. You need 
to update the version to get a gcc version that has the fix for your bug...
   > 
   > If no version contains a fix, then you need to report a bug report at 
https://gcc.gnu.org/bugs/
   > 
   > I'll close this issue as it's unrelated to MXNet, but feel free to discuss 
here further.
   
   I'm glad that  you're feeling free. I think there is cerntainly a bug with 
the gcc 7.5.0, because it 
   consumes almost 11GB memory when compiling a cc file of 8KB and a h file 
with 65KB. I hope this bug has been fixed within a higher version of gcc.



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:
us...@infra.apache.org




[GitHub] [incubator-mxnet] flygragon commented on issue #13773: Compiler error with g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

2020-05-08 Thread GitBox


flygragon commented on issue #13773:
URL: 
https://github.com/apache/incubator-mxnet/issues/13773#issuecomment-625734321


   > You shouldn't downgrade the GCC version. This is a compiler bug. You need 
to update the version to get a gcc version that has the fix for your bug...
   > 
   > If no version contains a fix, then you need to report a bug report at 
https://gcc.gnu.org/bugs/
   > 
   > I'll close this issue as it's unrelated to MXNet, but feel free to discuss 
here further.
   
   Thanks for your help! I've solved this problem by enlarging the swap file 
from 2G to 10G.



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:
us...@infra.apache.org




[GitHub] [incubator-mxnet] flygragon commented on issue #13773: Compiler error with g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

2020-05-07 Thread GitBox


flygragon commented on issue #13773:
URL: 
https://github.com/apache/incubator-mxnet/issues/13773#issuecomment-625364871


   > is 7.3.8 your default gcc version? Or you can try downgrade your gcc and 
g++.
   > 
   > And check if there is enough swap memory.
   
   My gcc version is 7.5.0, RAM is 8G. I've tried again without graphic 
desktop, but it didn't work reporting the error of out of memory. I'm goting to 
try to downgrade the gcc version and enlarge the swap file.



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:
us...@infra.apache.org




[GitHub] [incubator-mxnet] flygragon commented on issue #13773: Compiler error with g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

2020-05-07 Thread GitBox


flygragon commented on issue #13773:
URL: 
https://github.com/apache/incubator-mxnet/issues/13773#issuecomment-625351814


   > > Howerver, today I encountered the same issue, and always with the same 
file, after a carton of the machine. I was working with Ubuntu 18.04 with 8G 
mem. Could some one give me a way to solve it?
   > > Error msg is following.
   > > Building CXX object 
CMakeFiles/mxnet_static.dir/src/operator/tensor/indexing_op.cc.o
   > > c++: internal compiler error: killed (program cc1plus)
   > > Please submit a full bug report,
   > > with preprocessed source if appropriate.
   > 
   > Please try "make -j1" instead of "make -j".
   
   I've tried to reboot the OS and make -j1,but it doesn't work. What can I do ?



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:
us...@infra.apache.org




[GitHub] [incubator-mxnet] flygragon commented on issue #13773: Compiler error with g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

2020-05-07 Thread GitBox


flygragon commented on issue #13773:
URL: 
https://github.com/apache/incubator-mxnet/issues/13773#issuecomment-625344577


   Howerver, today I encountered the same issue, and always with the same file, 
after a carton of the machine. I was working with Ubuntu 18.04 with 8G mem. 
Could some one give me a way to solve it?
   Building CXX object 
CMakeFiles/mxnet_static.dir/src/operator/tensor/indexing_op.cc.o
   c++: internal compiler error: killed (program cc1plus)
   Please submit a full bug report,
   with preprocessed source if appropriate.
   



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:
us...@infra.apache.org