Member Site Forums Rosetta 3 Rosetta 3 – General mode=release compile on a mac-pro , seg faults and bus errors Reply To: mode=release compile on a mac-pro , seg faults and bus errors

#4614
Anonymous

    Thanks for the advice.

    I tried the snow leopard patch (even though this machine is running leopard) — didnt work.

    Starting from the ‘debug’ setup

    I tried changing -O0 to -O1 , -02, -03 and removing the -g -ggdb lines from the ‘debug’ section and changing compilers.

    Summary:
    Removing -g -ggdb lines works, but does not speed things significantly

    changing optimizations level from -O0 (which works) to 1,2 or 3 all cause seg faults and bus errors.

    Tried diff compilers:
    gcc version 4.0.1 (Apple Inc. build 5493)
    gcc version 4.2.1 (Apple Inc. build 5574)

    both fail with any optimizations above -O0

    Seems I’ll have to upgrade to snow leopard and hope other software on the machine does not go south.