English Amiga Board


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

 
 
Thread Tools
Old 06 December 2014, 22:12   #121
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Frode check here!

Frode im try to build Fs uae on my G5 and i have this error,
i read all the post from Snake and your reply but dont find nothing about it... can be a G5 issue on MacOsX?
i had been try ./configure with and without disable ppc line but i have the same results

EDIT:fixed ... the expression is not liked by Gcc 4.9.2 i swap with gcc 4.2

Code:
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include  -I../include -I../include  -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -g  -O3 -fomit-frame-pointer -fno-common -std=gnu89 -faltivec  -g -O2 -MT libmpeg2arch_la-idct_altivec.lo -MD -MP -MF .deps/libmpeg2arch_la-idct_altivec.Tpo -c -o libmpeg2arch_la-idct_altivec.lo `test -f 'idct_altivec.c' || echo './'`idct_altivec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -g -O3 -fomit-frame-pointer -fno-common -std=gnu89 -faltivec -g -O2 -MT libmpeg2arch_la-idct_altivec.lo -MD -MP -MF .deps/libmpeg2arch_la-idct_altivec.Tpo -c idct_altivec.c  -fno-common -DPIC -o .libs/libmpeg2arch_la-idct_altivec.o
idct_altivec.c:62:51: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                   ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:62:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                      ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:62:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                         ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:62:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                            ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:62:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                               ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:62:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                  ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:62:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                     ^
idct_altivec.c:66:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (23170, 13573, 6518, 21895, -23170, -21895, 32, 31);
     ^
idct_altivec.c:66:5: error: can't convert between vector values of different size
idct_altivec.c:62:51: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                   ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:62:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                      ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:62:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                         ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:62:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                            ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:62:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                               ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:62:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                  ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:62:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                     ^
idct_altivec.c:68:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725);
     ^
idct_altivec.c:68:5: error: can't convert between vector values of different size
idct_altivec.c:62:51: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                   ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:62:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                      ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:62:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                         ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:62:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                            ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:62:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                               ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:62:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                  ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:62:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                     ^
idct_altivec.c:70:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (16069, 22289, 20995, 18895, 16069, 18895, 20995, 22289);
     ^
idct_altivec.c:70:5: error: can't convert between vector values of different size
idct_altivec.c:62:51: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                   ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:62:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                      ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:62:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                         ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:62:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                            ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:62:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                               ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:62:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                  ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:62:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                     ^
idct_altivec.c:72:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692);
     ^
idct_altivec.c:72:5: error: can't convert between vector values of different size
idct_altivec.c:62:51: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                   ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
     ^
idct_altivec.c:62:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                      ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
     ^
idct_altivec.c:62:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                         ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
     ^
idct_altivec.c:62:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                            ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
     ^
idct_altivec.c:62:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                               ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
     ^
idct_altivec.c:62:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                  ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
     ^
idct_altivec.c:62:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define VEC_S16(a,b,c,d,e,f,g,h) (vector_s16_t) (a, b, c, d, e, f, g, h)
                                                                     ^
idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
     VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
idct_altivec.c:74:5: error: can't convert between vector values of different size
make[5]: *** [libmpeg2arch_la-idct_altivec.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [bundle] Error 2

Last edited by tlosm; 07 December 2014 at 10:18.
tlosm is offline  
Old 08 December 2014, 01:59   #122
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Finally i built FsUae totally on Quad G5!
Make me creazy because i found a strange apple thing...
libpng15 on Xcode 3.1.4 was only for x86 and not for PPC!...
I build from sources and replaced it
(Snake you can do the same it is on source force)

Now my build running ... now i will see if i add the G5 optimization flags and build with it.
Next level will be try to make the PPC working!

Frode it build with qemu flags enabled too. in make file i deleted the "#" where the qemu was called.

Code:
fs_uae_LDADD += qemu/uae/libqemu.a
LIBS += -lutil
AM_CPPFLAGS += -I$(s)/qemu/uae
am__append_15 = \
	src/ppc/ppcd.cpp \
	src/ppc/ppcd.h
EDIT: I m able to make it Altivec Optimized ... many video procedures become much more faster and responsive






Last edited by tlosm; 08 December 2014 at 12:25.
tlosm is offline  
Old 08 December 2014, 16:43   #123
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
I had been success with build with Libua and PearPc core too
tlosm is offline  
Old 08 December 2014, 18:39   #124
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
I had been modded the lsi scsi but now another issue come ... the emulator quit with bus error.
Frode how to know if it open the qemu-uae.so and how to swap or Enable the PearPC core instead the qemu?


In case this is the log.txt you will see the crash when it come... im checking the scsi code hope something will be fixed .

I had been run the a 4000 emulation with cyberstorm with Dialoga Rom and it reported by the Hardware an Illegal Division by 0 ...
For the A1200 PPC the not presence of Realtime Clock.
Attached Files
File Type: txt fs-uae.log.txt (44.0 KB, 205 views)

Last edited by tlosm; 08 December 2014 at 20:56.
tlosm is offline  
Old 09 December 2014, 00:13   #125
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Big grin Something is moooving!

... now is time to understand how to made the qemu-uae.so open!


HELP!

tlosm is offline  
Old 09 December 2014, 00:23   #126
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by tlosm View Post
Frode it build with qemu flags enabled too. in make file i deleted the "#" where the qemu was called.

[CODE]#fs_uae_LDADD += qemu/uae/libqemu.a
#LIBS += -lutil
#AM_CPPFLAGS += -I$(s)/qemu/uae
These lines should not be uncommented, it's just some old cruft which is not used any more. qemu-uae is loaded dynamically using dlopen. --enable-pearcp-cpu shouldn't be used either. It's not tested any more, and I believe it crashes if you actually try to use it. Only qemu-uae is supported for PPC emulation.

QEMU-UAE must be added to FS-UAE as a "plugin" (You can see http://fs-uae.net/plugins for how it is packaged for the other platforms). The plugin (qemu-uae.so) will be loaded on demand when the PPC feature is used.
FrodeSolheim is offline  
Old 09 December 2014, 00:28   #127
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Ok! Frode .
will made more test and report .
after i will share my configure-qemu-uae and my Makefile modded for have the altivec optimized.
plus the scsi file modded for the cyberstorm too
:-)
tlosm is offline  
Old 09 December 2014, 21:19   #128
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Thumbs down

@Frode plz can you check my logs because im becoming creazy try to make fs-uae open the plug-ins of qemu-uae.so and new build libcapsimage.so ?


this is my plugin.ini:
[plugin]
version = 5.1
version = 3.3.0qemu2.1.0

[macosx-xppc]
libcapsimage = libcapsimage.so
libqemu-uae = qemu-uae.so

The two right now are in:
users/___/Documents/FS-UAE/Plugins/plugin.ini

users/___/Documents/FS-UAE/Plugins/3.3.0qemu2.1.0/qemu-uae.so

users/___/Documents/FS-UAE/Plugins/5.1/libcapsimage.so



Edit: probably is because i deleted like you suggested the
Quote:
It is not essential, unless you want to load the qemu-uae.so plugin. So you can remove -rpath @executable_path/../Frameworks from configure.ac...
... there is a advance for make it work?

Edit probably i found the solution..of @executable_path will check after building..
Edit again ... nothing the plugin continue not become loaded :-/
Attached Files
File Type: uae debug.uae (4.0 KB, 155 views)
File Type: txt fs-uae.log.txt (59.3 KB, 217 views)

Last edited by tlosm; 10 December 2014 at 00:12.
tlosm is offline  
Old 10 December 2014, 21:49   #129
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
@tlosm the main problem is your plugin structure, you should have the following files.
Code:
users/___/Documents/FS-UAE/Plugins/qemu-uae-macosx-ppc/3.3.0qemu2.1.0/qemu-uae.so
users/___/Documents/FS-UAE/Plugins/qemu-uae-macosx-ppc/plugin.ini
users/___/Documents/FS-UAE/Plugins/libcapsimage-macosx-ppc/5.1/libcapsimage.so
users/___/Documents/FS-UAE/Plugins/libcapsimage-macosx-ppc/plugin.ini
(and each plugin.ini must contain the version number corresponding to the version subdir)

Also, apart from the error in plugin.ini (two version numbers) there's a typo in the plugin.ini: [macosx-xppc] should be [macosx-ppc].

Regarding the "rpath stuff", that should only be relevant when you want to distribute the resulting binaries/libraries. It shouldn't matter on your own development system.
FrodeSolheim is offline  
Old 10 December 2014, 23:08   #130
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Thankyou Frode!
now the .so are loaded but mine is too old probably you update something
or my build of qemu-uae.so is not good and i have to remede a new one


Edit: NOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Was happy because the qemu-euae build without any problems or any warning

Code:
Thread 6 Crashed:
0   dyld                          	0x8fe121c8 ImageLoaderMachO::hasCoalescedExports() const + 4
1   dyld                          	0x8fe15204 ImageLoaderMachO::parseLoadCmds() + 136
2   dyld                          	0x8fe05e00 dyld::loadPhase5open(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 1200
3   dyld                          	0x8fe0606c dyld::loadPhase4(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 232
4   dyld                          	0x8fe064c0 dyld::loadPhase3(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 596
5   dyld                          	0x8fe06980 dyld::loadPhase1(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 176
6   dyld                          	0x8fe06ae8 dyld::loadPhase0(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 240
7   dyld                          	0x8fe06b9c dyld::load(char const*, dyld::LoadContext const&) + 136
8   dyld                          	0x8fe0c154 dlopen + 504
9   libSystem.B.dylib             	0x96bd9ca4 dlopen + 84
10  fs-uae                        	0x000be8f4 uae_dlopen(char const*) + 68
11  fs-uae                        	0x000bea60 uae_dlopen_plugin(char const*) + 160
12  fs-uae                        	0x001914a4 uae_qemu_uae_init() + 84
13  fs-uae                        	0x0018fb34 initialize() + 116
14  fs-uae                        	0x001907a8 uae_ppc_cpu_reboot() + 40
15  fs-uae                        	0x0007a7ac blizzardio_bput(unsigned int, unsigned int) + 1212
16  fs-uae                        	0x00211d54 op_10bc_0_ff(unsigned int) + 116
17  fs-uae                        	0x0016455c m68k_run_2() + 124
18  fs-uae                        	0x00162688 m68k_go(int) + 1992
19  fs-uae                        	0x001439a4 real_main(int, char**) + 2372
20  fs-uae                        	0x001774e4 amiga_main + 84
21  fs-uae                        	0x0000d018 main_function + 24 (main.c:651)
22  fs-uae                        	0x008cb1c0 emulation_thread_entry + 160
23  libglib-2.0.0.dylib           	0x044d1120 g_thread_proxy + 160
24  libSystem.B.dylib             	0x96c12f70 _pthread_start + 316

Last edited by tlosm; 10 December 2014 at 23:15.
tlosm is offline  
Old 14 December 2014, 23:35   #131
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Success in build the last .21 dev (with my small patch for made cyberstormppc run) ... no ppc same problem as before

A1200 with ppc load (with my small patch for made blizzardppc run) slow but load ... before not, but crash as cyberstormppc too

Code:
Thread 6 Crashed:
0   dyld                          	0x8fe121c8 ImageLoaderMachO::hasCoalescedExports() const + 4
1   dyld                          	0x8fe15204 ImageLoaderMachO::parseLoadCmds() + 136
2   dyld                          	0x8fe05e00 dyld::loadPhase5open(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 1200
3   dyld                          	0x8fe0606c dyld::loadPhase4(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 232
4   dyld                          	0x8fe064c0 dyld::loadPhase3(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 596
5   dyld                          	0x8fe06980 dyld::loadPhase1(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 176
6   dyld                          	0x8fe06ae8 dyld::loadPhase0(char const*, dyld::LoadContext const&, std::vector<char const*, std::allocator<char const*> >*) + 240
7   dyld                          	0x8fe06b9c dyld::load(char const*, dyld::LoadContext const&) + 136
8   dyld                          	0x8fe0c154 dlopen + 504
9   libSystem.B.dylib             	0x96bd9ca4 dlopen + 84
10  fs-uae                        	0x000bf114 uae_dlopen(char const*) + 68
11  fs-uae                        	0x000bf1d0 uae_dlopen_plugin(char const*) + 112
12  fs-uae                        	0x0019167c uae_qemu_uae_init() + 108
13  fs-uae                        	0x00190814 __ZL10initializev + 116
14  fs-uae                        	0x00190db8 uae_ppc_cpu_reboot() + 40
15  fs-uae                        	0x0007c504 __ZL15blizzardio_bputjj + 1204
16  fs-uae                        	0x0020ceac op_10bc_0_ff(unsigned int) + 156
17  fs-uae                        	0x00162e0c __ZL10m68k_run_2v + 140
18  fs-uae                        	0x001620a8 m68k_go(int) + 2056
19  fs-uae                        	0x001436a8 real_main(int, char**) + 2360
20  fs-uae                        	0x001776a4 amiga_main + 84
21  fs-uae                        	0x0000c208 main_function + 24 (main.c:651)
22  fs-uae                        	0x008721f0 emulation_thread_entry + 176
23  libglib-2.0.0.dylib           	0x0447b120 g_thread_proxy + 160
24  libSystem.B.dylib             	0x96c12f70 _pthread_start + 316

Last edited by tlosm; 14 December 2014 at 23:48.
tlosm is offline  
Old 14 December 2014, 23:54   #132
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
It is possible that the dynamic loader in 10.5 cannot load dynamiclibs, and that it wants bundles instead (I don't know if this is the case, and it would be strange to handle this by crashing anyway).

You can try to open rules.mak and replace:
Code:
LINKPROG = $(or $(CXX),$(CC)) -shared
with:
Code:
LINKPROG = $(or $(CXX),$(CC)) -bundle
and then recompile qemu-uae.so

Before:
Code:
$ file qemu-uae.so
qemu-uae.so: Mach-O dynamically linked shared library i386
After:
Code:
$ file qemu-uae.so
qemu-uae.so: Mach-O bundle i386
I don't know if this will help. And I'm not really inclined to spend time debugging why the dynamic loader in OS X 10.5 crashes if not :-/
FrodeSolheim is offline  
Old 15 December 2014, 02:13   #133
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Just compiled the 2.5.22dev (and the 2.5.21dev before) and I noticed a sensible slowdown in emulation, demos and games that running almost smooth until 2.5.20 now seems to require more CPU power than before, scrolling and audio during heavy workload now becomes stuttering and the settings are the same I used on previous versions.
SnakeCoils is offline  
Old 15 December 2014, 10:46   #134
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Thank you frode i will check with your advice if i will able to build and made run with ppc emaultation working

About it the crash with "trap" come on linuxPPC too not only on OsX 10.5.
im sure if will fixed on MacOsx will be working on Linuxtoo ... my small patch work there too.
i m investigating if there are some endianess, pretty sure it in fsuae code (uae part)more than qemu because qemu-uae build lgreat without any waring like the original qemu 2.20

Last edited by tlosm; 15 December 2014 at 10:52.
tlosm is offline  
Old 15 December 2014, 11:46   #135
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by SnakeCoils View Post
Just compiled the 2.5.22dev (and the 2.5.21dev before) and I noticed a sensible slowdown in emulation, demos and games that running almost smooth until 2.5.20 now seems to require more CPU power than before, scrolling and audio during heavy workload now becomes stuttering and the settings are the same I used on previous versions.
SnakeCoils plz share your build like you did with mame because i know many guys that are insterested in your great work and every time ask me your builds because not registered here:P
tlosm is offline  
Old 15 December 2014, 12:38   #136
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
No problem, my repository is open to all PPC-OSX fellows addicted to emulation :-)

https://www.mediafiamma.com/folder/gb1rohgpol4df/FS-UAE

You have to manually change the "fiamma" word in "fire" in the "mediafiamma" link part above because its explicit name is automatically deleted by the forum host.
At present last builds are not yet uploaded (I'm at work now) but late this evening they will be.

@tlosm: if you have discovered some Altivec optimizations for FS-UAE (for the 68k part) it is time to submit them to Frode, I think the minimum system requirements for a decent emulation on OSX ppc is definitely increased and every possible speedup is at this point necessary to keep G4 Macs still usable for this emulator.

Last edited by SnakeCoils; 15 December 2014 at 13:00.
SnakeCoils is offline  
Old 15 December 2014, 14:22   #137
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
it is really simple Snake and you can do it to all your port in future

after did the ./configure open the makefile and where the cppflags are add:

example:
CPPFLAGS = -faltivec -maltivec

for me the result is : faster graphic and no glitched (yellow) 16bit 32bit colors rtg in fsuae.


This is the line for build the qemu-uae it need the macports because i dont build all the requied libs for now.

CFLAGS="$CFLAGS" ./configure \
--prefix=/opt/local \
--cpu=ppc \
--cc=gcc-4.2 \
--objcc=gcc-4.2 \
--host-cc=gcc-4.2 \
--python=/opt/local/bin/python2.7 \


remember to swap the libpng15 on your 10.5 because it is X86 and not ppc ... download it from the repository and do "make install" or replace it manually

Last edited by tlosm; 15 December 2014 at 14:27.
tlosm is offline  
Old 15 December 2014, 18:37   #138
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
@Frode
i dont know look like the qemu-uae change too much and now is a big problem to start the ./configure

after run the bootstrap i run the ./configure
original and modded too ...and i have

Code:
./configure
./configure: fork: Resource temporarily unavailable
the command wait forever.

Last edited by tlosm; 15 December 2014 at 18:48.
tlosm is offline  
Old 15 December 2014, 20:50   #139
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by SnakeCoils View Post
Just compiled the 2.5.22dev (and the 2.5.21dev before) and I noticed a sensible slowdown in emulation, demos and games that running almost smooth until 2.5.20 now seems to require more CPU power than before, scrolling and audio during heavy workload now becomes stuttering and the settings are the same I used on previous versions.
Looks like this is noticed by people on other platforms as well: http://eab.abime.net/showthread.php?t=76188 (I'll reply in that thread).
FrodeSolheim is offline  
Old 15 December 2014, 21:21   #140
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by tlosm View Post
@Frode
i dont know look like the qemu-uae change too much and now is a big problem to start the ./configure

after run the bootstrap i run the ./configure
original and modded too ...and i have

Code:
./configure
./configure: fork: Resource temporarily unavailable
the command wait forever.
Sounds like ./configure calls itself recursively...

Actually, it does on purpose, I merged configure-qemu-uae into configure, so it calls itself with the default options (mainly to avoid people reporting bugs because they run ./configure instead of ./configure-qemu-uae). However, this line should prevent it from calling itself more than once:
Code:
if [ "$1" != "--target-list=ppc-softmmu" ]; then
Perhaps you have modified the configure script so it no longer calls itself with --target-list=ppc-softmmu as the first argument?
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 11:46.

Top

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