Menu

Post questions bugs etc here

akre
2017-03-01
2017-04-27
  • akre

    akre - 2017-03-01

    Post questions bugs etc here. Eventually we might move discussions to a
    web based system.

    In the meanwhile, post bug reports, questions and other requests here.

    /Ake

     
  • AndrevS

    AndrevS - 2017-04-23

    Hello. I am trying to compile under ArchLinux, but I run into some errors. After upgrading my flex to the git version, the first error was resolved. However, later in the compilation process I am running into some errors. See the attached output (starting from the beginning of the error)

     
  • akre

    akre - 2017-04-23

    Hi,

    thanks for your interest in the stm8-binutils project.

    It's a known issue with gcc 6.3.x colliding with min max macros. Just remove the "#include <algorithm>" line in stm8-tdep.c

    You might also want to comment the lines around 1100 preventing proper stack unwinding on 64 bit hosts. You will get a warning in gdb "Target-supplied registers are not supported by the current architecture" but just ignore it...

    // if (tdesc_data != NULL)
    // tdesc_use_registers (gdbarch, tdesc, tdesc_data);

    A new release will be out soon with these patches included.

    Best regards,

    Ake

     
  • AndrevS

    AndrevS - 2017-04-27

    Thanks. I've seen you've already uploaded a new version while I am reading this. Now I am running into some problems with libguile. I guess running Arch has me on some newer library versions that breaks stuff.

     
    • akre

      akre - 2017-04-27

      Seems to be some problems with newer versions of guile.
      https://sourceware.org/bugzilla/show_bug.cgi?id=21104

      Try --without-guile

      /Ake

       
  • AndrevS

    AndrevS - 2017-04-30

    The build completes now. Thank you

    André

     
  • akre

    akre - 2017-04-30

    Underscore decorations of function calls in sdcc were removed because of symbol lookup problems in gdb. This is a problem with some library functions written in assembler where function name decroations are hardcoded. A new release with these decorations added back to sdcc will be released soon.

    Linking with the following stm8 libraries will fail with "?ASlink-Warning-Undefined Global 'namexxx' referenced by module 'xxx'.

    ./device/lib/stm8/heap.s
    ./device/lib/stm8/memcpy.s
    ./device/lib/stm8/setjmp.s
    ./device/lib/stm8/strcmp.s
    ./device/lib/stm8/strcpy.s
    ./device/lib/stm8/divsint.s
    ./device/lib/stm8/divslong.s
    ./device/lib/stm8/divulong.s
    ./device/lib/stm8/fastlongneg.s
    ./device/lib/stm8/modsint.s
    ./device/lib/stm8/modslong.s
    ./device/lib/stm8/modulong.s
    ./device/lib/stm8/mulint.s
    ./device/lib/stm8/mullong.s
    ./device/lib/stm8/mulsint2slong.s

    /Ake

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.