First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 65444
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Harald van Dijk <truedfx@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
basiliskII-gcc34.patch basiliskII-1.0.0_pre20020115 patch patch Harald van Dijk 2004-09-26 13:17 0000 2.14 KB Details | Diff
basiliskII-jit-gcc34.patch Patch for basiliskII-jit-1.0.0-r1 patch Harald van Dijk 2004-09-26 13:18 0000 939 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2004-09-26 13:15 0000
1:
basiliskII and basiliskII-jit depend on x11-libs/gtk+ if gtk USE flag is set. This should be =x11-libs/gtk+-1.2*; it doesn't support gtk+-2.

2:
basiliskII and basiliskII-jit need emake -j1, because without it, this pops up:

[...]
Configuration done. Now type "make" (or "gmake").
g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H  -DOS_linux -DCPU_i386 -DDIRECT_ADDRESSING -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS -DFPU_X86 -D_REENTRANT -DDATADIR=\"/usr/share/BasiliskII\" -march=pentium4m -O2 -pipe -I/usr/X11R6/include -fomit-frame-pointer -fno-merge-constants -c ../main.cpp -o obj/main.o
Assembler messages:
FATAL: can't create obj/main.o: No such file or directory
g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H  -DOS_linux -DCPU_i386 -DDIRECT_ADDRESSING -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS -DFPU_X86 -D_REENTRANT -DDATADIR=\"/usr/share/BasiliskII\" -march=pentium4m -O2 -pipe -I/usr/X11R6/include -fomit-frame-pointer -fno-merge-constants -c main_unix.cpp -o obj/main_unix.o
../main.cpp:235: fatal error: error writing to -: Broken pipe
compilation terminated.
g++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H  -DOS_linux -DCPU_i386 -DDIRECT_ADDRESSING -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS -DFPU_X86 -D_REENTRANT -DDATADIR=\"/usr/share/BasiliskII\" -march=pentium4m -O2 -pipe -I/usr/X11R6/include -fomit-frame-pointer -fno-merge-constants -c ../prefs.cpp -o obj/prefs.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [obj/main.o] Error 1
make: *** Waiting for unfinished jobs....

3:
basiliskII (both 0.9.0 and 1.0.0_pre20020115) need a patch to deal with changes in gcc's handling of macros in assembly. I managed to modify the code to get it to compile, but I'm having trouble running it. The window pops up and is immediately closed. Because I found someone else who had the same problem, I'm not sure if there is a problem with the patch. So I'll just attach it hoping someone who can run basiliskII can test if it works, and if it doesn't, it might still help out anyone trying to create a better patch.

4:
basiliskII-jit needs some changes too, and this I have got to run perfectly, so this I can be sure works.

(By the way, I'm using gcc 3.4.2-r2)

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Harald van Dijk 2004-09-26 13:17:26 0000 -------
Created an attachment (id=40473) [edit]
basiliskII-1.0.0_pre20020115 patch

------- Comment #2 From Harald van Dijk 2004-09-26 13:18:03 0000 -------
Created an attachment (id=40474) [edit]
Patch for basiliskII-jit-1.0.0-r1

------- Comment #3 From Daniel Black 2004-09-27 03:54:56 0000 -------
Fixed - thankyou.

------- Comment #4 From Harald van Dijk 2004-09-28 02:06:07 0000 -------
Hi, sorry to reopen this, but while basiliskII now compiles without a problem -
thanks - basiliskII-jit still won't build for me. Could you add two changes you
made to the basiliskII ebuild to the basiliskII-jit ebuild too? inherit should
have eutils in it for epatch to work, and emake should use -j1.

------- Comment #5 From Daniel Black 2004-09-28 02:25:47 0000 -------
Added -j1 to bot. Added to epatch to b*-jit. Sorry for not fixing it right the
first time.

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