[Bf-committers] MacOS Compile Solved -WARNING

Michael Velikanje bf-committers@blender.org
Sun, 28 Sep 2003 06:48:05 -0800

I have one crash (so far) with the g++3.3 compiled binary. When adding  
an Image texture, if I click on 'Load Image' blender crashes, if I use  
the file view it works fine.
OS X 2.6
Date/Time:  2003-09-28 06:39:53 -0800
OS Version: 10.2.6 (Build 6L60)
Host:       Power.local.

Command:    blender
PID:        19383

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
  #0   0x0011089c in issort (crt.c:300)
  #1   0x00111538 in get_ima_dir (crt.c:300)
  #2   0x0013386c in drawimaselspace (crt.c:300)
  #3   0x000bb8f0 in scrarea_do_windraw (crt.c:300)
  #4   0x00005d1c in scrarea_dispatch_events.22 (crt.c:300)
  #5   0x0000adf4 in screen_dispatch_events.35 (crt.c:300)
  #6   0x0000c0c8 in screenmain (crt.c:300)
  #7   0x00003ba4 in main (crt.c:300)
  #8   0x00002900 in _start (crt.c:267)
  #9   0x00002780 in start

PPC Thread State:
   srr0: 0x0011089c srr1: 0x0000f030                vrsave: 0x00000000
    xer: 0x00000000   lr: 0x0011078c  ctr: 0x00000001   mq: 0x00000000
     r0: 0x0313fc1c   r1: 0xbffff820   r2: 0x00000012   r3: 0xfffffffd
     r4: 0x0313fc39   r5: 0x00000004   r6: 0x00000000   r7: 0x00000012
     r8: 0x00000013   r9: 0x00000000  r10: 0x0313e4c8  r11: 0x0313e4cc
    r12: 0x90026880  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
    r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x0313c90c
    r20: 0x0313c900  r21: 0x0313c880  r22: 0x00000000  r23: 0x00000004
    r24: 0x00000001  r25: 0x03120cb0  r26: 0x00000013  r27: 0x00000000
    r28: 0x0313c900  r29: 0x0313e47c  r30: 0x00000013  r31: 0x00110730


> I have gotten blender to compile using g++3.3 (OS X 2.6) by setting the
> (-mcpu=G4 -fast) flags, the default for g++3.3 is for the -mcpu=G5 flag
> to be set.

> This compiled fine, and produced a working binary:) Before setting the
> flags I had the same error/warning that Bischofftep had about AIFF.h.
> Michael Velikanje
> ----------------------------------------------------------------------- 
> -
> ----------
> Subject: [Bf-committers] MacOS Compile Solved - WARNING
> Reply-To: bf-committers@blender.org
> Hey all:
> Okay, working with Michael Velanjke (sp?) I figured out what the
> problem has been with my compiling on OS X.
> This may be old news, but it's important to me: Blender will not
> compile under gcc 3.3, but does just fine under 3.1.
> Why is this important to me?
> When Apple ships the G5 Macintosh with OS 10.3, the only dev tools
> which will compile for that machine will be the latest version: gcc 3.3
> with Apple's extensions for G5 compatibility.
> Right now, due to problems in the way QuickTime is handled in Blender's
> source, it will NOT compile under gcc3.3.
> If I'm crying wolf, please let me know... but as far as I can tell this
> will be a problem we have to fix at some point.
> Thanks for the help,
> -Bischofftep
> --__--__--
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
> End of Bf-committers Digest