Jump to content
XPEnology Community

AttisCode

Rookie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by AttisCode

  1. On 10/24/2020 at 7:52 AM, David Rollin said:

    Please help, i tried to compile for the Broadwell CPU :

    I used these instructions:

     

    wget https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/24922branch/broadwell-source/linux-3.10.x.txz/download -O linux-3.10.x.txz

    wget https://sourceforge.net/projects/dsgpl/files/Tool Chain/DSM 6.2.3 Tool Chains/Intel x86 Linux 3.10.105 (Broadwell)/broadwell-gcc493_glibc220_linaro_x86_64-GPL.txz/download -O broadwell-gcc493_glibc220_linaro_x86_64-GPL.txz

    tar xvf linux-3.10.x.txz
    tar xvf broadwell-gcc493_glibc220_linaro_x86_64-GPL.txz

    alias dsm6make='make ARCH=x86_64 CROSS_COMPILE=C:\Windows\System32\x86_64-pc-linux-gnu-'

    cd linux-3.10.x
    cp synoconfigs/Broadwell .config
    dsm6make menuconfig

    dsm6make modules

    I got this :

     

    /mnt/c/WINDOWS/system32/linux-3.10.x/arch/x86/Makefile:162: CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.
    make: C:WindowsSystem32x86_64-pc-linux-gnu-gcc: Command not found
    scripts/kconfig/conf --silentoldconfig Kconfig
    /mnt/c/WINDOWS/system32/linux-3.10.x/arch/x86/Makefile:162: CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.
    make: C:WindowsSystem32x86_64-pc-linux-gnu-gcc: Command not found
    make[1]: Nothing to be done for 'all'.
    make[1]: Nothing to be done for 'relocs'.
      CHK     include/generated/uapi/linux/version.h
      CHK     include/generated/utsrelease.h
      CC      kernel/bounds.s
    /bin/sh: 1: C:WindowsSystem32x86_64-pc-linux-gnu-gcc: not found
    make[1]: *** [/mnt/c/WINDOWS/system32/linux-3.10.x/./Kbuild:36: kernel/bounds.s] Error 127
    make: *** [Makefile:840: prepare0] Error 2

     

    Then I updated toolchain again with this : x86

    wget https://sourceforge.net/projects/dsgpl/files/Tool Chain/DSM 6.2.3 Tool Chains/Intel x86 Linux 3.10.105 (Broadwell)/broadwell-gcc493_glibc220_linaro_x86_64-GPL.txz/download -O broadwell-gcc493_glibc220_linaro_x86_64-GPL.txz

     

    But same output

     

    Then I updated toolchain with this : i686

    wget https://sourceforge.net/projects/dsgpl/files/Tool Chain/DSM 6.2.3 Tool Chains/Intel x86 Linux 3.10.105 (Broadwell)/broadwell-gcc493_glibc220_linaro_i686on64-GPL.txz/download -O broadwell-gcc493_glibc220_linaro_i686on64-GPL.txz

    tar xvf broadwell-gcc493_glibc220_linaro_i686on64-GPL.txz

    dsm6make modules

     

    But same output

     

    i have same problem!

     

×
×
  • Create New...