Opened 13 days ago

Closed 13 days ago

#11315 closed defect (invalid)

Compile error with latest neon assembler

Reported by: chinshou Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
When I try to compile the ffmpeg for android arm 64 architecture with following revision.
SHA-1: bb57b780134f59e3bddfab295e34e88468bbd545

  • avutil/hwcontext_vulkan: add missing packed YUV444 format mappings

compiler report following error, there is no compile problem with previous version
SHA-1: 5f4b7bf2b5b675a4a1dfc3b64c1c5dd03d80f278

  • avfilter/vf_libvmaf: fix string comparison bug
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.4, w6
                ^
    /tmp/epel_neon-421430.s:1660:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 4h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/epel_neon-421430.s:1685:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/epel_neon-421430.s:1716:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/epel_neon-421430.s:1745:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/epel_neon-421430.s:1788:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/epel_neon-421430.s:1834:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/epel_neon-421430.s:1897:9: note: while in macro instantiation
            EPEL_UNI_W_H_HEADER 8h
            ^
    CC	libavcodec/aarch64/hevcdsp_init_aarch64.o
    CC	libavcodec/aarch64/hpeldsp_init_aarch64.o
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.4, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:2828:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 4h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:2862:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:2901:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:2938:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:2998:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:3060:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 8h
            ^
    <instantiation>:8:13: error: invalid vector kind qualifier
            dup v30.8, w6
                ^
    /tmp/qpel_neon-2c8c8e.s:3147:9: note: while in macro instantiation
            QPEL_UNI_W_H_HEADER 8h
            ^
    make: *** [ffbuild/common.mak:93: libavcodec/aarch64/h26x/epel_neon.o] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [ffbuild/common.mak:93: libavcodec/aarch64/h26x/qpel_neon.o] Error 1
    
    

Change History (3)

comment:1 by chinshou, 13 days ago

If disable the hevc and vvc decoder (--disable-decoder=hevc --disable-decoder=vvc), it will compile without problem.

comment:2 by chinshou, 13 days ago

It seems gnu assembler version problem. I previously used NDK r19c to compile the ffmpeg and it will report error. After I switch to NDK r20b the error disappeared. So please close this ticket.

best regards

comment:3 by chinshou, 13 days ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.