Skip to content

error: invalid output constraint '=v' in asm #1

Description

@cybertk

Failed to build 721b2d5 with Hexagon SDK v3.0.

Error log

clang -cc1 version 3.5.0 based upon LLVM 3.5.0 default target hexagon-unknown--elf
#include "..." search starts here:
#include <...> search starts here:
 hexagon/include
 ../../../libs/common/qurt//ADSPv60MP/include
 interface
 ../../../libs/fastcv/dspCV/hexagon_Release_dynamic_toolv72_v60/ship
 ../../../test/common/test_util/hexagon_Release_dynamic_toolv72_v60/ship
 ../../../incs/stddef
 ../../../incs
 ../../../libs/common/remote/ship/hexagon_Release_dynamic_toolv72_v60
 ../../../libs/common/rpcmem/hexagon_Release_dynamic_toolv72_v60/ship
 hexagon_Release_dynamic_toolv72_v60
 /root/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/../target/hexagon/include
 /root/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/../lib/clang/3.5.0/include
End of search list.
In file included from hexagon/src/integral_buffer.c:40:
hexagon/include/nn_integral_buffer.h:584:2: error: invalid output constraint '=v' in asm
        FAKEDEP_VV( extAB,extCD);
        ^
hexagon/include/nn_integral_buffer.h:484:49: note: expanded from macro 'FAKEDEP_VV'
#define FAKEDEP_VV( vec,vec2)   asm ("/*%0 %1*/": "=v"(vec), "=v"(vec2): "0"(vec), "1"(vec2))
                                                  ^
hexagon/include/nn_integral_buffer.h:733:2: error: invalid output constraint '=v' in asm
        FAKEDEP_VV( extAB,sumAB);
        ^
hexagon/include/nn_integral_buffer.h:484:49: note: expanded from macro 'FAKEDEP_VV'
#define FAKEDEP_VV( vec,vec2)   asm ("/*%0 %1*/": "=v"(vec), "=v"(vec2): "0"(vec), "1"(vec2))
                                                  ^
hexagon/include/nn_integral_buffer.h:734:2: error: invalid output constraint '=v' in asm
        FAKEDEP_VV( extCD,sumCD);
        ^
hexagon/include/nn_integral_buffer.h:484:49: note: expanded from macro 'FAKEDEP_VV'
#define FAKEDEP_VV( vec,vec2)   asm ("/*%0 %1*/": "=v"(vec), "=v"(vec2): "0"(vec), "1"(vec2))
                                                  ^
3 errors generated.
make[1]: *** [hexagon_Release_dynamic_toolv72_v60/integral_buffer.o] Error 1
make[1]: Leaving directory `/root/Qualcomm/Hexagon_SDK/3.0/examples/common/nnlib'
make: *** [tree] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions