git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Melton Low <softw.devl@gmail.com>
Cc: git@vger.kernel.org, "Gary V. Vaughan" <git@mlists.thewrittenword.com>
Subject: Re: Build error with 1.7.2 and 1.7.2.1 on PPC Mac OS X 10.4
Date: Thu, 29 Jul 2010 20:42:20 -0500	[thread overview]
Message-ID: <20100730014220.GC2182@burratino> (raw)
In-Reply-To: <6E0EF82C-2938-4149-A277-D51BC046B4E2@gmail.com>

Hi Mel,

Melton Low wrote:

> Error during build on 1.7.2.  I just tried building 1.7.2.1 with the
> same error.  A partial output from my attempt to build 1.7.2.1:
> 
>     * new build flags or prefix
>     CC fast-import.o
> powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
>     CC abspath.o
[...]

Looks like it worked, though loudly.

What does

	$ gcc -v
	$ echo '
#		include <pthread.h>

		int main(void)
		{
			pthread_mutex_t test_mutex;
			int retcode = 0;
			retcode |= pthread_mutex_init(&test_mutex,(void *)0);
			retcode |= pthread_mutex_lock(&test_mutex);
			retcode |= pthread_mutex_unlock(&test_mutex);
			return retcode;
		}

	' >pthreadtest.c
	$ gcc -pthread pthreadtest.c
	$ echo $?
	$ ./a.out
	$ echo $?

say?

Regards,
Jonathan

  reply	other threads:[~2010-07-30  1:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29  3:10 Build error with 1.7.2 and 1.7.2.1 on PPC Mac OS X 10.4 Melton Low
2010-07-30  1:42 ` Jonathan Nieder [this message]
2010-07-30  2:21   ` Melton Low
2010-07-30  8:28   ` David Aguilar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100730014220.GC2182@burratino \
    --to=jrnieder@gmail.com \
    --cc=git@mlists.thewrittenword.com \
    --cc=git@vger.kernel.org \
    --cc=softw.devl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).