You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling cisco-ios-xr model bundle exhausts computer memory and ultimately results in error message:
$ make
[ 0%] Building CXX object CMakeFiles/ydk_cisco_ios_xr.dir/ydk/models/generated_entity_lookup.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
CMakeFiles/ydk_cisco_ios_xr.dir/build.make:62: recipe for target 'CMakeFiles/ydk_cisco_ios_xr.dir/ydk/models/generated_entity_lookup.cpp.o' failed
make[2]: *** [CMakeFiles/ydk_cisco_ios_xr.dir/ydk/models/generated_entity_lookup.cpp.o] Error 4
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ydk_cisco_ios_xr.dir/all' failed
make[1]: *** [CMakeFiles/ydk_cisco_ios_xr.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
$
Core, openconfig and ietf packages compile just fine. System is using:
$ c++ --version
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -a
Linux ohlone 4.4.0-51-generic #72-Ubuntu SMP Thu Nov 24 18:29:54 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$
The text was updated successfully, but these errors were encountered:
Compiling cisco-ios-xr bundle may require significant memory. The problem is avoided by fragmenting source (hpp and cpp) files. The current fragmentation prototype doesn't guarantee backward compatibility for apps if there's a change in the model. Initially, fragmented source files will be used to build the libydk library, but only combined files (one per model) will be posted in ydk-cpp. Fragmented header files can be made available to users (separate branch?) if they run into very high memory requirements caused by including a very large number of models.
Compiling cisco-ios-xr model bundle exhausts computer memory and ultimately results in error message:
Core, openconfig and ietf packages compile just fine. System is using:
The text was updated successfully, but these errors were encountered: