On Wed, 8 Jan 2014 07:07:29 -0800 (PST)
kameron cole <kc0...@gmail.com> wrote:

> Having trouble from the "git" go. I installed git on my Mac OSX
> 10.7.5. Can't seem to git going.
> 
> All of the git config commands in the documentation fail with the
> error "Illegal instruction 4".  What is this?

I'd say Git process is failing due to it being sent a SIGILL signal
which is usually sent to the process on POSIX-like systems (Mac OS X
included) when it tries to execute on the host CPU a machine-level
instruction which has no sense for that CPU.  I might see two reasons
for this: 1) a garbled binary file -- a typical reason might be your
hard disk failing so when the installation process wrote that binary
file to the filesystem its content silently became thrashed; 2) somehow
you've managed to get a build of Git targeted for a hardware platform
other than the one your OS runs on.  I can't say more on (2) because I
always assumed these days those "universal" bundles are supposed to
work on any supported Mac desktop platforms, and these are Intels
anyway (m68k are long gone, if I understand correctly).

And sort of point #3: googling for the relevant info [1] yields that
certain options used for compiling the code might provide what you're
observing, namely, see [2] and [3].  I have no idea how did you get
your Git installation so it may or may not apply to you.  Please do
your own research.

1. https://www.google.com/search?q=mac+"Illegal+instruction+4";
2. http://stackoverflow.com/a/14285922/720999
3. http://stackoverflow.com/a/12906328/720999

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to