This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

facing problem in gas format conversion

Note: This was originally posted on 23rd June 2010 at http://forums.arm.com

Hi ,
I'm trying to cross-compile Openmax fft on linux platform using code sourcery.
I have started converting the whole set of files (Openmax fft for signal processing for RVDS 4.0) into "gas" format.
This is required because arm-gcc requires assembly files in gas format and openmax fft follows arm-cc format.
I'm facing with these errors.

undefined reference to `omxSP_FFTFwd_CToC_SC32_Sfs'
/openmax/bulid/../src/sigproc.c:481: undefined reference to `omxSP_FFTInv_CToC_SC32_Sfs'
sigproc.o: In function `SymTiming':
/openmax/bulid/../src/sigproc.c:603: undefined reference to `omxSP_FFTFwd_CToC_SC32_Sfs'
/openmax/bulid/../src/sigproc.c:647: undefined reference to `omxSP_FFTInv_CToC_SC32_Sfs'
sigproc.o: In function `FFT':
/openmax/bulid/../src/sigproc.c:809: undefined reference to `omxSP_FFTFwd_CToC_SC32_Sfs'

These functions are deifined in assembly file and I've included them into my make file.
I've also mentioned respective header file .
Any idea,where i'm missing.
Everything above works fine with RVDS 4.0 but not with code sourcery compiler.
Suggestions are welcome.
Thanks & Regards
Suvir
Parents
  • Note: This was originally posted on 5th August 2011 at http://forums.arm.com


    You can try ffmpeg fft.
    they are in GAS format , neon optimized and fine on cortex a8.



    Thank for the tip, this could be a great alternative ...


    FYI I tried to convert the sources using :

    http://review.webmpr...2gas.pl;hb=HEAD

    but It's not working out of the box :


    ./api/armCOMM_s.h: Assembler messages:
    ./api/armCOMM_s.h:19: Error: junk at end of line, first unrecognized character is `:'
    ./api/armCOMM_s.h:20: Error: bad instruction `gbll'
    ./api/armCOMM_s.h:25: Error: bad instruction `gbll'
    ./api/armCOMM_s.h:26: Error: bad instruction `setl {FALSE}'


    @ //; // from line 19

    .if :LNOT::DEF:ARMCOMM_S_H
    GBLL@ ARMCOMM_S_H

        @          @// Requires 8-byte stack alignment
        @ PRESERVE8        @// Preserves 8-byte stack alignment
        
         GBLL   @ ARM_ERRORCHECK
    ARM_ERRORCHECK:  SETL {FALSE}


Reply
  • Note: This was originally posted on 5th August 2011 at http://forums.arm.com


    You can try ffmpeg fft.
    they are in GAS format , neon optimized and fine on cortex a8.



    Thank for the tip, this could be a great alternative ...


    FYI I tried to convert the sources using :

    http://review.webmpr...2gas.pl;hb=HEAD

    but It's not working out of the box :


    ./api/armCOMM_s.h: Assembler messages:
    ./api/armCOMM_s.h:19: Error: junk at end of line, first unrecognized character is `:'
    ./api/armCOMM_s.h:20: Error: bad instruction `gbll'
    ./api/armCOMM_s.h:25: Error: bad instruction `gbll'
    ./api/armCOMM_s.h:26: Error: bad instruction `setl {FALSE}'


    @ //; // from line 19

    .if :LNOT::DEF:ARMCOMM_S_H
    GBLL@ ARMCOMM_S_H

        @          @// Requires 8-byte stack alignment
        @ PRESERVE8        @// Preserves 8-byte stack alignment
        
         GBLL   @ ARM_ERRORCHECK
    ARM_ERRORCHECK:  SETL {FALSE}


Children
No data