Package Details: kronos 2.5.0-1

Git Clone URL: https://aur.archlinux.org/kronos.git (read-only, click to copy)
Package Base: kronos
Description: Sega Saturn emulator
Upstream URL: https://fcare.github.io
Licenses: GPL2
Provides: kronos
Submitter: tallero
Maintainer: tallero
Last Packager: tallero
Votes: 5
Popularity: 0.110574
First Submitted: 2022-02-15 08:28 (UTC)
Last Updated: 2023-06-19 11:01 (UTC)

Latest Comments

1 2 Next › Last »

noabody commented on 2022-12-11 17:50 (UTC) (edited on 2022-12-11 17:51 (UTC) by noabody)

In yabause/src/CMakeLists.txt:

if (CMAKE_COMPILER_IS_GNUCC)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -D_DEFAULT_SOURCE -Wno-format -march=native -funroll-loops")
        set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -march=native -funroll-loops")
endif()

-march=native generates processor dependent code which prevents the built package from being portable

No suggestions as to resolution since arch=('i686' 'x86_64' 'pentium4'). The first would be -march=i686 and the latter would be -march=x86-64

tallero commented on 2022-06-14 22:25 (UTC)

@FabioLolix: ok then it was me who had it already disabled on the build machine. Added the new flags.

FabioLolix commented on 2022-06-14 22:05 (UTC)

I have format-security set as it is in the default /etc/makekg.conf https://archlinux.org/packages/core/x86_64/pacman/

tallero commented on 2022-06-14 22:01 (UTC) (edited on 2022-06-14 22:02 (UTC) by tallero)

mmh, actually I also have clang failing:

/tmp/makepkg/kronos/src/kronos/yabause/src/core/sound/al/sndal.c:100:9: error: non-void function 'sound_update_thd' should return a value [-Wreturn-type]
        return;
        ^

About the format-security error, maybe you explicitly set it in makepkg.conf?

Here is someone with the same problem as you (on another package).

FabioLolix commented on 2022-06-14 21:41 (UTC)

Building with clang don't conclude the build (same as last month), it loop at:

/build/kronos/src/kronos/yabause/src/core/video/opengl/common/src/rbg_compute.cpp:2389:59: warning: expression result unused [-Wunused-value]
               DEBUGWIP("Draw RBG0 [%d -> %d]\n", uniform.startLine, uniform.endLine);
                                                  ~~~~~~~ ^~~~~~~~~
/build/kronos/src/kronos/yabause/src/core/video/opengl/common/src/rbg_compute.cpp:2389:78: warning: expression result unused [-Wunused-value]
               DEBUGWIP("Draw RBG0 [%d -> %d]\n", uniform.startLine, uniform.endLine);
                                                                     ~~~~~~~ ^~~~~~~
/build/kronos/src/kronos/yabause/src/core/video/opengl/common/src/rbg_compute.cpp:2444:14: warning: expression result unused [-Wunused-value]
    YGLDEBUG("RBGGenerator_resize\n");
             ^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
202 warnings generated.
25 warnings generated.
1 warning generated.
2 warnings generated.
52 warnings generated.
30 warnings generated.
1 warning generated.

with 1 core running at 100%

tallero commented on 2022-06-14 21:33 (UTC) (edited on 2022-06-14 21:33 (UTC) by tallero)

I'm wondering why I'm not getting the format-security issue even with gcc. Have you tried with clang by exporting CC=/usr/bin/clang and CXX=/usr/bin/clang++?

FabioLolix commented on 2022-06-14 20:57 (UTC)

It is installed and is automatically installed when building in chroot

tallero commented on 2022-06-14 20:56 (UTC)

@FabioLolix: are you sure base-devel is installed on your system?

FabioLolix commented on 2022-06-12 21:06 (UTC)

I tried again now in clean chroot, the error is still present and the pkgbuild isn't configured to use clang (as already told you on 15/02/22)

Corrected pkgbuild here https://github.com/FabioLolix/AURFIX/tree/main/k/kronos

tallero commented on 2022-06-12 15:58 (UTC)

@FabioLolix @Simona: with clang there is no reported problem on build. Maybe you weren't in a clear chroot?