RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Can no longer compile upstream lr-flycast

    Scheduled Pinned Locked Moved Help and Support
    flycast
    3 Posts 2 Posters 485 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ChaosEffect
      last edited by ChaosEffect

      Hello,

      Here is my hardware/software setup:

      Pi Model or other hardware: Pi 4B
      Power Supply used: Smraza 2.5A
      RetroPie Version Used: RetroPie-Setup commit 51a035d9c5d84accfe272a2a12b8eddf1636c0a9
      Built From: Pre-made SD Image on RetroPie website
      USB Devices connected: Wireless keyboard/mouse combo, X-input wired controller
      Controller used: 8BitDo wired X-input controller
      Emulator: lr-flycast (upstream)

      I have been using both the /libretro/flycast version of lr-flycast and the upstream lr-flycast housed at /flyinghead/flycast as separate emulators on my system for quite some time now. I never experienced the major issues that plagued many users on Raspberry Pi with upstream lr-flycast and resulted in RetroPie going back to the /libretro repo.

      I have been using this installation script to update upstream lr-flycast and haven't had any issues until recently.

      Now, I get the errors listed in this pastebin link when I try to update. I reached out to flyinghead, who said that I might either need to update GCC or compile with -O2 instead of -O3. Is this something I can somehow safely do on my Raspberry Pi? I'm just not sure how to go about it. I do realize that this version of the emulator is not officially supported, but the thought of trying out a few newly supported games is enticing :)

      EDIT: I realized that I posted a slightly older version of the log. I did update the Retropie-Setup script to the commit I mentioned above and tried again, but I got the same errors.

      I am also known as "StormedBubbles"

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Yes, the upstream flycast will not build on the gcc version from buster since Dec last year. Lowering the optimization level doesn't work, I've already tried that.
        Unless the ICE is fixed otherwise, the only solution is a newer gcc, though I haven't tried using clang instead.

        C 1 Reply Last reply Reply Quote 1
        • C
          ChaosEffect @mitu
          last edited by

          @mitu Thank you for looking into it. If a newer gcc is indeed the only solution, does that mean that bullseye would be needed and buster is out of the question?

          I am also known as "StormedBubbles"

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.