First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 18807
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrea Cerrito <is@gentestrana.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
daphne-0.99.5.ebuild Ebuild text/plain Andrea Cerrito 2003-04-05 11:51 0000 1.59 KB Details
digest-daphne-0.99.5 Digest. text/plain Andrea Cerrito 2003-04-05 11:52 0000 66 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18807 depends on: Show dependency tree
Bug 18807 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-04-05 11:51 0000
I've made a new ebuild for the daphne emulator (http://www.daphne-emu.com).
This is my first ebuild, so ... be patient :)
Anyway, it work on my machine.

------- Comment #1 From Andrea Cerrito 2003-04-05 11:51:53 0000 -------
Created an attachment (id=10227) [edit]
Ebuild

This is the ebuild.

------- Comment #2 From Andrea Cerrito 2003-04-05 11:52:14 0000 -------
Created an attachment (id=10228) [edit]
Digest.

This is the digest.

------- Comment #3 From SpanKY 2003-07-15 18:35:45 0000 -------
0.99.6 is now in portage ... i heavily modified your ebuild to make it Gentoo 
happy ... please try it out and tell me how it goes :) 

------- Comment #4 From Andrea Cerrito 2003-07-23 14:24:55 0000 -------
Not so well... 
g++ -O3 -march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse 
-falign-functions=4 -fforce-addr -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer 
-fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 
-DMMX_RGB2YUV -Wall -Winline -c nes_6502.cpp -o nes_6502.o 
nes_6502.cpp:47: warning: initialization of negative value `-1' to `uint32' 
nes_6502.cpp:47: warning: argument of negative value `-1' to `unsigned int' 
nes_6502.cpp:47: warning: initialization of negative value `-1' to `uint32' 
nes_6502.cpp:47: warning: argument of negative value `-1' to `unsigned int' 
nes_6502.cpp:53: warning: initialization of negative value `-1' to `uint32' 
nes_6502.cpp:53: warning: argument of negative value `-1' to `unsigned int' 
nes_6502.cpp:53: warning: initialization of negative value `-1' to `uint32' 
nes_6502.cpp:53: warning: argument of negative value `-1' to `unsigned int' 
g++ -O3 -march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse 
-falign-functions=4 -fforce-addr -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer 
-fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 
-DMMX_RGB2YUV -Wall -Winline -c cop.cpp -o cop.o 
g++ -O3 -march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse 
-falign-functions=4 -fforce-addr -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer 
-fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 
-DMMX_RGB2YUV -Wall -Winline -c copintf.cpp -o copintf.o 
{standard input}: Assembler messages: 
{standard input}:12890: Error: bad register name `%sil' 
{standard input}:18980: Error: bad register name `%sil' 
{standard input}:19022: Error: bad register name `%sil' 
{standard input}:27370: Error: bad register name `%sil' 
{standard input}:32975: Error: bad register name `%sil' 
make[1]: *** [m80.o] Error 1 
make[1]: Leaving directory `/home/portage/daphne-0.99.6/work/daphne/src/cpu' 
make: *** [sub] Error 2 
 
!!! ERROR: app-emulation/daphne-0.99.6 failed. 
!!! Function src_compile, Line 41, Exitcode 2 
!!! src build failed 
 

------- Comment #5 From Mr. Bones. 2003-07-23 14:38:28 0000 -------
what?  no posting of emerge info?

------- Comment #6 From Andrea Cerrito 2003-07-23 14:41:03 0000 -------
Here it is.

cerrito root # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
GENTOO_MIRRORS="http://mi.mirror.garr.it/mirrors/gentoo http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/home/portdir"
DISTDIR="/home/portdir/distfiles"
PKGDIR="/home/portdir/packages"
PORTAGE_TMPDIR="/home"
PORTDIR_OVERLAY=""
USE="oss 3dnow foomaticdb gnome mad mikmod aalib tcltk guile ruby sdl perl gtk qt x86 acpi acl alsa apm avi berkdb bonobo cdr crypt cups directfb dga dvd encode gdbm gif gpm fbcon krb4 kerberos imlib java jpeg gtk2 gtkhtml ldap libg++ libwww miknod mmx motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib png pnp python quicktime radeon readline samba slang spell sse ssl svga tcpd truetype usb X xml2 xmms xv zlib kde arts -esd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse -falign-functions=4 -fforce-addr"
CXXFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse -falign-functions=4 -fforce-addr"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

------- Comment #7 From Mr. Bones. 2003-07-23 14:50:54 0000 -------
Try it with just 

CFLAGS="-march=pentium3 -O2 -pipe"
CXXFLAGS="-march=pentium3 -O2 -pipe"

and see if that works please.

------- Comment #8 From Andrea Cerrito 2003-07-23 15:02:24 0000 -------
Same.

g++ -O3 -march=pentium3 -O2 -pipe -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer -fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 -DMMX_RGB2YUV -Wall -Winline -c nes_6502.cpp -o nes_6502.o
nes_6502.cpp:47: warning: initialization of negative value `-1' to `uint32'
nes_6502.cpp:47: warning: argument of negative value `-1' to `unsigned int'
nes_6502.cpp:47: warning: initialization of negative value `-1' to `uint32'
nes_6502.cpp:47: warning: argument of negative value `-1' to `unsigned int'
nes_6502.cpp:53: warning: initialization of negative value `-1' to `uint32'
nes_6502.cpp:53: warning: argument of negative value `-1' to `unsigned int'
nes_6502.cpp:53: warning: initialization of negative value `-1' to `uint32'
nes_6502.cpp:53: warning: argument of negative value `-1' to `unsigned int'
g++ -O3 -march=pentium3 -O2 -pipe -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer -fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 -DMMX_RGB2YUV -Wall -Winline -c cop.cpp -o cop.o
g++ -O3 -march=pentium3 -O2 -pipe -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer -fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 -DMMX_RGB2YUV -Wall -Winline -c copintf.cpp -o copintf.o
{standard input}: Assembler messages:
{standard input}:12940: Error: bad register name `%sil'
{standard input}:19036: Error: bad register name `%sil'
{standard input}:19079: Error: bad register name `%sil'
{standard input}:27969: Error: bad register name `%sil'
{standard input}:33635: Error: bad register name `%sil'
{standard input}:33680: Error: bad register name `%sil'
make[1]: *** [m80.o] Error 1
make[1]: Leaving directory `/home/portage/daphne-0.99.6/work/daphne/src/cpu'
make: *** [sub] Error 2

!!! ERROR: app-emulation/daphne-0.99.6 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! src build failed

------- Comment #9 From SpanKY 2003-07-23 15:42:18 0000 -------
do it with just CFLAGS=-pipe and CXXFLAGS=-pipe 

------- Comment #10 From SpanKY 2003-07-23 15:58:11 0000 -------
it appears to be a bug with march=p3 ... it works just fine with march=p4 and 
march=i686, but failed on my box with p3 :/ 
 
ill replace flags in the ebuild to change the p3 into a i686 

------- Comment #11 From SpanKY 2003-07-23 16:10:35 0000 -------
i guess march=i686 fails too ! 
 
i586 and pentium4 work fine, so ill filter p3/686 down to 586 :/ 

------- Comment #12 From SpanKY 2003-07-23 16:41:15 0000 -------
ok, those flags are now filtered 

------- Comment #13 From Montag 2004-08-07 12:34:37 0000 -------
The ebuild in portage (daphne-0.99.6-r2) doesn't filter i686/pentium3 flags.
You have to manually add the following to it:
replace-flags -march=i686 -march=i586
replace-flags -march=pentium3 -march=i586

------- Comment #14 From SpanKY 2004-08-20 21:29:49 0000 -------
fixed in cvs

First Last Prev Next    No search results available      Search page      Enter new bug