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.1k 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.
    • 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
                                • T
                                  tackett1980 @BuZz
                                  last edited by

                                  @BuZz

                                  Im having the same problem just tried it.

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

                                    @tackett1980 which problem? Please be specific and provide information. This thread has had discussion about more than one issue.

                                    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
                                    • D
                                      davidgrohl Banned
                                      last edited by

                                      I installed 4.5.13 and tryied install lr-flycast. I get error while compiling: flycast_libretro.so not found.

                                      mituM T 2 Replies Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @davidgrohl
                                        last edited by

                                        @davidgrohl Did you update youre RetroPie-Setup script ? Please do so and then re-try to install again - a binary install should be available also.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tackett1980 @davidgrohl
                                          last edited by

                                          @davidgrohl

                                          This is the same error I get. My retropie script was updated before I tried it too.

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

                                            Can't help without a build log and information about your set up.

                                            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
                                            • 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.