Previous Thread
Next Thread
Print Thread
Page 7 of 52 1 2 5 6 7 8 9 51 52
Joined: Feb 2007
Posts: 507
C
Senior Member
Offline
Senior Member
C
Joined: Feb 2007
Posts: 507
Thanks!
The following has a empty result:
Code:
grep -v "signed and unsigned" /tmp/build.log \
  | grep -v "ignoring return" \
  | grep warning | grep -v "strict-aliasi"


It is basically warnings on "signed and unsigned" integer comparisons, ignoring return values and strict aliasing. The last is explicitly turned off in the makefile and the second deliberately turned off in sdl_prefix.h (_FORTIFY_SOURCE) for debian distros.

Joined: Mar 2001
Posts: 16,892
Likes: 51
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,892
Likes: 51
99% of those signed/unsigned warnings in that log are from about 6 lines in inptport.h - fixing those would certainly clear a lot of the noise out. JD might wanna check the ones in the RDP too.

Joined: Apr 2007
Posts: 155
Senior Member
Offline
Senior Member
Joined: Apr 2007
Posts: 155
0.136u1 is overwritting my default.cfg sistematically.

Every time I open a new session of sdlmame my default.cfg turns back to (really =) default configs.

Any tips?

Tnx!


Slackware13.0-64
kernel2.6.31.6-SDL 1.2.14-DirectFB 1.4.0
SLDMame 0.136
21"CRT 15Khz-nv framebuffer
Joined: Mar 2001
Posts: 16,892
Likes: 51
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,892
Likes: 51
That was already reported at MAMETesters - it also happens in baseline.

Joined: Jun 2007
Posts: 223
B
Senior Member
Offline
Senior Member
B
Joined: Jun 2007
Posts: 223
Runs OK on YDL 6.2 / PS3. Here's my log (lots of warnings):

make BIGENDIAN=1 NOWERROR=1 >makelog.txt 2>&1
http://pleasantfiction.ipower.com/ps3linux/makelog.tar.bz2

[bill@localhost mame0136]$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)

Last edited by billb; 01/18/10 07:12 PM.
Joined: Jul 2008
Posts: 19
P
Member
Offline
Member
P
Joined: Jul 2008
Posts: 19
Hi,,

following the steps i compiled mame normally.

Code:
7z x ../scripts/mame0136s.zip && 7z x mame.zip && rm -f mame.zip
7z x ../updates/0136u1_diff.zip
patch -p0 -i 0136u1.diff
endings
time make -j5 NO_X11=1 OPTIMIZE=3 ARCHOPTS="-O2 -fPIC" PTR64=1


the final output give me this code:
Code:
Linking mame64...

real    4m32.947s
user    13m53.185s
sys     1m13.765s
powtrix@trix64:~/downloads/sdlmame/wip$ ls
0136u1.diff  docs/  makefile  mame64*  obj/  src/  whatsnew_0136u1.txt  whatsnew.txt
powtrix@trix64:~/downloads/sdlmame/wip$ file mame64
mame64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped


My OS:
Code:
Kernel: 2.6.32.3
OS: Slackware64 13.1 -current
KDE / Qt: 4.3.4 / 4.5.3
gcc version 4.4.2 (GCC)


final words, works fine!!
grin


--
pow!
Joined: Feb 2007
Posts: 507
C
Senior Member
Offline
Senior Member
C
Joined: Feb 2007
Posts: 507
Originally Posted By billb
Runs OK on YDL 6.2 / PS3. Here's my log (lots of warnings):

make BIGENDIAN=1 NOWERROR=1 >makelog.txt 2>&1
http://pleasantfiction.ipower.com/ps3linux/makelog.tar.bz2

[bill@localhost mame0136]$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)


Can you please post the output of "uname -a". This eventually will enable us to autodetect the BIGENDIAN on ppc linux.

Thank you!

Edit: Just had a look at your log. Did you edit the makefile. I am asking this only to leave no room for interpretation.

Last edited by couriersud; 01/18/10 08:08 PM.
Joined: Jun 2007
Posts: 223
B
Senior Member
Offline
Senior Member
B
Joined: Jun 2007
Posts: 223
No, haven't edited the makefile -- it is the same as it was after patching from the 0136u1.diff after Step 5 of the guide in this topic.

[bill@localhost mame0136]$ md5sum makefile
43724f271cc7c0671392a736cac63dbf makefile

[bill@localhost mame0136]$ uname -a
Linux localhost.localdomain 2.6.29-3.ydl61.4 #1 SMP Mon Sep 7 14:50:27 PDT 2009 ppc64 ppc64 ppc64 GNU/Linux

[bill@localhost mame0136]$ file mame
mame: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped


Joined: Feb 2007
Posts: 507
C
Senior Member
Offline
Senior Member
C
Joined: Feb 2007
Posts: 507
Thanks a lot for posting the information!
I will try to add some automagic to enable compiling 64bit executables. Will need some a couple of release thought since qemu ppc emulation does not allow me to get anything up and running.

Joined: Jun 2007
Posts: 223
B
Senior Member
Offline
Senior Member
B
Joined: Jun 2007
Posts: 223
My understanding is that we want to use 32bit on powerpc for nearly everything except the kernel.

http://en.wikipedia.org/wiki/PowerPC#Operating_systems

Page 7 of 52 1 2 5 6 7 8 9 51 52

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
2 members (Rik, 1 invisible), 23 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,071
Posts118,945
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com