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.2k 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 @davidgrohl
      last edited by rejesterd

      @BuZz @Darksavior The flycast update completed successfully today, but now it doesn't load my .chd games like it did before. I didn't test much further before reverting to my working clone from last week, but this is from my original flycast build log from Feb 8th:

      git clone --recursive --depth 1 --branch master "https://github.com/libretro/flycast.git" "/home/pi/RetroPie-Setup/tmp/build/lr-flycast"
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/lr-flycast'...
      HEAD is now in branch 'master' at commit 'fb7d27704bfef725638dd55bc8481456b47aa671'
      

      That's a known working version that can load chd files.. so before the texture-related changes went in, it looks like.

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

        Ok I tried again and got no errors.

        I changed nothing I just tried again.

        1 Reply Last reply Reply Quote 0
        • roslofR
          roslof @rejesterd
          last edited by

          @rejesterd yeah, I can confirm that rebuilding older versions that used to play nicely with CHDs won't launch CHD games for me either. The "bus error" still appears in the log. Couldn't find much info on that.

          It's like some library or configuration file changed and the issue is not build-specific. Trying to learn more, but couldn't find anything unusual in the roms directory, configs/dreamcast, nor opt/retropie/libretrocores directories. Full removal and rebuild yields the same issue.

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

            Upstream builds again so I'll be updating the module after testing. The CHD issue could be related to some changes I made so I'll recheck that also.

            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

            roslofR 1 Reply Last reply Reply Quote 0
            • roslofR
              roslof @BuZz
              last edited by roslof

              @BuZz yeah, I had just figured it out -- Something to do with the recent change to the lr_flycast.sh changes that reference scriptmodules/libretrocores/lr-flycast/01_flags_fix.diff . I reverted to previous lr_flycast.sh and was able to build/run with the latest upstream build.

              Appreciated, as always.

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

                @roslof yep. previously we were generating armv6 code due to our CFLAGS not being passed during link time optimisation. Lto can be buggy so I may disable it but I'm narrowing down currently which flags are causing the 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 1
                • BuZzB
                  BuZz administrators @roslof
                  last edited by BuZz

                  @roslof I sent you an email regarding testing something - No pressure - just if you're comfortable reverting files in RetroPie /using git and familiar with Dreamcast it could help me. Thanks.

                  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

                  roslofR 1 Reply Last reply Reply Quote 0
                  • roslofR
                    roslof @BuZz
                    last edited by

                    @BuZz no trouble. Would be happy to help. I'm very familiar with Dreamcast, the Pi4B and the three existing emulators.

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

                      Please update RetroPie-Setup and reinstall lr-flycast from source. The issue was the Makefile using -O3 optimisation and producing unreliable code. Switched to -O2 which is the RetroPie default anyway, and on arm can actually be faster in some cases (although it probably wont make a noticeable difference).

                      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

                        Forgot to remove the rollback. Just did that so if you updated already please do it again to get the latest code.

                        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 1
                        • BuZzB
                          BuZz administrators
                          last edited by BuZz

                          Lol. And again. Sorry - I messed up. I removed the git clone line rather than just removing the parameters. Brain fart.

                          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

                          roslofR 1 Reply Last reply Reply Quote 1
                          • roslofR
                            roslof @BuZz
                            last edited by

                            @BuZz LOL! No worries.

                            roslofR 1 Reply Last reply Reply Quote 0
                            • roslofR
                              roslof @roslof
                              last edited by

                              Confirmed lr-flycast compiles and runs with RetroPie (40ab240).
                              Will backup and set this as the benchmark build.

                              1 Reply Last reply Reply Quote 1
                              • hostolisH
                                hostolis @BuZz
                                last edited by

                                @BuZz said in After the last update of Retropie for RP4 - Could not successfully build lr-flycast:

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

                                Why is it intentional? I was trying yesterday to “killall emulationstation” and I couldn’t, I realized the “n” was missing via “top”

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

                                  @hostolis It's intentional because by default killall will use the first 15 characters of a process.

                                  man killall - you can use the -e option if you want.

                                  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.