All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: openembedded-devel@lists.openembedded.org
Cc: openembedded-devel@openembedded.org,
	Koen Kooi <k.kooi@student.utwente.nl>
Subject: Re: Blackfin support
Date: Wed, 8 Jul 2009 20:08:00 -0400	[thread overview]
Message-ID: <200907082008.01202.vapier@gentoo.org> (raw)
In-Reply-To: <gk7tkl$p1o$1@ger.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2291 bytes --]

On Friday 09 January 2009 11:22:43 Koen Kooi wrote:
> On 09-01-09 16:52, Tom Rini wrote:
> > Hey all.  Has anyone built any of the blackfin boards recently?  I'm
> > finding things like uClibc 0.9.29+ require -mfdpic which isn't in our
> > gcc 4.1.x, is in gcc 4.2.x (but requires a patch to define __FDPIC__
> > rather than __BFIN_FDPIC__) and other issues still.  Just seeing if
> > anyone else has these things working before I start getting down and
> > dirty.

the FDPIC change is already in mainline gcc and has been for a while

> I keep starting anew with blackfin support due to the current problems:

let's fix this wrong info shall we ...

> * ADI uses their own 'distro', the rest of the world a custom buildroot

actually it's the uClinux distribution that has been around longer than 
buildroot

> * You need to get gcc from blackfin SVN to get something to compile
> * you need to choose either uclibc from blackfin svn or upstream uclibc

things are pushed to the relevant upstream projects, but it's not our fault 
development occurs faster on our side than upstream can make releases

either way, prebuilt toolchains are always available so people need not build 
it up themselves:
http://blackfin.uclinux.org/gf/project/toolchain/frs

> When you get to the point of building uclibc, the fun starts, since
> uclinux (not uclibc) has no proper shared library support

shockingly incorrect.  FDPIC ELF is 100% complete and exactly the same as ELF 
on your desktop.  there is no difference at all from a C API or GNU linker 
perspective.

> so you have to choose an emulation method (fdpic being one of the options).

i have no idea how you're using the term "emulation", but file formats are not 
"emulation methods".  they're file formats.  perhaps try reading this 
documentation:
http://docs.blackfin.uclinux.org/doku.php?id=toolchain:executable_file_formats

>  From that point on it's downhill, since various parts of uclibc have
> fork() in their code

sounds like you didnt configure uClibc properly

> gcc will ICE on other parts, etc.

gcc ICEs on our side a rare and always get fixed quickly.  if you're 
indirectly suggesting the Blackfin gcc port is immature or crap, that is 
absolutely not the case.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

  parent reply	other threads:[~2009-07-09  0:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09 15:52 Blackfin support Tom Rini
2009-01-09 16:22 ` Koen Kooi
2009-01-09 18:35   ` Tom Rini
2009-01-09 20:51     ` Koen Kooi
2009-07-09  0:08   ` Mike Frysinger [this message]
2009-07-24 11:29     ` Dmitry Eremin-Solenikov

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=200907082008.01202.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.