Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 118
    • Merge requests 118
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Issues
  • #474

Closed
Open
Created Feb 26, 2021 by Junil Kim@sparkleholic

[Q] how to use address sanitizer?

Sorry, it would a silly question. I think many developers already have tried to use asan for weston. So I've like to get advice regarding this.

I've just tried to enable address sanitizer for weston build like the following.

$ CC=clang CXX=clang++ meson --reconfigure build-clang  -Ddoc=true -Db_sanitize=address

And tried ninja build

$  ninja -C build-clang -v

But undefined error occurred.

undefined reference to `__asan_init'

Plz, could you let me have an advice for this?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking