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

    After the last update of Retropie for RP4 - Could not successfully build lr-flycast

    Scheduled Pinned Locked Moved Help and Support
    lr-flycasterror build
    44 Posts 10 Posters 8.6k 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.
    • R
      rejesterd
      last edited by

      Same here. Looks like a missing lib or it's being put in the wrong place. I assume it will be corrected soon.

      1 Reply Last reply Reply Quote 0
      • R
        rejesterd
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by

          I will make it build from the commit before it broke while we wait for upstream to fix. It's been reported.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

            Might worth to wait, there's a PR for fix that, but it's not merged to the master branch yet.

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              The second WIP one fixes it? https://github.com/libretro/flycast/pull/814 ?

              I would be inclined to wait but I was in the middle of updating experimental package bins. Also I've done the changes - just testing. Can be reverted easily enough when upstream is fixed.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @BuZz
                last edited by

                Ah. On a different branch there's a fix? I'll check.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by

                  Should build now btw.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  DarksaviorD 1 Reply Last reply Reply Quote 0
                  • DarksaviorD
                    Darksavior @BuZz
                    last edited by

                    @BuZz It builds but games won't run. I tried a few other games with the same results.

                    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so </dev/null --config /opt/retropie/configs/dreamcast/retroarch.cfg "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd" --appendconfig /dev/shm/retroarch.cfg
                    /opt/retropie/supplementary/runcommand/runcommand.sh: line 1247:  3665 Bus error               /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so --config /opt/retropie/configs/dreamcast/retroarch.cfg "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2.chd" --appendconfig /dev/shm/retroarch.cfg < /dev/null```
                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @Darksavior
                      last edited by

                      @Darksavior it was ok here. But I'll retest in case I messed up. Rpi4 right?

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      DarksaviorD 1 Reply Last reply Reply Quote 0
                      • DarksaviorD
                        Darksavior @BuZz
                        last edited by Darksavior

                        @BuZz Yes, I'll rebuild again just in case. My only mod to building is -j4 if it matters.

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @Darksavior
                          last edited by

                          @Darksavior it shouldn't if it built without failure. Maybe sure any overclocking is disabled also. I just rebuilt it here with a fresh checkout but not tested as I have another large compile job I'm waiting to finish first.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators
                            last edited by BuZz

                            I fixed an issue with the linking stage (the core is set to do link time optimisation), but it wasn't passing the processor flags which gave loads of warnings as it was linking with -march=armv6 . Technically this should improve things though. Possibly even performance (although I'm unsure as I'm unfamiliar with lto). Before it threw up lots of warnings about deprecated arm code, which does point to the the final binary not being optimised for armv8. So if anything performance should be better.

                            I just tested with ikaruga and it worked fine here. Your error looks like it may be due to unstable overclock. I've seen similar errors before.

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            DarksaviorD 1 Reply Last reply Reply Quote 0
                            • DarksaviorD
                              Darksavior @BuZz
                              last edited by Darksavior

                              @BuZz I found the problem. Chd seems to be broken. None of my chd's work. I tested the gdi version of the same game and it works. I also tried a cdi game and that works. I'll rebuild again with your new changes.

                              Redream loads my chd's just fine so the games work.

                              BuZzB 2 Replies Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators @Darksavior
                                last edited by

                                @Darksavior maybe another recent change broke CHD. Please email me a link to a test file (see my profile for email), and I'll work out when it broke, or if my change caused it.

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                1 Reply Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators @Darksavior
                                  last edited by BuZz

                                  @Darksavior no new changes since you last built. That was a change I did earlier. Sorry for confusion, was just detailing what I changed earlier apart from rolling back the code a few commits.

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  DarksaviorD 1 Reply Last reply Reply Quote 0
                                  • DarksaviorD
                                    Darksavior @BuZz
                                    last edited by Darksavior

                                    @BuZz Sorry for the delay. Sent. I don't remember when I last built flycast that worked with chd. It was either earlier this week or last week.
                                    Looks like it just got reported as a problem: https://github.com/libretro/flycast/issues/816

                                    BuZzB 2 Replies Last reply Reply Quote 0
                                    • BuZzB
                                      BuZz administrators @Darksavior
                                      last edited by

                                      @Darksavior that's good in a way as it means I didn't break it :-)

                                      I'll bisect it and maybe roll back/revert whatever broke it until it's fixed upstream.

                                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                      1 Reply Last reply Reply Quote 2
                                      • BuZzB
                                        BuZz administrators @Darksavior
                                        last edited by BuZz

                                        @Darksavior I didn't manage to build a revision that worked with a Dreamcast CHD (didn't try Naomi). Some older revisions didn't crash but just didn't recognise it. I'll revisit this but best bet is to wait for upstream to fix the various issues for now I guess.

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          SartreFan
                                          last edited by

                                          Had the same issue with lr-Flycast and runncommand log points to line 1247 of the runcommand but it seems unrelated. I did notice this on line 1227:

                                          if [[ "$(ps -o comm= -p $(ps -o ppid= -p $PPID))" != "emulationstatio" ]]; then
                                          

                                          Is that supposed to be "emulationstation" instead of "emulationstatio"?

                                          BuZzB 1 Reply Last reply Reply Quote 0
                                          • BuZzB
                                            BuZz administrators @SartreFan
                                            last edited by

                                            @SartreFan that's unrelated (and the missing n is intentional).

                                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                            T hostolisH 2 Replies Last reply Reply Quote 1
                                            • 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.