Re: Bus error with gcc on simple function?
Re: Bus error with gcc on simple function?
- Subject: Re: Bus error with gcc on simple function?
- From: "Justin C. Walker" <email@hidden>
- Date: Sun, 8 Apr 2007 20:19:10 -0700
On Apr 8, 2007, at 18:28 , Ben Weiss wrote:
On Apr 8, 2007, at 6:07 PM, Justin C. Walker wrote:
On Apr 8, 2007, at 17:16 , Ben Weiss wrote:
[snip]
You'll have to enable Altivec and SSE in your targets. (These set
the __VEC__ and __SSE__ flags). I should have mentioned that.
My omniscience failed me ...
If you run gcc/g++ from the command-line with "-v", the compiler
will tell you what it's doing, and you may be able to tell where
the problem is.
Here's the output with -v enabled (now using Xcode 2.4.1):
GNU C++ version 4.0.1 (Apple Computer, Inc. build 5367) (i686-apple-
darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5367).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
heapsize=131072
Compiler executable checksum: 9ef1414b68473e3eade33817d035e4ce
/Users/benweiss/Documents/Projects/.../Test.cpp: In function 'void
foo()':
/Users/benweiss/Documents/Projects/.../Test.cpp:26: warning: unused
variable 'mult_'
/Users/benweiss/Documents/Projects/...Test.cpp:29: internal
compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
{standard input}:9:FATAL:.abort detected. Assembly stopping.
Any insight? (And yes, I submitted a bug report.)
Sorry; I've not used any of the vector stuff, so I can't be of much
use here. The above may ring bells in other quarters.
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden