Giter Club home page Giter Club logo

Comments (4)

chesik-amd avatar chesik-amd commented on June 16, 2024

We'll take a look at this, but in the meantime, can you try adding "-W-no-cast-function-type" to this line in the SConscript file, and see if that allows you to compile using gcc 9?

https://github.com/GPUOpen-Tools/common-src-AMDTActivityLogger/blob/master/SConscript#L19

from radeon_compute_profiler.

baerbock avatar baerbock commented on June 16, 2024

@chesik-amd Hi Chris, the common-src-AMDTActivityLogger code alone doesn't compile with scons.

So I've tried to fix it by

CXL_vars = Variables(None)

initCXLVars(CXL_vars)

CXL_env = Environment( 
    variables = CXL_vars, 
ENV = {'PATH':os.environ['PATH']})
  • changed filename from SConscript to SConstruct

Now only env['CXL_lib_dir'] is undefined!

from radeon_compute_profiler.

chesik-amd avatar chesik-amd commented on June 16, 2024

AMDTActivityLogger isn't configured to build by itself. It is built as part of the RCP build process. If you make the change I suggested in the clone the that is brought down as a result of running RCP's UpdateCommon script, and then try rebuilding RCP, does it help?

from radeon_compute_profiler.

justxi avatar justxi commented on June 16, 2024

I had the same problem while compiling RCP, adding "-Wno-cast-function-type" to SConscript file, lets GCC 9.1 build this successfully.

from radeon_compute_profiler.

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.