English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 15 February 2020, 11:08   #361
repairedCheese
Registered User
 
Join Date: Jan 2020
Location: Detroit
Posts: 2
It seems the last build has faded from The Zone. Does anyone, by any chance, still have a copy?
repairedCheese is offline  
Old 15 February 2020, 11:41   #362
repairedCheese
Registered User
 
Join Date: Jan 2020
Location: Detroit
Posts: 2
Ah, I see what Grandis is. Macintosh Garden has a page for 2.4.1, you think they'd be interested in 3.0.2?
repairedCheese is offline  
Old 16 February 2020, 18:45   #363
Methanoid
Retired Quartex Sysop
 
Methanoid's Avatar
 
Join Date: Sep 2001
Location: Roman Verulamium
Age: 58
Posts: 1,873
Quote:
Originally Posted by repairedCheese View Post
It seems the last build has faded from The Zone. Does anyone, by any chance, still have a copy?
Put 3.02 in Zone just now.. Enjoy
Methanoid is offline  
Old 24 February 2020, 20:32   #364
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
While there are not yet official source releases I've tried in the meantime to compile the actual master branch and the build stopped here:

Code:
	g++-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -O3 -maltivec -mabi=altivec -MT src/custom.o -MD -MP -MF $depbase.Tpo -c -o src/custom.o src/custom.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
src/custom.cpp:9152:10: fatal error: emmintrin.h: No such file or directory
 #include <emmintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/custom.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [bundle] Error 2
From what I can understand this is related to use of intel optimizations but I build on a PowerPC machine, are there chances to use Altivec instructions instead? About the SDL2 library: the latest version available for OSX PPC 10.5 is 2.0.5 so as long no specific features of 2.0.6+ are used it should be possible to compile again for PowerMacs (GCC 7.5 only)

Last edited by SnakeCoils; 24 February 2020 at 20:45.
SnakeCoils is offline  
Old 24 February 2020, 21:19   #365
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Hi, I pushed a new commit which only tries to use that intrinsics on X86 (it's not strictly needed anyway, just an instruction which *might* make busy-looping less in-efficient on x86. Note sure really. Worst case, it has no effect).

Could be more issues. Just let me know if compilation stops elsewhere
FrodeSolheim is offline  
Old 24 February 2020, 21:44   #366
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Thank you Frode! :-) The error above is no more present (some warnings just after) and the build process is going on, I am waiting the compiler to finish (maybe still half an hour remaining or so...)
SnakeCoils is offline  
Old 24 February 2020, 23:20   #367
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Well... the build phase is ended but sadly the emulator crashed on startup (it does not open the screen either), this is the log of what happened:

Code:
Process:         fs-uae [31519]
Path:            /Users/snakecoils/Downloads/fs-uae-master/dist/macos/FS-UAE.app/Contents/MacOS/fs-uae
Identifier:      no.fengestad.fs-uae
Version:         3.1.0 (3.1.0)
Code Type:       PPC (Native)
Parent Process:  launchd [68]

Interval Since Last Report:          369 sec
Crashes Since Last Report:           3
Per-App Interval Since Last Report:  15 sec
Per-App Crashes Since Last Report:   2

Date/Time:       2020-02-24 23:08:11.705 +0100
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  93FD90A9-23B1-4542-896F-0CCD6DEFA072

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000090349c98
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSEvent modifierFlags]: unrecognized selector sent to class 0xa0a333f4'

Thread 0 Crashed:
0   com.apple.CoreFoundation      	0x90349c98 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 0
1   libobjc.A.dylib               	0x95c374e8 objc_exception_throw + 68
2   com.apple.CoreFoundation      	0x90350f5c +[NSObject doesNotRecognizeSelector:] + 164
3   com.apple.CoreFoundation      	0x9034f4b0 ___forwarding___ + 332
4   com.apple.CoreFoundation      	0x9034f744 _CF_forwarding_prep_0 + 212
5   libSDL2-2.0.0.dylib           	0x053c6158 Cocoa_InitKeyboard + 132
6   libSDL2-2.0.0.dylib           	0x053c988c Cocoa_VideoInit + 32
7   libSDL2-2.0.0.dylib           	0x053c2d10 SDL_VideoInit_REAL + 624
8   libSDL2-2.0.0.dylib           	0x0531f24c SDL_InitSubSystem_REAL + 228
9   no.fengestad.fs-uae           	0x00d26df0 0x2000 + 13782512
10  no.fengestad.fs-uae           	0x00008288 0x2000 + 25224

Thread 1:
0   libSystem.B.dylib             	0x9169ba8c __semwait_signal + 12
1   libSystem.B.dylib             	0x916d8318 _pthread_cond_wait + 1580
2   libSDL2-2.0.0.dylib           	0x053ce728 SDL_CondWaitTimeout_REAL + 176
3   libSDL2-2.0.0.dylib           	0x053ce24c SDL_SemWaitTimeout_REAL + 132
4   libSDL2-2.0.0.dylib           	0x0538d0e8 SDL_TimerThread + 456
5   libSDL2-2.0.0.dylib           	0x0538c5a0 SDL_RunThread + 68
6   libSDL2-2.0.0.dylib           	0x053ce064 RunThread + 12
7   libSystem.B.dylib             	0x916d6f70 _pthread_start + 316

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x90349c98  srr1: 0x0002f030   dar: 0xe0021000 dsisr: 0x42000000
    r0: 0x95c374ec    r1: 0xbffff690    r2: 0xa005a5f8    r3: 0x0581c038
    r4: 0x00000000    r5: 0x00000011    r6: 0x00005110    r7: 0x00000010
    r8: 0x059fc080    r9: 0x00050fa0   r10: 0x0581c040   r11: 0x24002442
   r12: 0x9169f734   r13: 0x00000000   r14: 0x00000000   r15: 0x00000000
   r16: 0x00000000   r17: 0x00000000   r18: 0x00000000   r19: 0x00000000
   r20: 0x00000000   r21: 0x00000000   r22: 0x00d2eafc   r23: 0x00000000
   r24: 0xbffff7e8   r25: 0x95ce7348   r26: 0xa043bc7c   r27: 0xa0a333f4
   r28: 0xa006d810   r29: 0x059502d0   r30: 0xa09b5dc0   r31: 0x95c374b4
    cr: 0x24002442   xer: 0x00000004    lr: 0x95c374ec   ctr: 0x9169f734
vrsave: 0x00000000
The warnings from compiling were the following:

Code:
src/custom.cpp: In function 'void linesync_fsemu()':
src/custom.cpp:9443:37: warning: division by zero [-Wdiv-by-zero]
    if (sleep_mod && extra_counter++ % sleep_mod == 0) {
                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h: In function 'void docols(color_entry*)':
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h: In function 'void notice_new_xcolors()':
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~

Code:
g++-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -O3 -maltivec -mabi=altivec -MT src/inputdevice.o -MD -MP -MF $depbase.Tpo -c -o src/inputdevice.o src/inputdevice.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
In function 'bool inputdevice_handle_inputcode2(int, int, int, const TCHAR*)',
    inlined from 'void inputdevice_handle_inputcode()' at src/inputdevice.cpp:4756:38:
src/inputdevice.cpp:4432:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[0].df, s, MAX_PATH);
src/inputdevice.cpp:4442:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[1].df, s, MAX_PATH);
src/inputdevice.cpp:4452:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[2].df, s, MAX_PATH);
src/inputdevice.cpp:4462:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[3].df, s, MAX_PATH);
depbase=`echo src/isofs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\

Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT libfsemu/src/ml/render.o -MD -MP -MF $depbase.Tpo -c -o libfsemu/src/ml/render.o libfsemu/src/ml/render.c &&\
	mv -f $depbase.Tpo $depbase.Po
libfsemu/src/ml/render.c: In function 'save_screenshot_of_opengl_framebuffer':
libfsemu/src/ml/render.c:226:28: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
     void *line2 = out_data + stride * (h - 1);
                            ^
libfsemu/src/ml/render.c:231:15: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
         line1 += stride;
               ^~
libfsemu/src/ml/render.c:232:15: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
         line2 -= stride;
               ^~


Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT libfsemu/src/video/sdl-video.o -MD -MP -MF $depbase.Tpo -c -o libfsemu/src/video/sdl-video.o libfsemu/src/video/sdl-video.c &&\
	mv -f $depbase.Tpo $depbase.Po
libfsemu/src/video/sdl-video.c: In function 'sdl_video_render':
libfsemu/src/video/sdl-video.c:160:47: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.data + buffer->buffer.crop.y * \
                                               ^
libfsemu/src/video/sdl-video.c:161:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.stride + buffer->buffer.crop.x * \
                                                 ^


Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT libfsemu/src/video/sdl-video-software.o -MD -MP -MF $depbase.Tpo -c -o libfsemu/src/video/sdl-video-software.o libfsemu/src/video/sdl-video-software.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from libfsemu/src/video/sdl-video-software.c:2:0:
libfsemu/src/video/sdl-video.c: In function 'sdl_video_render':
libfsemu/src/video/sdl-video.c:160:47: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.data + buffer->buffer.crop.y * \
                                               ^
libfsemu/src/video/sdl-video.c:161:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.stride + buffer->buffer.crop.x * \
                                                 ^


Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT fsemu/src/fsemu-theme.o -MD -MP -MF $depbase.Tpo -c -o fsemu/src/fsemu-theme.o fsemu/src/fsemu-theme.c &&\
	mv -f $depbase.Tpo $depbase.Po
fsemu/src/fsemu-theme.c: In function 'fsemu_theme_module_init':
fsemu/src/fsemu-theme.c:24:33: warning: implicit declaration of function 'fsemu_data_stream'; did you mean 'fsemu_image_unref'? [-Wimplicit-function-declaration]
         fsemu_image_from_stream(fsemu_data_stream("Background.png"), true),
                                 ^~~~~~~~~~~~~~~~~
                                 fsemu_image_unref
fsemu/src/fsemu-theme.c:24:33: warning: passing argument 1 of 'fsemu_image_from_stream' makes pointer from integer without a cast [-Wint-conversion]
In file included from fsemu/src/fsemu-font.h:5:0,
                 from fsemu/src/fsemu-gui.h:8,
                 from fsemu/src/fsemu-theme.c:4:
fsemu/src/fsemu-image.h:43:16: note: expected 'fsemu_stream_t * {aka struct fsemu_stream *}' but argument is of type 'int'
 fsemu_image_t *fsemu_image_from_stream(fsemu_stream_t *stream, bool owner);
                ^~~~~~~~~~~~~~~~~~~~~~~
fsemu/src/fsemu-theme.c:32:21: warning: implicit declaration of function 'FSEMU_RGB'; did you mean 'FSEMU_GLIB'? [-Wimplicit-function-declaration]
     widget->color = FSEMU_RGB(0xffffff);
                     ^~~~~~~~~
                     FSEMU_GLIB

Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT fsemu/src/fsemu-time.o -MD -MP -MF $depbase.Tpo -c -o fsemu/src/fsemu-time.o fsemu/src/fsemu-time.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from fsemu/src/fsemu-time.c:2:0:
fsemu/src/fsemu-time.h: In function 'fsemu_time_clock_gettime_mach':
fsemu/src/fsemu-time.h:70:5: warning: implicit declaration of function 'SDL_assert'; did you mean 'g_assert'? [-Wimplicit-function-declaration]
     SDL_assert(clk_id == CLOCK_MONOTONIC);
     ^~~~~~~~~~
     g_assert

Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT manymouse/macosx_hidmanager.o -MD -MP -MF $depbase.Tpo -c -o manymouse/macosx_hidmanager.o manymouse/macosx_hidmanager.c &&\
	mv -f $depbase.Tpo $depbase.Po
manymouse/macosx_hidmanager.c: In function 'macosx_hidmanager_init':
manymouse/macosx_hidmanager.c:370:28: warning: the comparison will always evaluate as 'false' for the address of 'IOHIDManagerCreate' will never be NULL [-Waddress]
     if (IOHIDManagerCreate == NULL)
                            ^~
SnakeCoils is offline  
Old 25 February 2020, 00:06   #368
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
I fixed some of the compiler warnings (the implicit declaration ones). But I don't think that had anything to do with the crash. In fact, it looks like it crashes while initializing SDL. Are you using the same SDL version you've used before when compiling 3.0.2? Can you doublecheck that 3.0.2 compiled against the same SDL library works?
FrodeSolheim is offline  
Old 25 February 2020, 00:18   #369
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
I also think this kind of crash happens too much suddenly to depend on some warnings here and there (but I am happy they were fixed!).
The 3.0.2 was made against the SDL 2.0.3 library (which proved to works quite well) while this build from the github repository is compiled using 2.0.5 from LeopardPorts repository (https://github.com/kencu/LeopardPort.../devel/libsdl2).
From what I have seen the new FS-UAE distribution rely on some new 2.0.5 instructions therefore I moved from 2.0.3 to 2.0.5 but this is the first compile I made against the new SDL2 library, maybe some bugs in PPC version prevents the library to work as expected. In the meantime I have launched a new FS-UAE compile session to see if something is about to change.
SnakeCoils is offline  
Old 25 February 2020, 00:24   #370
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Good, let's first verify/find the most recent SDL library that works with 3.0.2 and then try with the git version. It may very well be that FS-UAE functions not available in older SDL versions, but the new function usage might not be essential, and could be guarded with SDL version check macros. I can take a look at that if you encounter SDL compilation errors
FrodeSolheim is offline  
Old 25 February 2020, 00:30   #371
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Wonderful! Tomorrow I will try a new build of 3.0.2 using the SDL 2.0.5 library and I will let you know if it works. Thank you very much Frode, your support is invaluable! :-)
SnakeCoils is offline  
Old 25 February 2020, 01:17   #372
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
No luck with FS-UAE 3.1.0 even after the code fixes, the crash happens again (SDL 2.0.5):

Code:
Process:         fs-uae [58944]
Path:            /Users/snakecoils/Downloads/fs-uae-master/dist/macos/FS-UAE.app/Contents/MacOS/fs-uae
Identifier:      no.fengestad.fs-uae
Version:         3.1.0 (3.1.0)
Code Type:       PPC (Native)
Parent Process:  launchd [68]

Interval Since Last Report:          150 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  7 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2020-02-25 01:12:53.327 +0100
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  93FD90A9-23B1-4542-896F-0CCD6DEFA072

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000090349c98
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSEvent modifierFlags]: unrecognized selector sent to class 0xa0a333f4'

Thread 0 Crashed:
0   com.apple.CoreFoundation      	0x90349c98 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 0
1   libobjc.A.dylib               	0x95c374e8 objc_exception_throw + 68
2   com.apple.CoreFoundation      	0x90350f5c +[NSObject doesNotRecognizeSelector:] + 164
3   com.apple.CoreFoundation      	0x9034f4b0 ___forwarding___ + 332
4   com.apple.CoreFoundation      	0x9034f744 _CF_forwarding_prep_0 + 212
5   libSDL2-2.0.0.dylib           	0x053c6158 Cocoa_InitKeyboard + 132
6   libSDL2-2.0.0.dylib           	0x053c988c Cocoa_VideoInit + 32
7   libSDL2-2.0.0.dylib           	0x053c2d10 SDL_VideoInit_REAL + 624
8   libSDL2-2.0.0.dylib           	0x0531f24c SDL_InitSubSystem_REAL + 228
9   no.fengestad.fs-uae           	0x00d26e00 0x2000 + 13782528
10  no.fengestad.fs-uae           	0x00008298 0x2000 + 25240

Thread 1:
0   libSystem.B.dylib             	0x9169ba8c __semwait_signal + 12
1   libSystem.B.dylib             	0x916d8318 _pthread_cond_wait + 1580
2   libSDL2-2.0.0.dylib           	0x053ce728 SDL_CondWaitTimeout_REAL + 176
3   libSDL2-2.0.0.dylib           	0x053ce24c SDL_SemWaitTimeout_REAL + 132
4   libSDL2-2.0.0.dylib           	0x0538d0e8 SDL_TimerThread + 456
5   libSDL2-2.0.0.dylib           	0x0538c5a0 SDL_RunThread + 68
6   libSDL2-2.0.0.dylib           	0x053ce064 RunThread + 12
7   libSystem.B.dylib             	0x916d6f70 _pthread_start + 316

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x90349c98  srr1: 0x0002f030   dar: 0xe0021000 dsisr: 0x42000000
    r0: 0x95c374ec    r1: 0xbffff690    r2: 0xa005a5f8    r3: 0x0581c038
    r4: 0x00000000    r5: 0x00000011    r6: 0x0000510f    r7: 0x00000010
    r8: 0x059fc080    r9: 0x00050f90   r10: 0x0581c040   r11: 0x24002442
   r12: 0x9169f734   r13: 0x00000000   r14: 0x00000000   r15: 0x00000000
   r16: 0x00000000   r17: 0x00000000   r18: 0x00000000   r19: 0x00000000
   r20: 0x00000000   r21: 0x00000000   r22: 0x00d2eafc   r23: 0x00000000
   r24: 0xbffff7e8   r25: 0x95ce7348   r26: 0xa043bc7c   r27: 0xa0a333f4
   r28: 0xa006d810   r29: 0x059502c0   r30: 0xa09b5dc0   r31: 0x95c374b4
    cr: 0x24002442   xer: 0x00000004    lr: 0x95c374ec   ctr: 0x9169f734
vrsave: 0x00000000
Now I am going to rebuild the official 3.0.2 using SDL 2.0.5 and let's see what happens...
SnakeCoils is offline  
Old 25 February 2020, 02:35   #373
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Okay, it is definitely an SDL 2.0.5 issue since also FS-UAE 3.0.2 crashed with almost the same report:

Code:
Process:         fs-uae [71303]
Path:            /Users/snakecoils/Downloads/fs-uae-3.0.2/dist/macos/FS-UAE.app/Contents/MacOS/fs-uae
Identifier:      no.fengestad.fs-uae
Version:         3.0.2 (3.0.2)
Code Type:       PPC (Native)
Parent Process:  launchd [68]

Interval Since Last Report:          4526 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  864 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2020-02-25 02:28:20.145 +0100
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  93FD90A9-23B1-4542-896F-0CCD6DEFA072

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000090349c98
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSEvent modifierFlags]: unrecognized selector sent to class 0xa0a333f4'

Thread 0 Crashed:
0   com.apple.CoreFoundation      	0x90349c98 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 0
1   libobjc.A.dylib               	0x95c374e8 objc_exception_throw + 68
2   com.apple.CoreFoundation      	0x90350f5c +[NSObject doesNotRecognizeSelector:] + 164
3   com.apple.CoreFoundation      	0x9034f4b0 ___forwarding___ + 332
4   com.apple.CoreFoundation      	0x9034f744 _CF_forwarding_prep_0 + 212
5   libSDL2-2.0.0.dylib           	0x05a38158 Cocoa_InitKeyboard + 132
6   libSDL2-2.0.0.dylib           	0x05a3b88c Cocoa_VideoInit + 32
7   libSDL2-2.0.0.dylib           	0x05a34d10 SDL_VideoInit_REAL + 624
8   libSDL2-2.0.0.dylib           	0x0599124c SDL_InitSubSystem_REAL + 228
9   no.fengestad.fs-uae           	0x00b78220 0x2000 + 12018208
10  no.fengestad.fs-uae           	0x00007c14 0x2000 + 23572

Thread 1:
0   libSystem.B.dylib             	0x9169ba8c __semwait_signal + 12
1   libSystem.B.dylib             	0x916d8318 _pthread_cond_wait + 1580
2   libSDL2-2.0.0.dylib           	0x05a40728 SDL_CondWaitTimeout_REAL + 176
3   libSDL2-2.0.0.dylib           	0x05a4024c SDL_SemWaitTimeout_REAL + 132
4   libSDL2-2.0.0.dylib           	0x059ff0e8 SDL_TimerThread + 456
5   libSDL2-2.0.0.dylib           	0x059fe5a0 SDL_RunThread + 68
6   libSDL2-2.0.0.dylib           	0x05a40064 RunThread + 12
7   libSystem.B.dylib             	0x916d6f70 _pthread_start + 316

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x90349c98  srr1: 0x0002f030   dar: 0xe0021000 dsisr: 0x42000000
    r0: 0x95c374ec    r1: 0xbffff690    r2: 0xa005a5f8    r3: 0x05dd1038
    r4: 0x00000000    r5: 0x00000011    r6: 0x000050e0    r7: 0x00000010
    r8: 0x05efc080    r9: 0x00050ca0   r10: 0x05dd1040   r11: 0x24002442
   r12: 0x9169f734   r13: 0x00000000   r14: 0x00000000   r15: 0x00000000
   r16: 0x00000000   r17: 0x00000000   r18: 0x00000000   r19: 0x00000000
   r20: 0x00000000   r21: 0x00000000   r22: 0x00b83c68   r23: 0x00000000
   r24: 0xbffff7e8   r25: 0x95ce7348   r26: 0xa043bc7c   r27: 0xa0a333f4
   r28: 0xa006d810   r29: 0x05e4ffd0   r30: 0xa09b5dc0   r31: 0x95c374b4
    cr: 0x24002442   xer: 0x00000004    lr: 0x95c374ec   ctr: 0x9169f734
vrsave: 0x00000000
I have uploaded in the Zone this NON-WORKING binary in case some PPC expert around would give it a try and come back with suggestions. In the meantime I have informed the SDL2 LeopardPorts mantainer about this issue, hoping he could fix it...
SnakeCoils is offline  
Old 26 February 2020, 03:56   #374
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Well, I have removed from The Zone the broken 3.0.2 version uploading instead a freshly compiled binary for PowerMacs still using OSX 10.4 (Tiger).
The OSX specific version of SDL 2.0.3 library was used and tweaking the source here and there (mainly removing the HID_Manager references leaving HID_Library only) this great emulator can run now also on Tiger! :-)
Do not expect more speed compared to Leopard version, the performances are about the same. Enjoy!
SnakeCoils is offline  
Old 30 April 2020, 03:46   #375
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
The (unofficial) OSX PPC binary of 3.0.5 stable FS-UAE source is online and ready to download in The Zone. Enjoy!
SnakeCoils is offline  
Old 30 April 2020, 15:56   #376
amigamia
Registered User
 
Join Date: Oct 2017
Location: Virginia USA
Posts: 48
Nice work! Thanks for keeping this running..
amigamia is offline  
Old 10 December 2020, 18:48   #377
petet
Registered User
 
Join Date: Dec 2020
Location: UK
Posts: 1
Hey @SnakeCoils, any chance you can reupload FS-UAE? Would love to have a version I can run on my G5 running Tiger.
petet is offline  
Old 17 December 2020, 22:33   #378
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Quote:
Originally Posted by petet View Post
Hey @SnakeCoils, any chance you can reupload FS-UAE? Would love to have a version I can run on my G5 running Tiger.

Sorry for the delay in answer, I just uploaded two PPC binaries, one for Tiger and the other for Leopard. Don't expect miracles but a G5 machine should be powerful enough to have a nice Amiga experience :-)
SnakeCoils is offline  
Old 08 April 2021, 20:45   #379
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Hello, my apologizes in advance for such a so silly question about building FS-UAE but I am trying to make PPC binaries from GitHub source, I know that SDL2 TTF library is also required now so I compiled and installed the 2.0.14 version but I got this error during the build process:

Code:
	gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./glad/include  -I./libudis86/include  -I./prowizard/include   -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/usr/local/include/SDL2 -D_HAVE_SDL_TTF -I/usr/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing  -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT src/fsuae/fsuae-input.o -MD -MP -MF $depbase.Tpo -c -o src/fsuae/fsuae-input.o src/fsuae/fsuae-input.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from ./fsemu/src/fsemu-types.h:7:0,
                 from ./fsemu/src/fsemu-inputdevice.h:9,
                 from ./fsemu/src/fsemu-input.h:6,
                 from src/fsuae/fsuae-input.c:15:
./fsemu/src/fsemu-sdl.h:20:10: fatal error: SDL2/SDL_ttf.h: No such file or directory
 #include <SDL2/SDL_ttf.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/fsuae/fsuae-input.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [bundle] Error 2
These are the lines where I declare the SDL2 position just before launching the configure:

Code:
export SDL2_CFLAGS="-D_THREAD_SAFE -I/usr/local/include/SDL2"
export SDL2_LIBS="-L/usr/local/lib -lSDL2"
export SDL2_TTF_CFLAGS="-I/usr/local/include/SDL2"
export SDL2_TTF_LIBS="-L/usr/local/lib -lSDL2_ttf"
An indeed the required SDL2 libraries (including TTF) are just there. Am I missing something?
SnakeCoils is offline  
Old 08 April 2021, 20:48   #380
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
The warning is about missing header file, not library; do you have /usr/local/include/SDL2/SDL_ttf.h ?
FrodeSolheim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS-UAE for G4 ppc OSX 10.5.8 elowan support.FS-UAE 35 10 November 2014 19:22
[QUESTION] Will we see PPC support in FS-UAE too? amigafreak68k support.FS-UAE 39 09 September 2014 22:28
JIT on E-UAE PPC? _ThEcRoW support.OtherUAE 8 06 May 2011 23:55
PPC Emulation in UAE Beakster support.WinUAE 9 15 March 2008 11:28
PPC UAE on os 3.9 DDNI request.UAE Wishlist 7 26 October 2006 19:09

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:19.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10367 seconds with 14 queries