public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: karim@opersys.com
Cc: John Bradford <john@grabjohn.com>, linux-kernel@vger.kernel.org
Subject: Re: Recommended compiler version
Date: Sat, 29 May 2004 16:20:54 -0700	[thread overview]
Message-ID: <40B91AD6.5070807@kegel.com> (raw)
In-Reply-To: <40B922D5.5090609@opersys.com>

Karim Yaghmour wrote:
> RANT: It's really about time that someone within the GNU project took it
> upon herself to actually get the GNU toolchain to build for cross-dev
> without having to require walking-on-water talents.

Quite.  I'm heading up to the gcc summit next week to make that point
(see also http://gcc.gnu.org/ml/gcc/2004-05/msg01417.html,
which rumors that Paolo Bonzini and Nathanael Nerode are
working on detangling gcc bootstrap).

And I've been busting my ass for the last year maintaining the 'crosstool'
script so people without walking-on-water talents can build
the GNU toolchain for cross-development.  (But before Karim objects
to the concept of a canned build script, I hasten to add that
I fully agree with him that the gnu toolchain build process shouldn't
need such an ugly and fragile wrapper script around it.)

> BTW, the 2.6.6 kernel wouldn't build without the following
> modifications to the main makefile:
> AS              = $(CROSS_COMPILE)as -maltivec
> CFLAGS_KERNEL   = -maltivec
> AFLAGS_KERNEL   = -maltivec
> For some reason 3.4.0 forgets to tell AS that this CPU may have
> Altivec instructions -- there are some postings about this if
> you google around.

I think the issue is that binutils-2.15 started checking its
input more strictly, in a way that broke several apps.  Binutils
cvs has the following patch which is said to relex the check:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/ppc-opc.c.diff?r1=1.70&r2=1.71&cvsroot=src
That patch'll be in the next crosstool, of course.

Thanks for posting about your experiences with gcc-3.4.0
and the link to http://www.ppckernel.org, which I wasn't aware of...
- Dan

-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

  reply	other threads:[~2004-05-30  0:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29 14:42 Recommended compiler version Dan Kegel
2004-05-29 23:55 ` Karim Yaghmour
2004-05-29 23:20   ` Dan Kegel [this message]
2004-05-30  0:40     ` Karim Yaghmour
2004-05-30  0:38   ` Karim Yaghmour
2004-05-30 10:37 ` John Bradford
     [not found] <218aB-15c-17@gated-at.bofh.it>
2004-05-29 10:51 ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2004-05-29  9:16 Francois Romieu
2004-05-29  9:52 ` Francois Romieu
2004-05-29 13:30   ` John Bradford
2004-05-29 14:12     ` Francois Romieu
2004-05-29 14:31       ` Adrian Bunk
2004-05-29 14:57         ` John Bradford
2004-05-30  1:18           ` George Georgalis
2004-05-29 14:53       ` John Bradford
2004-05-29 16:58         ` Francois Romieu

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=40B91AD6.5070807@kegel.com \
    --to=dank@kegel.com \
    --cc=john@grabjohn.com \
    --cc=karim@opersys.com \
    --cc=linux-kernel@vger.kernel.org \
    /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