public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] gcc-4.6 / bionic
@ 2011-04-05 20:15 Christopher Friedt
  2011-04-05 23:40 ` wireless
       [not found] ` <536947D2.9050009@tampabay.rr.com>
  0 siblings, 2 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-05 20:15 UTC (permalink / raw
  To: gentoo-embedded

Has anyone on the list started experimenting with building a bionic
libc cross-toolchain yet with gcc-4.6 [1]?

... seems fairly interesting.

I just finished a small project that put together a fairly minimal
bionic rootfs with nothing but the libc, libstdc++, libm, jamvm,
gnu-classpath, dropbear, & busybox. I was surprised at how well things
actually worked (both arm and x86_64).

Surely there will continue to be some regressions. For example, bionic
traps SIGUSR1 for debugging purposes - so any other binary that uses
that for signalling will need to change it to SIGUSR2. Patching the
build system was fairly straight forward.

I think doing a cross-toolchain with crossdev might even be do-able...
just apply a couple of patches to android's build/ tree, build libc,
libm, libstdc++.

It would be freaking sweet to just be able to 'emerge' libraries for
Android instead of going through the often painful process of
retooling it for Android.mk. It would an accomplishment to bootstrap
gcc, that's for sure.

armv7a-neon-linux-bionic-emerge world

;-)

Cheers,

C

[1] http://www.phoronix.com/scan.php?page=news_item&px=OTI1NQ



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-05 20:15 [gentoo-embedded] gcc-4.6 / bionic Christopher Friedt
@ 2011-04-05 23:40 ` wireless
  2011-04-06  2:39   ` Christopher Friedt
       [not found] ` <536947D2.9050009@tampabay.rr.com>
  1 sibling, 1 reply; 54+ messages in thread
From: wireless @ 2011-04-05 23:40 UTC (permalink / raw
  To: gentoo-embedded

On 04/05/11 16:15, Christopher Friedt wrote:
>  bionic
> libc cross-toolchain 


Apologies for my ignorances. This link went a long
way to present what is bionic libc:


http://codingrelic.geekhold.com/2008/11/six-million-dollar-libc.html


cheers,
James







^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-05 23:40 ` wireless
@ 2011-04-06  2:39   ` Christopher Friedt
  2011-04-06 13:45     ` wireless
  2011-04-07  4:43     ` Mike Frysinger
  0 siblings, 2 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-06  2:39 UTC (permalink / raw
  To: gentoo-embedded

Hi James,

On Tue, Apr 5, 2011 at 7:40 PM, wireless <wireless@tampabay.rr.com> wrote:
> Apologies for my ignorances. This link went a long
> way to present what is bionic libc:
>
> http://codingrelic.geekhold.com/2008/11/six-million-dollar-libc.html

I've read that page too... not really sure what you're saying though.
You could say I'm leaning toward the "linux without politics" usage
model. It's straight-forward to patch bionic to use /etc/resolv.conf,
and add crypt routines as well as /etc/passwd & /etc/group usage. That
can be done with bsd licensed code.

BSD userland politics aside, I wonder what the typical steps would be
to 'port' gentoo over to a bionic-based libc. Something like the
following?

1) manually build a bionic cross-toolchain
2) do some basic verification with the cross-toolchain (static exe,
exe that uses .so, .so, etc)
3) build a native toolchain with the cross-toolchain, record build
steps / patches along the way
4) manually bootstrap gentoo natively, record build steps / patches
along the way
5) set up overlays: portage, crossdev, bionic, gcc, etc

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06  2:39   ` Christopher Friedt
@ 2011-04-06 13:45     ` wireless
  2011-04-06 14:30       ` Christopher Friedt
  2011-04-07  4:40       ` Mike Frysinger
  2011-04-07  4:43     ` Mike Frysinger
  1 sibling, 2 replies; 54+ messages in thread
From: wireless @ 2011-04-06 13:45 UTC (permalink / raw
  To: gentoo-embedded

On 04/05/11 22:39, Christopher Friedt wrote:
> Hi James,
> 
> On Tue, Apr 5, 2011 at 7:40 PM, wireless <wireless@tampabay.rr.com> wrote:
>> Apologies for my ignorances. This link went a long
>> way to present what is bionic libc:
>>
>> http://codingrelic.geekhold.com/2008/11/six-million-dollar-libc.html
> 
> I've read that page too... not really sure what you're saying though.

I'm not up to speed on Android et. al......

I do like the "smallness" of what bionic purports to do. Linux
(kernel, kde/gnome, etc etc) are well on the way to IBM/doz
bloat-wear, imho. So I do anticipate a return to the basics,
(aka smallness).....


> You could say I'm leaning toward the "linux without politics" usage
> model. It's straight-forward to patch bionic to use /etc/resolv.conf,
> and add crypt routines as well as /etc/passwd & /etc/group usage. That
> can be done with bsd licensed code.

Folks should be aware of licenses and choose according to their goals
and needs. I've got "no religion" when it comes to licenses. Personally
I wish all licenses, patents and politics would just go away...
After all, they are just *noise* imho. But noise is a fact of
life so we must deal with it, each in our own (best) way.


> BSD userland politics aside, I wonder what the typical steps would be
> to 'port' gentoo over to a bionic-based libc. Something like the
> following?

BSD has  a fundamental flaw, imho. Once you free up the license
restrictions, much of what is innovated is rarely shared to put back
into the community. I understand folks need to make a few dollars, as a
corporation some of that is necessary, but the not contributing back
snobbishness of BSD is a long, jaded history (Eric and Sendmail as an
example).

Want another example? OK OAR (was a .org) was a technical governmental
body that developed RTEMS:

http://en.wikipedia.org/wiki/RTEMS

Now we only find
http://www.rtems.com/

Yet google is funding RTEMS for summer of code.......
(Strange world, huh?) If you know any college kids
with your tendencies, then SOC at RTEMS would be
keen. Suggest a port/marriage to embedded Gentoo.
Make yourself *famous*!


The NSA actually funded openbsd for a while and still finds "the rat"
to be quite brilliant and entertaining......

http://boingboing.net/2010/12/15/rumors-of-an-fbi-bac.html


Personally,
I do not find the "spoofs" to be threatening at all; it's the
politicians with dark_commercial_threads that worry me; a bunch
of "stupid_whores" that are in charge of decision making? Then when
they do reach out to someone technical, it's some old (technically
famous) fart that is useless and has lost his/her salt! They quickly
sell out for a few dollars because they are getting old and worry
about retirement and what others think about them.

America, has few young lions any  more, because our judicially
dominatrix leadership is pushing agendas where young lions are quickly
neutered and marginalized, again and again and again, imho.

What BSD needs is for the government (US) to fund research and
development and support for BSD, much like google funds Linux
via the Summer of Code. But as soon as they appoint some tainted
agency, with dark connections to the commercial world, much get's
tainted, imho. A young lion needs to emerge.

After all BSD is American, from Berkeley (bunch of hippies)
and there are lots of brilliant, unemployed college kids floating
around.....(certainly not fact, just my opinion). So that's why I
left BSD for Linux; more sharing, support and friendship; Some would
say that sense of "community"  is because of the gpl licenses.....


> 1) manually build a bionic cross-toolchain
> 2) do some basic verification with the cross-toolchain (static exe,
> exe that uses .so, .so, etc)
> 3) build a native toolchain with the cross-toolchain, record build
> steps / patches along the way
> 4) manually bootstrap gentoo natively, record build steps / patches
> along the way
> 5) set up overlays: portage, crossdev, bionic, gcc, etc


Ah grasshopper, you have *GROWN*!  I shall anticipate enjoying
the stanza's of your music....


peace,
James



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06 13:45     ` wireless
@ 2011-04-06 14:30       ` Christopher Friedt
  2011-04-06 14:52         ` Christopher Friedt
  2011-04-06 15:40         ` wireless
  2011-04-07  4:40       ` Mike Frysinger
  1 sibling, 2 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-06 14:30 UTC (permalink / raw
  To: gentoo-embedded

Hi James.... I liked reading your reply....

On Wed, Apr 6, 2011 at 9:45 AM, wireless <wireless@tampabay.rr.com> wrote:
> Ah grasshopper, you have *GROWN*!  I shall anticipate enjoying
> the stanza's of your music....

I don't know where you got the grasshopper bit from though... I've
been on this list for a looong time. I just choose not to talk much :)
Too many mailing lists... too little time!

Most of the embedded gentoo stuff I did was targeting armv4t, and the
company I did it for didn't actually sell devices, just services -
which meant that a lot of work I did wasn't legally required to be
made open-source. Thankfully, I no longer work for them and have much
better toys to play with now (e.g. beagle xM, panda, etc).

As for the BSD stuff, I agree. I think it's important to give back and
try to get bionic ELIBC to a somewhat stable level of support.
Naturally, that means being assigned bugs :P.

I would certainly be willing to 'own' some bugs within some reasonable
bounds (e.g. bionic's libstdc++ doesn't support exceptions... the
pthread lib doesn't support pthread_cancel). It's more or less
intended as a platform for managed code - .ie. Java. Although Python,
Mono, and Lua also work to some extent.

Linaro seems to want the bionic + gcc marriage to work too (i.e.
-mandroid), otherwise asac wouldn't have submitted patches for gcc.
Linaro has an army of engineers at their disposal and I would imagine
some of them probably use Gentoo too ;-)

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06 14:30       ` Christopher Friedt
@ 2011-04-06 14:52         ` Christopher Friedt
  2011-04-06 15:40           ` wireless
                             ` (2 more replies)
  2011-04-06 15:40         ` wireless
  1 sibling, 3 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-06 14:52 UTC (permalink / raw
  To: gentoo-embedded

Also... an important couple of features:

TLS works on certain hardware (e.g. with hardware supported tls, like
armv7a), but not on all architectures, like in GNU [1], [2]. It's
probably better to blanket-disable this for now via a portage profile
variable.

SMP does not currently work OOTB. There are some patches floating
around[3], with issues that mainly lie outside of bionic, but I the
'official' SMP code will be available whenever Honeycomb is
released[4] ... which is of course whenever Google decides to do
release Honeycomb.

C

[1] http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Thread-Local.html#Thread-Local
[2] http://www.akkadia.org/drepper/tls.pdf
[3] http://groups.google.com/group/android-platform/browse_thread/thread/de20f1b10703acc2
[4] http://developer.android.com/sdk/android-3.0-highlights.html#multicore



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06 14:52         ` Christopher Friedt
@ 2011-04-06 15:40           ` wireless
  2011-04-07  4:46           ` Mike Frysinger
       [not found]           ` <52667F4C.9090008@tampabay.rr.com>
  2 siblings, 0 replies; 54+ messages in thread
From: wireless @ 2011-04-06 15:40 UTC (permalink / raw
  To: gentoo-embedded

On 04/06/11 10:52, Christopher Friedt wrote:
> Also... an important couple of features:
> 
> TLS works on certain hardware (e.g. with hardware supported tls, like
> armv7a), but not on all architectures, like in GNU [1], [2]. It's
> probably better to blanket-disable this for now via a portage profile
> variable.

TLS is very cool....
http://en.wikipedia.org/wiki/Wake-on-LAN
;-)


> SMP does not currently work OOTB. There are some patches floating
> around[3], with issues that mainly lie outside of bionic, but I the
> 'official' SMP code will be available whenever Honeycomb is
> released[4] ... which is of course whenever Google decides to do
> release Honeycomb.
> 
> C
> 
> [1] http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Thread-Local.html#Thread-Local
> [2] http://www.akkadia.org/drepper/tls.pdf
> [3] http://groups.google.com/group/android-platform/browse_thread/thread/de20f1b10703acc2
> [4] http://developer.android.com/sdk/android-3.0-highlights.html#multicore

Thanks for all the wonderful links and information.
I'm too busy. You build some of this on a PANDA
board, drop me a line and I'll burn images and test
for you. ebtables and iptables in the image, would be
keen! My Panda is loanly just sitting in a box....
:-(


James




^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06 14:30       ` Christopher Friedt
  2011-04-06 14:52         ` Christopher Friedt
@ 2011-04-06 15:40         ` wireless
  1 sibling, 0 replies; 54+ messages in thread
From: wireless @ 2011-04-06 15:40 UTC (permalink / raw
  To: gentoo-embedded

On 04/06/11 10:30, Christopher Friedt wrote:

> I would certainly be willing to 'own' some bugs within some reasonable
> bounds (e.g. bionic's libstdc++ doesn't support exceptions... the
> pthread lib doesn't support pthread_cancel). It's more or less
> intended as a platform for managed code - .ie. Java. Although Python,
> Mono, and Lua also work to some extent.


I find your interests to be enlightening. Keep me posted
or updates to the list. You have to excuse my jaded prose,
too old and too callous sometimes, but, I do have the
very best of intentions......

> Linaro seems to want the bionic + gcc marriage to work too (i.e.
> -mandroid), otherwise asac wouldn't have submitted patches for gcc.
> Linaro has an army of engineers at their disposal and I would imagine
> some of them probably use Gentoo too ;-)

Ah, that seems to be an interesting lot,  Linaro.

ORLANDO in October, 2011; sounds very interesting and doable....


https://wiki.linaro.org/Events/2011-10-LDS


James




^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06 13:45     ` wireless
  2011-04-06 14:30       ` Christopher Friedt
@ 2011-04-07  4:40       ` Mike Frysinger
  1 sibling, 0 replies; 54+ messages in thread
From: Mike Frysinger @ 2011-04-07  4:40 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 287 bytes --]

On Wednesday, April 06, 2011 09:45:50 wireless wrote:
> Now we only find
> http://www.rtems.com/
> 
> Yet google is funding RTEMS for summer of code.......
> (Strange world, huh?)

not really.  make a good/relevant open source project and you can apply to 
google's SOC.
-mike

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06  2:39   ` Christopher Friedt
  2011-04-06 13:45     ` wireless
@ 2011-04-07  4:43     ` Mike Frysinger
  2011-04-07 11:56       ` Christopher Friedt
  1 sibling, 1 reply; 54+ messages in thread
From: Mike Frysinger @ 2011-04-07  4:43 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 1312 bytes --]

On Tuesday, April 05, 2011 22:39:48 Christopher Friedt wrote:
> BSD userland politics aside, I wonder what the typical steps would be
> to 'port' gentoo over to a bionic-based libc. Something like the
> following?
> 
> 1) manually build a bionic cross-toolchain
> 2) do some basic verification with the cross-toolchain (static exe,
> exe that uses .so, .so, etc)
> 3) build a native toolchain with the cross-toolchain, record build
> steps / patches along the way
> 4) manually bootstrap gentoo natively, record build steps / patches
> along the way
> 5) set up overlays: portage, crossdev, bionic, gcc, etc

put together an ebuild for bionic, add support to crossdev to mark *-bionic 
targets to use the bionic ebuild, and that's about it.

you could add your own KEYWORD, but doesnt seem like it'd be worth it.

as for the rest, considering the fundamental limitations they've added to 
bionic (limited libpthreads/libm/etc...), i dont think a "full" blown port 
makes much sense.  bionic is a toy libc meant for one thing -- get a java vm 
running on top of it.  if you want a "real" embedded Linux system, uClibc 
makes a hell of a lot more sense.

so feel free to put together a bionic ebuild to get into the tree, and a 
crossdev/toolchain.eclass patch should be trivial.
-mike

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-06 14:52         ` Christopher Friedt
  2011-04-06 15:40           ` wireless
@ 2011-04-07  4:46           ` Mike Frysinger
       [not found]           ` <52667F4C.9090008@tampabay.rr.com>
  2 siblings, 0 replies; 54+ messages in thread
From: Mike Frysinger @ 2011-04-07  4:46 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 759 bytes --]

On Wednesday, April 06, 2011 10:52:06 Christopher Friedt wrote:
> TLS works on certain hardware (e.g. with hardware supported tls, like
> armv7a), but not on all architectures, like in GNU [1], [2]. It's
> probably better to blanket-disable this for now via a portage profile
> variable.

any arch can do TLS.  it's more a matter of defining the toolchain/C 
library/kernel interfaces.  the hardware only enters the picture in terms of 
just how hard it actually is to make TLS work.

e.g. i386 could do TLS if people cared, but no one has bothered because i486 
provides a few new atomic insns that makes the implementation a hell of a lot 
simpler.  so if no one actually cares about making it work on i386 procs, then 
no one bothers.
-mike

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-07  4:43     ` Mike Frysinger
@ 2011-04-07 11:56       ` Christopher Friedt
  2011-04-07 19:52         ` Mike Frysinger
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-04-07 11:56 UTC (permalink / raw
  To: gentoo-embedded

Hi Mike,

On Thu, Apr 7, 2011 at 12:43 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday, April 05, 2011 22:39:48 Christopher Friedt wrote:
> put together an ebuild for bionic, add support to crossdev to mark *-bionic
> targets to use the bionic ebuild, and that's about it.

I already added the relevent bits to crossdev, and I'm still putting
together a bionic ebuild. I'll probably modify the gcc-4.6.0 ebuild as
well and some logic for ELIBC=bionic. Re: the TLS sections... yea, it
wasn't really planned for in advance by the bionic devs so it isn't
really integrated into the toolchain/libc and does require hw support.

http://marc.info/?l=linux-omap&m=120384694214686&w=2

> you could add your own KEYWORD, but doesnt seem like it'd be worth it.

definitely not, but I might need to add some rules in
/usr/portage/profiles to mask certain flags / packages.

> as for the rest, considering the fundamental limitations they've added to
> bionic (limited libpthreads/libm/etc...), i dont think a "full" blown port
> makes much sense.  bionic is a toy libc meant for one thing -- get a java vm
> running on top of it.  if you want a "real" embedded Linux system, uClibc
> makes a hell of a lot more sense.

Exactly - it is more or less a toy libc for managed code running
atop... but considering that the current alternative to build libs for
Android is to use the NDK or multi-gigabyte build tree (i.e.
Android.mk), portage seems a _lot_ more appealing.

A good example is my port of liboctave to Android. I built uclibc++
for all of the c++ features android didn't support, hacked a fortran
compiler into Android's build system for blas, lapack, and a lot
more... it was fugly.

> so feel free to put together a bionic ebuild to get into the tree, and a
> crossdev/toolchain.eclass patch should be trivial.

I will  Thanks for the input.

So are there no other hidden gems that pivot on ELIBC?


Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-07 11:56       ` Christopher Friedt
@ 2011-04-07 19:52         ` Mike Frysinger
  2011-04-10 13:43           ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Mike Frysinger @ 2011-04-07 19:52 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Christopher Friedt

On Thu, Apr 7, 2011 at 7:56 AM, Christopher Friedt wrote:
> On Thu, Apr 7, 2011 at 12:43 AM, Mike Frysinger wrote:
>> On Tuesday, April 05, 2011 22:39:48 Christopher Friedt wrote:
>> put together an ebuild for bionic, add support to crossdev to mark *-bionic
>> targets to use the bionic ebuild, and that's about it.
>
> I already added the relevent bits to crossdev, and I'm still putting
> together a bionic ebuild.

feel free to post to the list once you've got that

>> you could add your own KEYWORD, but doesnt seem like it'd be worth it.
>
> definitely not, but I might need to add some rules in
> /usr/portage/profiles to mask certain flags / packages.

that makes sense ... maybe profiles/embedded/bionic/ ...

> So are there no other hidden gems that pivot on ELIBC?

not really.  just make sure you add it to profiles/desc/elibc.desc.
-mike



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-07 19:52         ` Mike Frysinger
@ 2011-04-10 13:43           ` Christopher Friedt
  2011-04-10 16:39             ` Mike Frysinger
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-04-10 13:43 UTC (permalink / raw
  To: gentoo-embedded

Hrrmm... gnuconfig has alreaded added linux-android* upstream for
their system types in config.sub but using 'android' as a descriptor
for the libc really wouldn't make sense if it wasn't an Android
system.

It would probably be prudent to add linux-android* | linux-bionic* ...
there are a few significant differences. I guess the main
differentiators would be FHS (android prefixes everything with
/system), support for /etc/passwd, /etc/group, /etc/resolv.conf,
crypt(3), getpwnam(3), getgrnam(3), and essentially any other missing
feature that people might want to add in the future.

They also don't have an entry in config.guess for LIBC=android (or
LIBC=bionic). Something like this would work.

...
        # ifdef __BIONIC__
        # ifdef __ANDROID__
        LIBC=android
        # else
        LIBC=bionic
        # endif
        # else
        LIBC=gnu
        # endif
...

I'll add a gnuconfig revision with those changes in my overlay.

To me, it just makes sense to differentiate this way... of should
still be possible to build an Android toolchain, so I'll add
IUSE=android to the bionic ebuild. The bionic ebuild is otherwise
done, but I still have to add something for
crosscompile_opts_headers-only before it works with crossdev.

Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-10 13:43           ` Christopher Friedt
@ 2011-04-10 16:39             ` Mike Frysinger
  2011-04-11 21:11               ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Mike Frysinger @ 2011-04-10 16:39 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 421 bytes --]

On Sunday, April 10, 2011 09:43:09 Christopher Friedt wrote:
> Hrrmm... gnuconfig has alreaded added linux-android* upstream for
> their system types in config.sub but using 'android' as a descriptor
> for the libc really wouldn't make sense if it wasn't an Android
> system.

if that's the way upstream gnuconfig/gcc has gone, then it doesnt make much 
sense to try and fight the tide.  it's just a name.
-mike

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-10 16:39             ` Mike Frysinger
@ 2011-04-11 21:11               ` Christopher Friedt
  2011-04-11 21:13                 ` Christopher Friedt
  2011-04-11 22:52                 ` Arkadi Shishlov
  0 siblings, 2 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-11 21:11 UTC (permalink / raw
  To: gentoo-embedded

On Sun, Apr 10, 2011 at 12:39 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> if that's the way upstream gnuconfig/gcc has gone, then it doesnt make much
> sense to try and fight the tide.  it's just a name.

Meh, I'm not really focusing on the 'Android' userspace right now
anyway, but the patches were easy enough. My bionic ebuild currently
does not distinguish between -android* and -bionic*. I'm mainly
interested in getting a Gentoo userspace up and running in any case.

I just successfully got a gcc / bionic cross-toolchain built with
crossdev (no c++ yet). x86_64-pc-linux-gnu -> x86_64-pc-linux-bionic.
The toolchain is okay aside from linking. It's still looking for the
glibc-type crt files. For bionic they're named differently and there
isn't an exact 1-1 mapping: crtend_android.o, crtbegin_so.o,
crtend_so.o, crtbegin_static.o. It would be nice.

Also, my bionic ebuild currently leverages the Android build system
heavily, which I would prefer _not_ to do, but it seems
counter-productive right now to reinvent the wheel with autotools.
(volunteers?)

Is anyone interested in having a look yet? I guess I could post it on
gitorious as a layman overlay.

Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-11 21:11               ` Christopher Friedt
@ 2011-04-11 21:13                 ` Christopher Friedt
  2011-04-11 22:52                 ` Arkadi Shishlov
  1 sibling, 0 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-11 21:13 UTC (permalink / raw
  To: gentoo-embedded

On Mon, Apr 11, 2011 at 5:11 PM, Christopher Friedt
<chrisfriedt@gmail.com> wrote:
> crtend_so.o, crtbegin_static.o. It would be nice.

That should read "it would be nice to have linking work before it
really goes public."



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-11 21:11               ` Christopher Friedt
  2011-04-11 21:13                 ` Christopher Friedt
@ 2011-04-11 22:52                 ` Arkadi Shishlov
  2011-04-12 12:52                   ` Ed W
  2011-04-12 19:58                   ` Christopher Friedt
  1 sibling, 2 replies; 54+ messages in thread
From: Arkadi Shishlov @ 2011-04-11 22:52 UTC (permalink / raw
  To: gentoo-embedded

On Tue, 12 Apr 2011 00:11:04 +0300, Christopher Friedt  
<chrisfriedt@gmail.com> wrote:
> Is anyone interested in having a look yet? I guess I could post it on
> gitorious as a layman overlay.

What is the (long-term) technical advantage to use bionic, compared to  
glibc and uclibc?



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-11 22:52                 ` Arkadi Shishlov
@ 2011-04-12 12:52                   ` Ed W
  2011-04-12 20:23                     ` Christopher Friedt
  2011-04-12 19:58                   ` Christopher Friedt
  1 sibling, 1 reply; 54+ messages in thread
From: Ed W @ 2011-04-12 12:52 UTC (permalink / raw
  To: gentoo-embedded

On 11/04/2011 23:52, Arkadi Shishlov wrote:
> On Tue, 12 Apr 2011 00:11:04 +0300, Christopher Friedt
> <chrisfriedt@gmail.com> wrote:
>> Is anyone interested in having a look yet? I guess I could post it on
>> gitorious as a layman overlay.
> 
> What is the (long-term) technical advantage to use bionic, compared to
> glibc and uclibc?
> 

I would like to hear some answers also.  Google's top hit is:

http://codingrelic.geekhold.com/2008/11/six-million-dollar-libc.html

That's some years out of date and can be summarised as: advantage is a
bsd licence versus an lgpl licence.  Also some speedup due to dropping
support for c++ exceptions.  Also in 2008 there was no TLS in uclibc
(seems quite mature at least in current uclibc git)


This does raise a good point - can "we" really work on getting uclibc
next release out and stabilised as quickly as possible?  It's a massive
improvement over prior releases and even the unreleased git should
become everyone's version of choice right now (for a certain definition
of everyone).  On x86 a very large proportion of software now compiles
without obvious problems

I'm using a trivial bump of the in tree ebuild to grab the current git
uclibc and very pleased with it


Cheers

Ed W



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-11 22:52                 ` Arkadi Shishlov
  2011-04-12 12:52                   ` Ed W
@ 2011-04-12 19:58                   ` Christopher Friedt
  2011-04-12 20:16                     ` Christopher Friedt
  1 sibling, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-04-12 19:58 UTC (permalink / raw
  To: gentoo-embedded

On Mon, Apr 11, 2011 at 6:52 PM, Arkadi Shishlov
<arkadi.shishlov@gmail.com> wrote:
> What is the (long-term) technical advantage to use bionic, compared to glibc
> and uclibc?

There really is little technical advantage over glibc or uclibc. Most
would probably argue the opposite. For most embedded applications, I
would actually suggest using uclibc instead of bionic.

The (short- and long-term) advantage really just lies in the license.



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-12 19:58                   ` Christopher Friedt
@ 2011-04-12 20:16                     ` Christopher Friedt
  0 siblings, 0 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-12 20:16 UTC (permalink / raw
  To: gentoo-embedded

I should have linking done pretty soon - it was already there afaict,
but just needed to '--with-bionic' configuration option to work.

When finished, I'll put up a layman overlay on gitorious.

For now, I'm only going to be testing this on the following crossdev
configurations:

x86_64-pc-linux-gnu <===> x86_64-pc-linux-bionic
x86_64-pc-linux-gnu <===> arm-softfloat-linux-bioniceabi

Be warned: I might not finish it tonight because the Canadian
political leaders debate is on TV  and I take a keen interest ;-)

Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-12 12:52                   ` Ed W
@ 2011-04-12 20:23                     ` Christopher Friedt
  2011-04-15 12:42                       ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-04-12 20:23 UTC (permalink / raw
  To: gentoo-embedded

On Tue, Apr 12, 2011 at 8:52 AM, Ed W <lists@wildgooses.com> wrote:
> I would like to hear some answers also.  Google's top hit is:

This is probably more interesting to you (and was linked from the page
you cited)

http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/docs/OVERVIEW.TXT



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-12 20:23                     ` Christopher Friedt
@ 2011-04-15 12:42                       ` Christopher Friedt
  2011-04-15 13:16                         ` wireless
  2011-04-15 13:53                         ` Christopher Friedt
  0 siblings, 2 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-15 12:42 UTC (permalink / raw
  To: gentoo-embedded

Yar!

I feel like such a pirate right now ;-)

Crossdev succeeds for x86_64-pc-linux-gnu to x86_64-pc-linux-bionic.
After this, I'll probably be working on a cross-armv7a version to
support e.g. the BeagleBoard. Next, will probably be the PandaBoard
once the Android developers release their SMP code with Honeycomb. I
also just read that Intel is pushing for an Android-based tablet to be
released [1]. The article is speculative, but it isn't the only one
speculating. If this is true, it would mean Bionic (Honeycomb or
Iced-cream) will probably have better support for x86* from the
get-go.

Currently ironing out a couple of bugs with cross-compiling busybox.
It's mainly just a few kernel headers missing, which I presume will be
the main source of 'bugs'. Adding missing kernel headers is a bit of a
process because it requires running them through the
bionic/libc/kernel/tools/clean_header.py script [2]. I have actually
created a seperate ebuild for sys-kernel/bionic-kernel-headers due to
the recent kerfuffle about licensing [3]. So rather than use the stock
sys-kernel/linux-headers, I'm using the 'cleansed' versions that come
with the bionic libc.

I figure that it will be safe to release an overlay once at least one
arch is ~, busybox compiles without too much complaining, and I have a
qemu image / build instructions to distribute.

Would love to have some people willing to try building for other
arches at that point. Currently, it looks like x86*, arm and sh will
work 'out of the box' (not really OOTB, but supported with bionic
kernel headers). However, there are libm headers for mips, ppc and
sparc64 as well.

Cheers,

C

[1] http://www.digitimes.com/news/a20110413PD223.html
[2] http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/kernel/tools/clean_header.py
[3] http://lwn.net/Articles/434318/



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-15 12:42                       ` Christopher Friedt
@ 2011-04-15 13:16                         ` wireless
  2011-04-15 15:46                           ` Christopher Friedt
  2011-04-15 13:53                         ` Christopher Friedt
  1 sibling, 1 reply; 54+ messages in thread
From: wireless @ 2011-04-15 13:16 UTC (permalink / raw
  To: gentoo-embedded

On 04/15/11 08:42, Christopher Friedt wrote:
> Yar!
> 
> I feel like such a pirate right now ;-)
> 
> Crossdev succeeds for x86_64-pc-linux-gnu to x86_64-pc-linux-bionic.
> After this, I'll probably be working on a cross-armv7a version to
> support e.g. the BeagleBoard. Next, will probably be the PandaBoard
> once the Android developers release their SMP code with Honeycomb. I
> also just read that Intel is pushing for an Android-based tablet to be
> released [1]. 

Hello Christopher,

Thanks for the update on your progress. I ran across this interesting
article, where Google is trying to influence ARM offering and more
on licensing:

http://www.eetimes.com/electronics-news/4214648/Reports--Google-could-standardize-Android-on-ARM-


enjoy,
James





^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-15 12:42                       ` Christopher Friedt
  2011-04-15 13:16                         ` wireless
@ 2011-04-15 13:53                         ` Christopher Friedt
  1 sibling, 0 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-04-15 13:53 UTC (permalink / raw
  To: gentoo-embedded

Apparently it is now official [1] and there will be many.

On Fri, Apr 15, 2011 at 8:42 AM, Christopher Friedt
<chrisfriedt@gmail.com> wrote:
> also just read that Intel is pushing for an Android-based tablet to be

[1] http://www.pcworld.com/article/224835/intels_oak_trail_tablets_to_get_googles_android_30.html



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-15 13:16                         ` wireless
@ 2011-04-15 15:46                           ` Christopher Friedt
  2011-04-20 14:23                             ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-04-15 15:46 UTC (permalink / raw
  To: gentoo-embedded

Hi James,

On Fri, Apr 15, 2011 at 9:16 AM, wireless <wireless@tampabay.rr.com> wrote:
> On 04/15/11 08:42, Christopher Friedt wrote:
> Thanks for the update on your progress. I ran across this interesting
> article, where Google is trying to influence ARM offering and more
> on licensing:

I think Google's intention here is really just to reduce fragmentation
of Android between Open Handset Alliance members (i.e. manufacturers).
It's good in that it eliminates duplicate work between companies
targeting Android as a platform and there will be a common base
platform. They likely still have a lot of internal code cleanup to do
after pushing to get Honeycomb out the door.

Just to clarify, I'm not planning on doing "Android" development here
- I'm just using Bionic. Anyone interested in Android _really_ should
adhere to upstream's build system.

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-15 15:46                           ` Christopher Friedt
@ 2011-04-20 14:23                             ` Christopher Friedt
  2011-05-07 16:43                               ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-04-20 14:23 UTC (permalink / raw
  To: gentoo-embedded

localhost ~ # x86_64-pc-linux-bionic-gcc -static -m32
-specs=specfile.txt -o hi hi.c
localhost ~ # ./hi
Hello, Bionic World!

bwahaha... bwahahaha... (insert pinky into corner of mouth here)

1) Fix internal specs (had to manually adjust for crts startfile/endfile)
2) make it work for -m64 by default

C

On Fri, Apr 15, 2011 at 11:46 AM, Christopher Friedt
<chrisfriedt@gmail.com> wrote:
> Hi James,
>
> On Fri, Apr 15, 2011 at 9:16 AM, wireless <wireless@tampabay.rr.com> wrote:
>> On 04/15/11 08:42, Christopher Friedt wrote:
>> Thanks for the update on your progress. I ran across this interesting
>> article, where Google is trying to influence ARM offering and more
>> on licensing:
>
> I think Google's intention here is really just to reduce fragmentation
> of Android between Open Handset Alliance members (i.e. manufacturers).
> It's good in that it eliminates duplicate work between companies
> targeting Android as a platform and there will be a common base
> platform. They likely still have a lot of internal code cleanup to do
> after pushing to get Honeycomb out the door.
>
> Just to clarify, I'm not planning on doing "Android" development here
> - I'm just using Bionic. Anyone interested in Android _really_ should
> adhere to upstream's build system.
>
> C
>



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-04-20 14:23                             ` Christopher Friedt
@ 2011-05-07 16:43                               ` Christopher Friedt
  2011-05-07 18:20                                 ` Christopher Harvey
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-07 16:43 UTC (permalink / raw
  To: gentoo-embedded

On Wed, Apr 20, 2011 at 10:23 AM, Christopher Friedt
<chrisfriedt@gmail.com> wrote:
> localhost ~ # x86_64-pc-linux-bionic-gcc -static -m32
> -specs=specfile.txt -o hi hi.c
> localhost ~ # ./hi
> Hello, Bionic World!

/ # LD_LIBRARY_PATH=/lib ./hi
Hello, Bionic world!

I am now in the choot via busybox ;-)

> 1) Fix internal specs (had to manually adjust for crts startfile/endfile)

Fixed 1) partially.

Still need to add the proper linker spec (/bin/linker) and default
library path spec (/lib).

> 2) make it work for -m64 by default

Forgetting about 2) this for now until upstream cares about 64-bit
support. It's actually pretty straight forward to implement, but my
immediate agenda will be x86 and arm.

3) This is definitely proving to be a good lesson in ensuring
compatibility. I've had to add stubs for & implement some syscalls to
get busybox to compile. Every package that doesn't compile is like a
new adventure in /usr/include convention. Building a static strace for
now to help diagnose problems.

It's coming along, and as soon as most of the busybox applets Just
Work™ I'll put it up the overlay. Seems promising so far though ;-)

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-07 16:43                               ` Christopher Friedt
@ 2011-05-07 18:20                                 ` Christopher Harvey
  2011-05-08  4:52                                   ` Steev Klimaszewski
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Harvey @ 2011-05-07 18:20 UTC (permalink / raw
  To: gentoo-embedded

> It's coming along, and as soon as most of the busybox applets Just
> Work™ I'll put it up the overlay. Seems promising so far though ;-)

What overlay? I feel like I either missed part of this conversion, or 
there is an overlay that I don't know about.



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-07 18:20                                 ` Christopher Harvey
@ 2011-05-08  4:52                                   ` Steev Klimaszewski
  2011-05-09 21:08                                     ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Steev Klimaszewski @ 2011-05-08  4:52 UTC (permalink / raw
  To: gentoo-embedded

On Sat, May 7, 2011 at 1:20 PM, Christopher Harvey
<chris@basementcode.com> wrote:
>> It's coming along, and as soon as most of the busybox applets Just
>> Work™ I'll put it up the overlay. Seems promising so far though ;-)
>
> What overlay? I feel like I either missed part of this conversion, or there
> is an overlay that I don't know about.
>
>
My guess would be, the overlay he is doing this work in, so as to make
it public, once it actually works and people can use it, rather than
posting it in an unworkable state and having a million emails asking
why this or that isn't working.


-- 
Steev Klimaszewski <steev@genesi-usa.com>
Senior Software Engineer, Genesi USA, Inc.



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-08  4:52                                   ` Steev Klimaszewski
@ 2011-05-09 21:08                                     ` Christopher Friedt
  2011-05-14  3:02                                       ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-09 21:08 UTC (permalink / raw
  To: gentoo-embedded

On Sun, May 8, 2011 at 12:52 AM, Steev Klimaszewski
<steev@genesi-usa.com> wrote:
>
> > What overlay? I feel like I either missed part of this conversion, or there
> > is an overlay that I don't know about.
> >
> My guess would be, the overlay he is doing this work in, so as to make
> it public, once it actually works and people can use it, rather than
> posting it in an unworkable state and having a million emails asking
> why this or that isn't working.

Good guess :)

My main goal was to get this overlay up to speed with my last project
that involved running jamvm atop bionic. The only difference here is
that the other project was done with the Android build system while
this one is using portage.

Busybox works right now in my chroot environment (rpc, nfs, and a
couple of other things are disabled for now). Library search paths
were set to /lib and /usr/lib by default, so I don't need to set
LD_LIBRARY_PATH anymore. Resolv is working. Need to add some things
like crypt(3), getpwent(3), etc.

The libc itself has several 'stubs' that print a 'fixme' message to
stderr whenever invoked, and return NULL / -1 / errno=ENOSYS.

The end result [current staus] will more or less be the following:

cross-i686-pc-linux-bionic/{binutils,gcc,bionic,bionic-kernel-headers}
[working aside from stubs]

bionic (libc, libm, libthread_db, libstdc++) [libc has some stubs]
icu4c [needs a c++ compiler]
zlib [working]
libxml2 [working, needs to be rebuilt and linked with icu4c]
libxslt [depends on working libxml2 w/ icu4c]
file (libmagic) [working]
classpath [soon...]
jamvm [soon...]

This setup (all the way to jamvm) is actually working quite well on 2
architectures right now (i686 & arm) when built using the Android
build system, so I'll be happy when it's working using portage,
because manual building / scripting from autotools to plain make is
getting painful when I'm just adding a new library to the build.

Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-09 21:08                                     ` Christopher Friedt
@ 2011-05-14  3:02                                       ` Christopher Friedt
  2011-05-14 13:48                                         ` Mike Frysinger
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-14  3:02 UTC (permalink / raw
  To: gentoo-embedded

Some (hopefully) highly anticipated updates:

root@localhost ~ # echo $SHELL
/bin/bash

root@localhost ~ # find /var/db/pkg -mindepth 2 -maxdepth 2
/var/db/pkg/dev-java/eclipse-ecj-3.5.2
/var/db/pkg/dev-java/gnu-classpath-0.98-r3
/var/db/pkg/dev-java/jamvm-1.5.4-r1
/var/db/pkg/app-shells/bash-4.2_p8
/var/db/pkg/dev-libs/libffi-3.0.10_rc8
/var/db/pkg/dev-libs/icu-4.6
/var/db/pkg/dev-libs/libxml2-2.7.8
/var/db/pkg/dev-libs/libxslt-1.1.26-r1
/var/db/pkg/app-editors/nano-2.3.0
/var/db/pkg/sys-libs/zlib-1.2.5-r2
/var/db/pkg/sys-libs/ncurses-5.9
/var/db/pkg/sys-libs/readline-6.2_p1
/var/db/pkg/sys-apps/busybox-1.18.3
/var/db/pkg/sys-apps/file-5.06

root@localhost ~ # javac Hello.java && echo success
success

root@localhost ~ # java Hello
Hello, Bionic world!

root@localhost ~ # java ResolverTest www.google.ca
www.google.ca/74.125.91.104

root@localhost ~ # javac HelloGenerics.java && echo success
success

root@localhost ~ # java HelloGenerics
Hello, Bionic world!


HelloGenerics.java
-----------------------------

import java.util.*;

public class HelloGenerics<T> {
	public ArrayList<T> words = new ArrayList<T>();

	public static void main(String[] arg) {
		HelloGenerics<String> hi = new HelloGenerics<String>();
		
		hi.words.add("Hello");
		hi.words.add(", ");
		hi.words.add("Bionic");
		hi.words.add(" ");
		hi.words.add("world");
		hi.words.add("!");
		
		for(String s: hi.words) {
			System.out.print(s);
		}
		System.out.println();
	}
}



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-14  3:02                                       ` Christopher Friedt
@ 2011-05-14 13:48                                         ` Mike Frysinger
  2011-05-15 15:25                                           ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Mike Frysinger @ 2011-05-14 13:48 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 311 bytes --]

On Friday, May 13, 2011 23:02:08 Christopher Friedt wrote:
> root@localhost ~ # find /var/db/pkg -mindepth 2 -maxdepth 2

if you installed portage-utils, you could use `qlist`.  and if you used binary 
packages, you could use `qmerge` to manage things.  should be simpler than 
python + emerge ...
-mike

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-14 13:48                                         ` Mike Frysinger
@ 2011-05-15 15:25                                           ` Christopher Friedt
  2011-05-16  9:24                                             ` Ed W
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-15 15:25 UTC (permalink / raw
  To: gentoo-embedded

On Sat, May 14, 2011 at 9:48 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> if you installed portage-utils, you could use `qlist`.  and if you used binary
> packages, you could use `qmerge` to manage things.  should be simpler than
> python + emerge ...

Oh, i know... portage-utils is great, i've used it for a long time. I
tried to build it on bionic, but portage-utils requires a few features
in glibc that don't exist in bionic (yet) - glob.h, etc. Then I ended
up just statically linking (from i686-pc-linux-gnu), but it still
wasn't working for, e.g. "qlist jamvm".

I guess what I'll be started with (after ~Tuesday) is rebuilding
everything from scratch using my overlay, adding any remaining patches
/ ironing out any bugs, and then making a public overlay.

Mike, where do you suggest I make the overlay? I was thinking to put
it up on sf.net since they've had git access for a while. That will do
until o.g.o picks up (if they do).

Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-15 15:25                                           ` Christopher Friedt
@ 2011-05-16  9:24                                             ` Ed W
  2011-05-16 11:44                                               ` Peter Stuge
  0 siblings, 1 reply; 54+ messages in thread
From: Ed W @ 2011-05-16  9:24 UTC (permalink / raw
  To: gentoo-embedded

On 15/05/2011 16:25, Christopher Friedt wrote:

> Mike, where do you suggest I make the overlay? I was thinking to put
> it up on sf.net since they've had git access for a while.

Whenever the answer is sf.net, I tend to think it's the wrong answer.
Slow and sluggish is my mental association with sf.net

If the question is "git repo" then my first thought is github since they
do it well (others may think of gitorious first).

Github used to have very weak project management facilities around it
(can't say I like the sf.net ones though).  However, recently I have
seen several projects actually switch from high end PM sites such as
lighthouse for the new github issues system - suggests that it's
improved recently?

Good luck

Ed W



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-16  9:24                                             ` Ed W
@ 2011-05-16 11:44                                               ` Peter Stuge
  2011-05-16 13:36                                                 ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Peter Stuge @ 2011-05-16 11:44 UTC (permalink / raw
  To: gentoo-embedded

Ed W wrote:
> > Mike, where do you suggest I make the overlay? I was thinking to put
> > it up on sf.net since they've had git access for a while.
> 
> Whenever the answer is sf.net, I tend to think it's the wrong answer.

Agree. Take a look at their EULA. If you need a hosted git repo I'm
happy to help.


//Peter



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-16 11:44                                               ` Peter Stuge
@ 2011-05-16 13:36                                                 ` Christopher Friedt
  2011-05-18 17:24                                                   ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-16 13:36 UTC (permalink / raw
  To: gentoo-embedded

I guess sf.net only makes sense for distributing source as a tarball
(i.e. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"), so that's
probably pointless here.

I usually use gitorious, personally, and I've never really had a
problem with it.

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-16 13:36                                                 ` Christopher Friedt
@ 2011-05-18 17:24                                                   ` Christopher Friedt
  2011-05-18 17:43                                                     ` Christopher Friedt
  2011-05-19  1:09                                                     ` Peter Stuge
  0 siblings, 2 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-05-18 17:24 UTC (permalink / raw
  To: gentoo-embedded

I've made tarball snapshots of the portage overlay (i.e. all source),
sysroot, and toolchain available here[1].

A gitorious project has been set up here[2], but I'm not going to
check-in the overlay until a bit more testing is done.

I've also set up a blog to make announcements here[3], and will be
making the first post after checking the overlay into gitorious and
after one or two people can reproduce the build.

Incidentally, if anyone here has an amd64 or x86 arch running Linux
and would like to do take it for a test drive, download the sysroot
from [1], unpack to /usr/i686-pc-linux-bionic and then run the
following:

===================================
#!/bin/sh

for i in proc sys dev tmp; do
  mount -o bind /${i} /usr/i686-pc-linux-bionic/${i}
done

chroot /usr/i686-pc-linux-bionic /bin/sh
===================================

Cheers,

C

[1] http://code.google.com/p/gentoo-bionic
[2] https://gitorious.org/gentoo-bionic
[3] http://gentoo-bionic.blogspot.com



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-18 17:24                                                   ` Christopher Friedt
@ 2011-05-18 17:43                                                     ` Christopher Friedt
  2011-05-19  1:09                                                     ` Peter Stuge
  1 sibling, 0 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-05-18 17:43 UTC (permalink / raw
  To: gentoo-embedded

Incidentally, if you try to recreate the toolchain, please use the following:

=====================================================
#!/bin/sh

export PORTDIR_OVERLAY="/usr/local/portage/crossdev-overlay"
export PORTDIR_OVERLAY="${PORTDIR_OVERLAY}
/usr/local/portage/gentoo-bionic-overlay"

emerge =sys-devel/crossdev-20110310 =sys-devel/gnuconfig-20100924

crossdev \
	-S \
	--g 4.6.0 \
	--target i686-pc-linux-bionic

=====================================================

Cheers,

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-18 17:24                                                   ` Christopher Friedt
  2011-05-18 17:43                                                     ` Christopher Friedt
@ 2011-05-19  1:09                                                     ` Peter Stuge
  2011-05-19 15:26                                                       ` Christopher Friedt
  1 sibling, 1 reply; 54+ messages in thread
From: Peter Stuge @ 2011-05-19  1:09 UTC (permalink / raw
  To: gentoo-embedded

Christopher Friedt wrote:
> chroot /usr/i686-pc-linux-bionic /bin/sh

I chrooted in on x86 without mounting, with mixed results:

# chroot /tmp/i686-pc-linux-bionic-20110518 /bin/sh
/ # ls
Illegal instruction
/ # bin/ls
bin   dev   etc   lib   mnt   proc  root  sbin  sys   tmp   usr   var
/ # which ls
Illegal instruction
/ # which
BusyBox v1.18.3 (2011-05-08 21:14:36 EDT) multi-call binary.

Usage: which [COMMAND]...

Locate a COMMAND

/ # echo $PATH
Illegal instruction
x40 tmp # (back out of chroot now; sh crashed)


//Peter



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-19  1:09                                                     ` Peter Stuge
@ 2011-05-19 15:26                                                       ` Christopher Friedt
  2011-05-19 16:34                                                         ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-19 15:26 UTC (permalink / raw
  To: gentoo-embedded

Hi Peter,

On Wed, May 18, 2011 at 9:09 PM, Peter Stuge <peter@stuge.se> wrote:
> I chrooted in on x86 without mounting, with mixed results:

I bet it's the syscall enumeration. I am doing my development on an
amd64 arch. Oddly, x86 and x86_64 have different syscalls in some
cases.

I guess I'll be rolling another arch momentarily.

Thanks for testing!

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-19 15:26                                                       ` Christopher Friedt
@ 2011-05-19 16:34                                                         ` Christopher Friedt
  2011-05-19 17:49                                                           ` Peter Stuge
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-19 16:34 UTC (permalink / raw
  To: gentoo-embedded

Hi Peter

I just set up a new vmware image runing gentoo (i686) and didn't run
into any of the illegal instruction issues that you mentioned. I did,
however, mount proc, sys, & dev before entering the chroot. Actually,
even when I didn't have them mounted, it was still working fine.

I am running things in VMware though, so if I get a chance in the next
little bit, I'll run it on my older 32-bit workstation.

Cheers, and thanks again for the feedback.

C



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-19 16:34                                                         ` Christopher Friedt
@ 2011-05-19 17:49                                                           ` Peter Stuge
  2011-05-20  1:31                                                             ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Peter Stuge @ 2011-05-19 17:49 UTC (permalink / raw
  To: gentoo-embedded

Christopher Friedt wrote:
> I just set up a new vmware image runing gentoo (i686) and didn't run
> into any of the illegal instruction issues that you mentioned.

I'll send you my kernel. I ran on a Thinkpad X40, Pentium-M.


//Peter



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-19 17:49                                                           ` Peter Stuge
@ 2011-05-20  1:31                                                             ` Christopher Friedt
  2011-07-13 22:15                                                               ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2011-05-20  1:31 UTC (permalink / raw
  To: gentoo-embedded

I'm almost inclined to think it's an ISA issue, but I guess it's
impossible to know where a SIGILL is coming from until it's run
through gdb.

I don't actually have gdb up and running yet, unfortunately, but
that's the route I would take. I believe they both use a version of
libiberty that needs to be patched, and I could probably recycle some
of the same patches I used for gcc-4.6.

I'll keep you informed.

C

On Thu, May 19, 2011 at 1:49 PM, Peter Stuge <peter@stuge.se> wrote:
> Christopher Friedt wrote:
>> I just set up a new vmware image runing gentoo (i686) and didn't run
>> into any of the illegal instruction issues that you mentioned.
>
> I'll send you my kernel. I ran on a Thinkpad X40, Pentium-M.
>
>
> //Peter
>
>



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2011-05-20  1:31                                                             ` Christopher Friedt
@ 2011-07-13 22:15                                                               ` Christopher Friedt
  0 siblings, 0 replies; 54+ messages in thread
From: Christopher Friedt @ 2011-07-13 22:15 UTC (permalink / raw
  To: gentoo-embedded

Just in case anyone is interested, I just put up an
arm-softfloat-linux-bioniceabi toolchain that I've had lying around
for a while.

I've only tested it for very simple ebuilds, so if it grows 1000 feet
tall, breathes fire, and destroys your city, I take no responsibility.

http://code.google.com/p/gentoo-bionic/downloads/list

C

On Thu, May 19, 2011 at 9:31 PM, Christopher Friedt
<chrisfriedt@gmail.com> wrote:
> I'm almost inclined to think it's an ISA issue, but I guess it's
> impossible to know where a SIGILL is coming from until it's run
> through gdb.
>
> I don't actually have gdb up and running yet, unfortunately, but
> that's the route I would take. I believe they both use a version of
> libiberty that needs to be patched, and I could probably recycle some
> of the same patches I used for gcc-4.6.
>
> I'll keep you informed.
>
> C
>
> On Thu, May 19, 2011 at 1:49 PM, Peter Stuge <peter@stuge.se> wrote:
>> Christopher Friedt wrote:
>>> I just set up a new vmware image runing gentoo (i686) and didn't run
>>> into any of the illegal instruction issues that you mentioned.
>>
>> I'll send you my kernel. I ran on a Thinkpad X40, Pentium-M.
>>
>>
>> //Peter
>>
>>
>



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
       [not found]           ` <52667F4C.9090008@tampabay.rr.com>
@ 2013-10-22 15:19             ` chrisfriedt
  2013-12-09  5:09               ` Mike Frysinger
  0 siblings, 1 reply; 54+ messages in thread
From: chrisfriedt @ 2013-10-22 15:19 UTC (permalink / raw
  To: gentoo-embedded; +Cc: wireless

There is currently no connection to Linaro. Its just "for fun" and kind of experimental.

I gave a talk on ‎Gentoo Bionic at ELC in February and will be setting up a github repo whenever I have some time for the toolchain, rather than keeping it on Google code.

One thing I've identified is that there are really 2 routes that might be actually independent.

1) using Gentoo Prefix to have a Gentoo install atop of Android. Someone else has already done this recently - saw it on G+)‎. This is really the route for people who would still like to use their Android system but who would also like to emerge packages on top of it in a separate sysroot.

One issue with the toolchain is that definitions in portage itself (/usr/portage/profiles) needs to be modified in order to ‎use bionic instead of glibc, which means that a simple overlay will not work until Gentoo includes those definitions upstream in portage. Bit of a chicken / egg problem.

2) using ‎bionic as the system libc a) with the Android-normal prefix of /system, which is compatible with Android, and b) using the gentoo-normal prefix of /usr which is incompatible with Android. I'm personally aiming for b.

‎In either case, a rather large set of patches need to be maintained just to get things to properly compile against bionic until the bionic headers behave "normally" - e.g. order of includes, conditional defines, conditional includes, include_next, etc. "Proper" (expected) behaviour of libc headers affects virtually everything that uses GNU autotools.

I'll probably maintain a separate github ‎repo for this overlay.

Hope that helps.

C

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message  
From: wireless
Sent: Tuesday, October 22, 2013 9:35 AM
To: chrisfriedt@gmail.com
Subject: Re: [gentoo-embedded] gcc-4.6 / bionic

I know this is old:

On 04/06/11 10:52, Christopher Friedt wrote:
> Also... an important couple of features:
>
> TLS works on certain hardware (e.g. with hardware supported tls, like
> armv7a), but not on all architectures, like in GNU [1], [2]. It's
> probably better to blanket-disable this for now via a portage profile
> variable.
>
> SMP does not currently work OOTB. There are some patches floating
> around[3], with issues that mainly lie outside of bionic, but I the
> 'official' SMP code will be available whenever Honeycomb is
> released[4] ... which is of course whenever Google decides to do
> release Honeycomb.
>
> C
>
> [1] http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Thread-Local.html#Thread-Local
> [2] http://www.akkadia.org/drepper/tls.pdf
> [3] http://groups.google.com/group/android-platform/browse_thread/thread/de20f1b10703acc2
> [4] http://developer.android.com/sdk/android-3.0-highlights.html#multicore


What the latest with you and BIONIC.....
LINARO connection?


curiously,
James (embedded Gentoo)





^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2013-10-22 15:19             ` chrisfriedt
@ 2013-12-09  5:09               ` Mike Frysinger
  2013-12-09 18:30                 ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: Mike Frysinger @ 2013-12-09  5:09 UTC (permalink / raw
  To: gentoo-embedded; +Cc: chrisfriedt, wireless

[-- Attachment #1: Type: Text/Plain, Size: 834 bytes --]

On Tuesday 22 October 2013 11:19:54 chrisfriedt@gmail.com wrote:
> 1) using Gentoo Prefix to have a Gentoo install atop of Android. Someone
> else has already done this recently - saw it on G+)‎. This is really the
> route for people who would still like to use their Android system but who
> would also like to emerge packages on top of it in a separate sysroot.
> 
> One issue with the toolchain is that definitions in portage itself
> (/usr/portage/profiles) needs to be modified in order to ‎use bionic
> instead of glibc, which means that a simple overlay will not work until
> Gentoo includes those definitions upstream in portage. Bit of a chicken /
> egg problem.

feel free to post patches to add the various bits as needed to the profiles/ 
dir.  i see no reason to keep those out of the main tree.
-mike

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

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2013-12-09  5:09               ` Mike Frysinger
@ 2013-12-09 18:30                 ` Christopher Friedt
  0 siblings, 0 replies; 54+ messages in thread
From: Christopher Friedt @ 2013-12-09 18:30 UTC (permalink / raw
  To: Mike Frysinger; +Cc: gentoo-embedded, wireless

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

Hi Mike,

I definitely will. It's a bit slow-going though because it's a spare-time
project.

If anyone on the list feels like helping out, feel free to get in touch :-)
I'm EST / Canada, and could collaborate real-time some weekday evenings.

©

Sent from my Android
On Dec 9, 2013 12:09 AM, "Mike Frysinger" <vapier@gentoo.org> wrote:

> On Tuesday 22 October 2013 11:19:54 chrisfriedt@gmail.com wrote:
> > 1) using Gentoo Prefix to have a Gentoo install atop of Android. Someone
> > else has already done this recently - saw it on G+). This is really the
> > route for people who would still like to use their Android system but who
> > would also like to emerge packages on top of it in a separate sysroot.
> >
> > One issue with the toolchain is that definitions in portage itself
> > (/usr/portage/profiles) needs to be modified in order to use bionic
> > instead of glibc, which means that a simple overlay will not work until
> > Gentoo includes those definitions upstream in portage. Bit of a chicken /
> > egg problem.
>
> feel free to post patches to add the various bits as needed to the
> profiles/
> dir.  i see no reason to keep those out of the main tree.
> -mike
>

[-- Attachment #2: Type: text/html, Size: 1621 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
       [not found] ` <536947D2.9050009@tampabay.rr.com>
@ 2014-05-06 22:26   ` Christopher Friedt
  2014-05-07  0:51     ` wireless
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2014-05-06 22:26 UTC (permalink / raw
  To: gentoo-embedded, wireless

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

It seems fairly interesting from a hardened perspective. I don't think it's
necessarily a replacement though.

©

Sent from my Android

[-- Attachment #2: Type: text/html, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2014-05-06 22:26   ` Christopher Friedt
@ 2014-05-07  0:51     ` wireless
  2014-05-21 12:06       ` Christopher Friedt
  0 siblings, 1 reply; 54+ messages in thread
From: wireless @ 2014-05-07  0:51 UTC (permalink / raw
  To: gentoo-embedded

On 05/06/14 17:26, Christopher Friedt wrote:
> It seems fairly interesting from a hardened perspective. I don't think
> it's necessarily a replacement though.
>

Well it's not (lilblue) a full embedded system, but an interestingly 
related work to the convergence of embedded and full linux systems. 
Aarch64 will really accelerate the convergence of linux distros and 
embedded linux systems, imho.

So, I was also wondering if anyone had any Aarch64 gentoo-embedded 
examples to put out for review or into the gentoo handbook?


curiously,
James




^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2014-05-07  0:51     ` wireless
@ 2014-05-21 12:06       ` Christopher Friedt
  2014-05-21 18:07         ` wireless
  0 siblings, 1 reply; 54+ messages in thread
From: Christopher Friedt @ 2014-05-21 12:06 UTC (permalink / raw
  To: gentoo-embedded

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

On Tue, May 6, 2014 at 8:51 PM, wireless <wireless@tampabay.rr.com> wrote:

> So, I was also wondering if anyone had any Aarch64 gentoo-embedded
> examples to put out for review or into the gentoo handbook?
>

That's actually a really good question - i.e. what is the state of Aarch64
in Gentoo?

Does the Gentoo project have dedicated hardware to use? Checking out
://packages, there is an arm64 category at least, but I have no idea as to
how far support has propagated through the portage tree for it, or whether
there is an arm64 overlay floating around somewhere.

http://packages.gentoo.org/?arches=all

C

[-- Attachment #2: Type: text/html, Size: 1152 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2014-05-21 12:06       ` Christopher Friedt
@ 2014-05-21 18:07         ` wireless
  2014-05-30  5:16           ` Steev Klimaszewski
  0 siblings, 1 reply; 54+ messages in thread
From: wireless @ 2014-05-21 18:07 UTC (permalink / raw
  To: gentoo-embedded


On 05/21/14 07:06, Christopher Friedt wrote:
>
> On Tue, May 6, 2014 at 8:51 PM, wireless <wireless@tampabay.rr.com
> <mailto:wireless@tampabay.rr.com>> wrote:
>
>     So, I was also wondering if anyone had any Aarch64 gentoo-embedded
>     examples to put out for review or into the gentoo handbook?
>
> That's actually a really good question - i.e. what is the state of
> Aarch64 in Gentoo?
>
> Does the Gentoo project have dedicated hardware to use? Checking out
> ://packages, there is an arm64 category at least, but I have no idea as
> to how far support has propagated through the portage tree for it, or
> whether there is an arm64 overlay floating around somewhere.
>
> http://packages.gentoo.org/?arches=all
>
> C


Hello Christopher

Armin76 has this [1] . Also see Linaro [2]; Linaro is the
cutting edge of arm64 development. [3]

[1] 
http://armin762.wordpress.com/2014/04/06/new-aarch64arm64-stage3-available/

[2] http://www.linaro.org/news/linaro-forms-security-working-group/

[3] 
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AroPySpr4FnEdEwwZkhrZ1VYUEg2LTlQZzR0RlhzM3c#gid=3

hth,
James


^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2014-05-21 18:07         ` wireless
@ 2014-05-30  5:16           ` Steev Klimaszewski
  2014-05-30 14:03             ` wireless
  0 siblings, 1 reply; 54+ messages in thread
From: Steev Klimaszewski @ 2014-05-30  5:16 UTC (permalink / raw
  To: gentoo-embedded

On Wed, 2014-05-21 at 13:07 -0500, wireless wrote:
> On 05/21/14 07:06, Christopher Friedt wrote:
> >
> > On Tue, May 6, 2014 at 8:51 PM, wireless <wireless@tampabay.rr.com
> > <mailto:wireless@tampabay.rr.com>> wrote:
> >
> >     So, I was also wondering if anyone had any Aarch64 gentoo-embedded
> >     examples to put out for review or into the gentoo handbook?
> >
> > That's actually a really good question - i.e. what is the state of
> > Aarch64 in Gentoo?
> >
> > Does the Gentoo project have dedicated hardware to use? Checking out
> > ://packages, there is an arm64 category at least, but I have no idea as
> > to how far support has propagated through the portage tree for it, or
> > whether there is an arm64 overlay floating around somewhere.
> >
> > http://packages.gentoo.org/?arches=all
> >
> > C
> 
> 
> Hello Christopher
> 
> Armin76 has this [1] . Also see Linaro [2]; Linaro is the
> cutting edge of arm64 development. [3]
> 
> [1] 
> http://armin762.wordpress.com/2014/04/06/new-aarch64arm64-stage3-available/
> 
> [2] http://www.linaro.org/news/linaro-forms-security-working-group/
> 
> [3] 
> https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AroPySpr4FnEdEwwZkhrZ1VYUEg2LTlQZzR0RlhzM3c#gid=3
> 
> hth,
> James
> 

Aside from the iPhone 5s, there isn't really a lot of hardware generally
available with arm64 on it.  There is the X-Gene X-C1, though it's $5000
USD - I'm planning on getting one, but I'm still waiting on an email
from AppliedMicro telling me where I can actually purchase it.



^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-embedded] gcc-4.6 / bionic
  2014-05-30  5:16           ` Steev Klimaszewski
@ 2014-05-30 14:03             ` wireless
  0 siblings, 0 replies; 54+ messages in thread
From: wireless @ 2014-05-30 14:03 UTC (permalink / raw
  To: gentoo-embedded

On 05/30/14 00:16, Steev Klimaszewski wrote:

>
> Aside from the iPhone 5s, there isn't really a lot of hardware generally
> available with arm64 on it.  There is the X-Gene X-C1, though it's $5000
> USD - I'm planning on getting one, but I'm still waiting on an email
> from AppliedMicro telling me where I can actually purchase it.
>
>
Vendors of silicon (SOC) have large companies in line before the small 
companies and open source dev community. Things will change, be patient.
Do your research, before you purchase the board to ensure it does what 
you want and is compatible with opensource work. There is a lot of 
"smoke and mirrors" out there with 64 bit arm. The best thing to do is
contact an FAE (Field Application Engineer) from your favorite vendor,
such as Avnet, TI, Digikey, etc) specifically ask the vendor for open 
source linux stacks which are available and verify the download
before purchase.

Here are some keywords (CortexA57, A15, cortex-A15, aarch64, Omap5, 
Omap5430) among other to perform your google searches for 64 bit arm dev 
boards. Also check over at the linaro site. Arndale is very popular,
but a myriad of SoC vendors have place silicon with various developers
in many  different companies.


http://www.engadget.com/2012/10/26/samsung-launches-arndale-community-board/


http://www.ti.com/tool/omap5432-evm?DCMP=omap-5432evm-130521&HQS=omap-5432evm-b-sw


Sorry, I have not kept up with the latest on 64 bit arm development boards.


hth,
James



^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2014-05-30 13:03 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 20:15 [gentoo-embedded] gcc-4.6 / bionic Christopher Friedt
2011-04-05 23:40 ` wireless
2011-04-06  2:39   ` Christopher Friedt
2011-04-06 13:45     ` wireless
2011-04-06 14:30       ` Christopher Friedt
2011-04-06 14:52         ` Christopher Friedt
2011-04-06 15:40           ` wireless
2011-04-07  4:46           ` Mike Frysinger
     [not found]           ` <52667F4C.9090008@tampabay.rr.com>
2013-10-22 15:19             ` chrisfriedt
2013-12-09  5:09               ` Mike Frysinger
2013-12-09 18:30                 ` Christopher Friedt
2011-04-06 15:40         ` wireless
2011-04-07  4:40       ` Mike Frysinger
2011-04-07  4:43     ` Mike Frysinger
2011-04-07 11:56       ` Christopher Friedt
2011-04-07 19:52         ` Mike Frysinger
2011-04-10 13:43           ` Christopher Friedt
2011-04-10 16:39             ` Mike Frysinger
2011-04-11 21:11               ` Christopher Friedt
2011-04-11 21:13                 ` Christopher Friedt
2011-04-11 22:52                 ` Arkadi Shishlov
2011-04-12 12:52                   ` Ed W
2011-04-12 20:23                     ` Christopher Friedt
2011-04-15 12:42                       ` Christopher Friedt
2011-04-15 13:16                         ` wireless
2011-04-15 15:46                           ` Christopher Friedt
2011-04-20 14:23                             ` Christopher Friedt
2011-05-07 16:43                               ` Christopher Friedt
2011-05-07 18:20                                 ` Christopher Harvey
2011-05-08  4:52                                   ` Steev Klimaszewski
2011-05-09 21:08                                     ` Christopher Friedt
2011-05-14  3:02                                       ` Christopher Friedt
2011-05-14 13:48                                         ` Mike Frysinger
2011-05-15 15:25                                           ` Christopher Friedt
2011-05-16  9:24                                             ` Ed W
2011-05-16 11:44                                               ` Peter Stuge
2011-05-16 13:36                                                 ` Christopher Friedt
2011-05-18 17:24                                                   ` Christopher Friedt
2011-05-18 17:43                                                     ` Christopher Friedt
2011-05-19  1:09                                                     ` Peter Stuge
2011-05-19 15:26                                                       ` Christopher Friedt
2011-05-19 16:34                                                         ` Christopher Friedt
2011-05-19 17:49                                                           ` Peter Stuge
2011-05-20  1:31                                                             ` Christopher Friedt
2011-07-13 22:15                                                               ` Christopher Friedt
2011-04-15 13:53                         ` Christopher Friedt
2011-04-12 19:58                   ` Christopher Friedt
2011-04-12 20:16                     ` Christopher Friedt
     [not found] ` <536947D2.9050009@tampabay.rr.com>
2014-05-06 22:26   ` Christopher Friedt
2014-05-07  0:51     ` wireless
2014-05-21 12:06       ` Christopher Friedt
2014-05-21 18:07         ` wireless
2014-05-30  5:16           ` Steev Klimaszewski
2014-05-30 14:03             ` wireless

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox