Build errror dm520

  • Hi, i'm trying to compile an image by myself for my dm520. Archlinux 64 bit pc


    Attachement of log error
    Thanks for any advice

  • That's because of gcc5. All changes are described here


    Thanks dre. I run

    Code
    git clone git://git.opendreambox.org/git/opendreambox.git
    cd opendreambox
    make update


    Then i modify cross-localedef-native_2.18.bb, binutils.inc, binutils_2.23.2.bb, binutils_2.23.2.inc, files as your post but i don' t understand where i must put your three patches. And also local-ext.conf doesn't exist.
    Thanks

  • If you don't know then you should not use unsupported compiler versions ...

  • I don't know if i'm right, i put the patches in

    Code
    /home/davide/OE_2.2/opendreambox/openembedded-core/meta/recipes-devtools/binutils/binutils


    but when i run


    P.S. archlinux use gcc 6.2.1

  • There are already orher patches. Just put them in the same directory.

    Which patches?

    Code
    ls /home/davide/OE_2.2/opendreambox/openembedded-core/meta/recipes-devtools/binutils/binutils
    0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch  
     replace_macros_with_static_inline.patch
    Fix-tc-i386.c-Werror-logical-not-parentheses-error_part3.patch
    Fix-tc-i386.c-Werror-logical-not-parentheses-error_part1.patch  
    Fix-tc-i386.c-Werror-logical-not-parentheses-error_part2.patch


    Also this one?

  • Maybe it's time to have a look into the folder. It can't be too dfficult to figure out where the patches are. Especially as the path for the recipe is mentioned for each package to modify.

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • I know you don't have to tell me. But I expect that you can have a look in the folders to figure out where to store them. If not then I think gutemine was right.

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • I know you don't have to tell me. But I expect that you can have a look in the folders to figure out where to store them. If not then I think gutemine was right.


    Of course gutemine was right and you too. I modify the files and put the patches in the binutilis folder.