Giter Club home page Giter Club logo

Comments (2)

Muthuramane avatar Muthuramane commented on July 19, 2024

I got the following error while running the 'make bm-switchlink'

thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/p4_pd_rpc.thrift && thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/conn_mgr_pd_rpc.thrift && thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/mc_pd_rpc.thrift && thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/devport_mgr_pd_rpc.thrift && true
[WARNING:/home/parallels/p4factory/targets/switch/build/bm/thrift/p4_pd_rpc.thrift:1391] Consider using the more efficient "binary" type instead of "list".
Compiling : bm::pd_rpc_server.cpp
Compiling : bm::p4_pd_rpc_constants.cpp
Compiling : bm::conn_mgr_pd_rpc_constants.cpp
Compiling : bm::mc_pd_rpc_constants.cpp
Compiling : bm::devport_mgr_pd_rpc_constants.cpp
Compiling : bm::res_constants.cpp
Compiling : bm::p4_pd_rpc_types.cpp
Compiling : bm::conn_mgr_pd_rpc_types.cpp
Compiling : bm::mc_pd_rpc_types.cpp
Compiling : bm::devport_mgr_pd_rpc_types.cpp
Compiling : bm::res_types.cpp
Compiling : bm::dc.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make: *** [/home/parallels/p4factory/targets/switch/build//bm/obj/dc.o] Error 4

And also I tried 'make bm-swtichapi'. The source file bm/dc.cpp is failed to compile.

parallels@ubuntu:~/p4factory/targets/switch$ make bm-switchapi
Compiling : bm::dc.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make: *** [/home/parallels/p4factory/targets/switch/build//bm/obj/dc.o] Error 4

The dmesg o/p showing as below,

[11251.234931] Out of memory: Kill process 31776 (cc1plus) score 563 or sacrifice child
[11251.234933] Killed process 31776 (cc1plus) total-vm:1310192kB, anon-rss:731552kB, file-rss:1560kB

from p4factory.

Muthuramane avatar Muthuramane commented on July 19, 2024

This problem fixed after increasing the VM's RAM Size from 1G to 4G.

from p4factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.