Results 1 to 6 of 6

Thread: Arduino issue with avr-glibc function sprintf()

  1. #1
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    4

    Default Arduino issue with avr-glibc function sprintf()

    Dear all,
    I would like to inform you about a potential bug in the avr-glibc library, that is distributed with openSuSE repositories.

    For quite a while I analysed an issue, that kept me busy away from progress:
    I used Arduino from the openSuSE repo, including avr-toolchain and avr-glibc, that comes with the packages.
    Everything went well until I used an example coming with ITEAD Nextion library for Arduino from
    https://github.com/itead/ITEADLIB_Arduino_Nextion
    When I tried to compile CompWaveform example, the linker gave an error message, that there is something wrong with the sprintf() function.
    I reinstalled everything without change. Then I tried the same example under Win7-setup, where it succeeded.
    Comclusion: the issue is not with Arduino or Nextion library, it is related to avr-glibc library...and I obviously didn't use sprintf() for Arduino/AVR before.

    So this is what I did to fix the issue:
    1. I removed avr-glibc from installation.
    2. I removed Arduino from installation (because it demanded this avr-glibc)
    3. I downloaded avr-glibc from
    http://download.savannah.gnu.org/releases/avr-libc/
    and build the sources on my machine.
    4. I downloaded and installed Arduino from Arduino.cc
    Now the build of the above example with Arduino works well.

    I would apreciate, if you could try to reconfirm the issue and fix the avr-libc library appropriately.

    In case of questions, please send me a PN and I can provide the Nextion libs and examples.

    kind regards,
    sepp2gl

  2. #2
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    4

    Default Re: Arduino issue with avr-glibc function sprintf()

    ...and no one cares after more than 4 weeks(!)?

    HEY GUYS! HEADS UP!
    I really believe, that this glibc-issue is a bug and need to be fixed.
    Even if this might be the wrong forum to post it...
    ...it would be too kind, if someone had replied.

    with best wishes,
    sepp2gl
    Everything keeps being better

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,183
    Blog Entries
    3

    Default Re: Arduino issue with avr-glibc function sprintf()

    The forum is users helping users.

    Maybe you should consider reporting a bug:

    openSUSE:Submitting bug reports
    openSUSE Leap 15.1; KDE Plasma 5;

  4. #4
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,809

    Default AW: Arduino issue with avr-glibc function sprintf()

    Also is this the German sub-forum.

    I will move it to the English one.

    Done.
    Last edited by Sauerland; 22-May-2019 at 22:11.

  5. #5
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    4

    Default Re: AW: Arduino issue with avr-glibc function sprintf()

    Quote Originally Posted by Sauerland View Post
    Also is this the German sub-forum.

    I will move it to the English one.

    Done.
    Vielen Dank dafür.
    Vielleicht findet sich im englischen Subforum jemand, der das Problem ebenfalls hatte und eine bessere Lösung als ich gefunden hat.
    Ich habe diesen Post auf englisch geschrieben, weil ich ihn ggfs. auf anderen Foren mit teilen wollte, ich wollte es aber nicht überall gleichzeitig tun.

    Ich habe zwar für mich das Symptom behoben aber nicht das eigentliche Problem gelöst,
    daher habe ich soeben diesen Bug wie von nrickert empfohlen auf Bugzilla gepostet.

    LG, sepp2gl
    Everything keeps being better

  6. #6
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,809

    Default AW: Arduino issue with avr-glibc function sprintf()

    daher habe ich soeben diesen Bug wie von nrickert empfohlen auf Bugzilla gepostet.
    Here is the Bugreport:
    https://bugzilla.opensuse.org/show_bug.cgi?id=1136027

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •