Git Product home page Git Product logo

Comments (3)

lbodner avatar lbodner commented on August 23, 2024 1

Hey!
It looks like the problem lies in compiling the 3rd party pin library with recent GCC compilers (In my case: Ubuntu 18.04 with gcc-7).
From stackoverflow:

I came across the same problem. GCC 5.1 introduced a new ABI that is no longer compatible with gcc-3.4+.

To solve the above error I installed GCC 4.8, which supports the old ABI, in order to run the waf script

  1. Install older GCC 4.8 version
sudo apt install gcc-4.8 gcc-4.8-multilib
sudo apt install g++-4.8 g++-4.8-multilib
  1. Setup update-alternatives
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
  1. Switch between different GCC versions
sudo update-alternatives --config gcc

However, now i am facing a new issue (#2).

from peachfuzz-code.

llqll avatar llqll commented on August 23, 2024

hello, I have the same problem, have you solved?

from peachfuzz-code.

CSUer2021 avatar CSUer2021 commented on August 23, 2024

Hey! It looks like the problem lies in compiling the 3rd party pin library with recent GCC compilers (In my case: Ubuntu 18.04 with gcc-7). From stackoverflow:

I came across the same problem. GCC 5.1 introduced a new ABI that is no longer compatible with gcc-3.4+.

To solve the above error I installed GCC 4.8, which supports the old ABI, in order to run the waf script

  1. Install older GCC 4.8 version
sudo apt install gcc-4.8 gcc-4.8-multilib
sudo apt install g++-4.8 g++-4.8-multilib
  1. Setup update-alternatives
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
  1. Switch between different GCC versions
sudo update-alternatives --config gcc

However, now i am facing a new issue (#2).

Hey!
I solved the issue(#1) with your method, but i am facing a new issue(#3)

from peachfuzz-code.

Related Issues (3)

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.