Notes: Git on OSX 10.4.1 with Bus Error

« Merging in Git | Main | snmpd interface name length bug »

Git on OSX 10.4.1 with Bus Error

compiler flags -O2 on OSX 10.4.1
bus error on clone, something about git-update-ref
dropping to -O1 makes it go away

$ gcc -v Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)

$ cat iter.sh #!/bin/sh

set -e
set -x

make prefix=/Users/hachi clean all
cd t
make t1400-update-ref.sh

$ git checkout master
$ git pull
$ git bisect start
$ git bisect bad
$ git checkout v1.5.3
$ git bisect good
$ git bisect run ./iter.sh
... lots of output
c43a24834a9babd3ddd9c27ccc81174c2cb36859 is first bad commit
commit c43a24834a9babd3ddd9c27ccc81174c2cb36859
Author: Pierre Habouzit
Date: Fri Dec 21 11:41:41 2007 +0100

Force the sticked form for options with optional arguments.

This forbids "git tag -n -l" we allowed earlier, so
adjust t7004 while at it.

Signed-off-by: Pierre Habouzit

:100644 100644 e12b428c0a76a635041f678a3eaf05300d780061 7a08a0c64f9f447e09ef6771d83dbf95f8f3545d M parse-options.c
:040000 040000 97d205cf36b2a3f2521726b510fb37096b60e5dc fcd2f25cef31e362d755a91c5f5dc181169ce5ff M t
bisect run success

TrackBack

TrackBack URL for this entry:
http://hachi.kuiki.net/mt/mt-tb.cgi/22

Post a comment