From: Stan Shebs <shebs@apple.com>
To: Geoffrey Keating <geoffk@apple.com>
Cc: Geoffrey Keating <gkeating@apple.com>, gcc-patches@gcc.gnu.org
Subject: Re: .machine for Darwin, new cctools required
Date: Fri, 15 Oct 2004 04:52:00 -0000 [thread overview]
Message-ID: <416F5409.5030708@apple.com> (raw)
In-Reply-To: <65EABC41-1E33-11D9-AB40-000A95B1F520@apple.com>
Geoffrey Keating wrote:
>
> On 14/10/2004, at 3:41 PM, Stan Shebs wrote:
>
>> Geoffrey Keating wrote:
>>
>>> This patch uses the new .machine directive in the Darwin assembler to
>>> say which instruction set is to be used, which lets me get rid of the
>>> workaround using -force_cpusubtype_ALL, and fixes a collection of bugs
>>> of the form 'if I use this combination of flags, the assembler refuses
>>> to assemble GCC's output', some of which were being worked around in
>>> the testsuite.
>>>
>>> This patch requires a further updated cctools to work properly. You
>>> can get it from
>>> <ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.tar.bz2> in
>>> source form, and an installable package at
>>> <ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg>.
>>>
>> Ideally this would all be conditional on cctools version, but
>> failing that, it would be helpful to mention this dependency in
>> the building-from-source docs.
>
>
> It can't be conditional on cctools version without having specs
> conditional on that version, which seemed like a lot of work for no
> point (since you already have to upgrade to -528, going -528.5 doesn't
> seem like it would be any extra burden).
>
> You can build GCC, I think, with the previous cctools. You just can't
> use -mcpu= with a non-default setting and no other flags.
Clunk (and not even a bootstrap).
/Users/sts/s/fsf-gcc/macosx/gcc/xgcc -B/Users/sts/s/fsf-gcc/macosx/gcc/
-B/usr/local/powerpc-apple-darwin7.5.0/bin/
-B/usr/local/powerpc-apple-darwin7.5.0/lib/ -isystem
/usr/local/powerpc-apple-darwin7.5.0/include -isystem
/usr/local/powerpc-apple-darwin7.5.0/sys-include -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl
-I../../gcc/gcc/../libcpp/include \
-c ../../gcc/gcc/config/darwin-crt2.c -o crt2.o
/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.
Stan
next prev parent reply other threads:[~2004-10-15 4:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 22:41 Geoffrey Keating
2004-10-14 22:50 ` Stan Shebs
2004-10-14 23:02 ` Geoffrey Keating
2004-10-15 4:08 ` Stan Shebs
2004-10-15 4:52 ` Stan Shebs [this message]
2004-10-15 17:45 ` Geoffrey Keating
2004-10-19 17:55 ` Stan Shebs
2004-10-18 23:16 ` Kelley Cook
2004-10-18 23:20 ` Mike Stump
2004-10-19 18:09 ` Stan Shebs
2004-10-19 19:12 ` Kelley Cook
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=416F5409.5030708@apple.com \
--to=shebs@apple.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=geoffk@apple.com \
--cc=gkeating@apple.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 read-only IMAP folder(s) and NNTP newsgroup(s).