From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20626 invoked by alias); 18 Oct 2004 22:56:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20612 invoked from network); 18 Oct 2004 22:56:33 -0000 Received: from unknown (HELO pimout1-ext.prodigy.net) (207.115.63.77) by sourceware.org with SMTP; 18 Oct 2004 22:56:33 -0000 Received: from [69.209.154.29] (adsl-69-209-154-29.dsl.sfldmi.ameritech.net [69.209.154.29]) by pimout1-ext.prodigy.net (8.12.10 milter /8.12.10) with ESMTP id i9IMuRWC451284; Mon, 18 Oct 2004 18:56:29 -0400 Message-ID: <41744A1A.7040804@gcc.gnu.org> Date: Mon, 18 Oct 2004 23:16:00 -0000 From: Kelley Cook User-Agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803) MIME-Version: 1.0 To: Stan Shebs CC: Geoffrey Keating , gcc-patches@gcc.gnu.org Subject: Re: .machine for Darwin, new cctools required References: <20041014222912.9F21B1889121@geoffk5.apple.com> <416F00B3.3080700@apple.com> <65EABC41-1E33-11D9-AB40-000A95B1F520@apple.com> <416F5409.5030708@apple.com> In-Reply-To: <416F5409.5030708@apple.com> X-Archive: encrypt Content-Type: multipart/mixed; boundary="------------020109000508010702070507" X-SW-Source: 2004-10/txt/msg01573.txt.bz2 This is a multi-part message in MIME format. --------------020109000508010702070507 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 360 Stan Shebs wrote: > /var/tmp//ccFiCTZQ.s:1:Unknown pseudo-op: .machine > /var/tmp//ccFiCTZQ.s:1:Rest of line ignored. 1st junk character valued > 112 (p). > make[1]: *** [crt2.o] Error 1 > make: *** [all-gcc] Error 2 > > So yes, need to update doc/install.texi at least. Or this patch should do the trick: tested powerpc-apple-darwin7.5 OK to install? --------------020109000508010702070507 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="darwin_check.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="darwin_check.patch" Content-length: 1084 2004-10-18 Kelley Cook * configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive. * configure: Regenerate. Index: configure.ac =================================================================== RCS file: /cvs/gcc/gcc/gcc/configure.ac,v retrieving revision 2.76 diff -p -u -d -r2.76 configure.ac --- configure.ac 15 Oct 2004 02:26:15 -0000 2.76 +++ configure.ac 18 Oct 2004 22:03:32 -0000 @@ -2695,9 +2695,17 @@ foo: nop case $target in *-*-aix*) conftest_s=' .csect .text[[PR]] mfcr 3,128';; - *-*-darwin*) conftest_s=' .text + *-*-darwin*) + gcc_GAS_CHECK_FEATURE([.machine directive support], + gcc_cv_as_machine_directive,,, + [ .machine ppc7400]) + if test x$gcc_cv_as_machine_directive != xyes; then + echo "*** This target requires an assembler supporting \".machine\"" >&2 + exit 1 + fi + conftest_s=' .text mfcr r3,128';; - *) conftest_s=' .machine power4 + *) conftest_s=' .machine power4 .text mfcr 3,128';; esac --------------020109000508010702070507--