bugpenalyze2 PE executable analyzer - Bugs: bug #17497, Not compiling on OS X PowerPC

 
 

bug #17497: Not compiling on OS X PowerPC

Submitted by:  Ryan Russell <ryanlrussell>
Submitted on:  Tue 22 Aug 2006 08:55:48 AM UTC  
 
Category: MiscSeverity: 3 - Normal
Item Group: Compilation problemStatus: Fixed
Assigned to: Stephan Peijnik <sp>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 22 Aug 2006 03:58:52 PM UTC, comment #3:

Fix looks good, thanks! That was quick.

Ryan Russell <ryanlrussell>
Tue 22 Aug 2006 03:10:38 PM UTC, comment #2:

Tested the work-around and it seems to be working on a Macbook with Mac OS X 10.4.7 i386.

Stephan Peijnik <sp>
Project AdministratorIn charge of this item.
Tue 22 Aug 2006 09:06:52 AM UTC, comment #1:

I have just uploaded a work-around for this problem to CVS.
In theory it should fix the problem.

Stephan Peijnik <sp>
Project AdministratorIn charge of this item.
Tue 22 Aug 2006 08:55:48 AM UTC, original submission:

OS X 10.4.7 PowerPC (iBook G4)

Appears to be Aug 17 codbase, checked out via CVS early on Aug 22.

Haven't done any work yet to see if I can fix it. Will update with more details later.

Error output:

ryan-russells-ibook-g4:/usr/local/src/penalyze2 ryanlrussell$ sudo make
make -C src
cd vm_chooks; ./gen_vm_chooks_init.c.sh
Generating vm_chooks_init.c: DONE
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o bitops.o -c bitops.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o pe.o -c pe.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o penalyze2.o -c penalyze2.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm.o -c vm.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_chooks.o -c vm_chooks.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_mem.o -c vm_mem.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_adc.o -c vm_ins/vm_ins_adc.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_add.o -c vm_ins/vm_ins_add.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_and.o -c vm_ins/vm_ins_and.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_call.o -c vm_ins/vm_ins_call.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_cmp.o -c vm_ins/vm_ins_cmp.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_dec.o -c vm_ins/vm_ins_dec.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_inc.o -c vm_ins/vm_ins_inc.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_jmp.o -c vm_ins/vm_ins_jmp.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_jmpc.o -c vm_ins/vm_ins_jmpc.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_lea.o -c vm_ins/vm_ins_lea.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_mov.o -c vm_ins/vm_ins_mov.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_nop.o -c vm_ins/vm_ins_nop.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_or.o -c vm_ins/vm_ins_or.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_pop.o -c vm_ins/vm_ins_pop.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_push.o -c vm_ins/vm_ins_push.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_ret.o -c vm_ins/vm_ins_ret.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_shx.o -c vm_ins/vm_ins_shx.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_sub.o -c vm_ins/vm_ins_sub.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_test.o -c vm_ins/vm_ins_test.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_xchg.o -c vm_ins/vm_ins_xchg.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_ins/vm_ins_xor.o -c vm_ins/vm_ins_xor.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_chooks/gdi32.dll.o -c vm_chooks/gdi32.dll.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_chooks/kernel32.dll.o -c vm_chooks/kernel32.dll.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_chooks/msvcrt.dll.o -c vm_chooks/msvcrt.dll.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_chooks/user32.dll.o -c vm_chooks/user32.dll.c
gcc -Wall -Werror -g -O3 -I../include -I../libdasm-1.4/ -o vm_chooks/wsock32.dll.o -c vm_chooks/wsock32.dll.c
make -C ../libdasm-1.4
gcc -Wall -O3 -fPIC -g -c -o libdasm.o libdasm.c
gcc -Wall -O3 -fPIC -g -shared -o libdasm.so libdasm.c
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-shared'
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make[2]: *** [all] Error 1
make[1]: *** [build] Error 2
make: *** [penalyze2] Error 2
ryan-russells-ibook-g4:/usr/local/src/penalyze2 ryanlrussell$

Ryan Russell <ryanlrussell>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 22 Aug 2006 04:13:39 PM UTCspItem GroupNone=>Compilation problem
  StatusNone=>Fixed
  Assigned toNone=>sp
  Open/ClosedOpen=>Closed
Tue 22 Aug 2006 09:06:52 AM UTCspCategoryNone=>Misc

Back to the top


Powered by Savane 3.1-cleanup1