Opened 13 years ago
Last modified 12 years ago
#1309 new defect
Android(NDK) cannot compile thumb mode
Reported by: | K.Y.H | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | arm |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Attachments (4)
Change History (8)
comment:1 by , 13 years ago
Keywords: | arm added; thumb dca removed |
---|
by , 13 years ago
comment:2 by , 13 years ago
Please checkout current git head, make your changes, produce a patch file with "git diff>patchthumb.diff" and send patchthumb.diff as an attachment to ffmpeg-devel.
comment:3 by , 12 years ago
Please provide a (preferably minimal) command line for configure so we can reproduce the bug and verify the fix
by , 12 years ago
by , 12 years ago
Attachment: | build-arm-neon.sh added |
---|
comment:4 by , 12 years ago
That problem have only NDK's GCC version 4.4.3
Lastest GCC 4.6 not have problem.
But I attached dcadec.c both(4.4.3 and 4.6) GCC don't have problem
D:/msys/Workspace/ffmpeg/libavcodec/dcadec.c: In function 'dca_decode_frame': D:/msys/Workspace/ffmpeg/libavcodec/dcadec.c:2050: warning: 'asset_size[0]' may be used uninitialized in this function D:/msys/Workspace/ffmpeg/libavcodec/dcadec.c:1946: note: 'asset_size[0]' was declared here D:/msys/Workspace/ffmpeg/libavcodec/arm/dca.h:36: error: can't find a register in class 'CORE_REGS' while relo ading 'asm' D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/bswap.h:59: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/bswap.h:59: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/bswap.h:59: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavutil/arm/intreadwrite.h:54: error: 'asm' operand has impossible constraints D:/msys/Workspace/ffmpeg/libavcodec/arm/dca.h:36: error: 'asm' operand has impossible constraints D:CC/ libavcodec/dpcm.o msys/Workspace/ffmpeg/libavcodec/dcadec.c:2430: confused by earlier errors, bailing out make: *** [libavcodec/dcadec.o] Error 1 make: *** Waiting for unfinished jobs....
Above is error message.
Note:
See TracTickets
for help on using tickets.
Please send patches to ffmpeg-devel, they receive more attention there.