https://bugs.kde.org/show_bug.cgi?id=504222

            Bug ID: 504222
           Summary: coregrind/vg_preloaded.c fails to compile with clang
                    on arm
    Classification: Developer tools
           Product: valgrind
           Version: 3.25 GIT
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: raj.k...@gmail.com
  Target Milestone: ---

Created attachment 181298
  --> https://bugs.kde.org/attachment.cgi?id=181298&action=edit
proposed fix.

When using clang compiler to cross compile for arm architecture, it fails to
build due to syntax differences in pushsection directive between clang and gcc.
Ending in clang complains

<inline asm>:1:41: error: expected '%<type>' or "<type>" 

The simple fix is to use '%' instead of '@' for type specifier. which works on
both gcc and clang

Attaching a fix

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to