[ARM] generates invalid CFLAGS

Issue #1376 closed
bas
created an issue

From (bugs.pypy.org)

Comments (5)

  1. bas reporter
    When cross-translating for ARM, non-ARM CFLAGS are generated, which leads to the 
    following error.
    
    $ pypy translate.py -Ojit --platform=arm
    
    (...)
    
    [platform:execute] sb2 -t ARM make -j 3 in /tmp/usession-release-2.0-beta-1-
    4/testing_1
    [platform:Error] arm-linux-gnueabihf-gcc: error: unrecognized command line option 
    ‘-msse2’
    [platform:Error] arm-linux-gnueabihf-gcc: error: unrecognized command line option 
    ‘-mfpmath=sse’
    [platform:Error] arm-linux-gnueabihf-gcc: error: unrecognized command line option 
    ‘-msse2’
    [platform:Error] arm-linux-gnueabihf-gcc: error: unrecognized command line option 
    ‘-mfpmath=sse’
    [platform:Error] make: *** [testing_1.s] Error 1
    [platform:Error] make: *** Waiting for unfinished jobs....
    [platform:Error] arm-linux-gnueabihf-gcc: error: unrecognized command line option 
    ‘-msse2’
    [platform:Error] arm-linux-gnueabihf-gcc: error: unrecognized command line option 
    ‘-mfpmath=sse’
    [platform:Error] make: *** [structimpl.s] Error 1
    [platform:Error] make: *** [data_pypy_module_cpyext_unicodeobject.s] Error 1
    
  2. Log in to comment