Mailing List Archive

Re: about gentoo-bionic
On Fri, Jul 8, 2011 at 2:29 AM, Liang Peng <pengliang.sdu@gmail.com> wrote:
>      I am interesting in your project gentoo-bionic, but their is only empty
> project in Gitorious and google code,
> have you finished this project?

The Google Code page is actually not empty [1]. The rest will be more
populated once more testing has been done.

I've chosen to provide the overlay / source / binaries as a tarball
for now until a few more people have tested it out. Actually, this is
a good reminder to put together a small qemu image so that people
could easily try out. I've been putting that off since work has been
fairly busy lately. Also, I really need to upload the arm toolchain I
built too.

Note to self...

>      And is it possible to add bionic to be supported by crossdev?

Yes, please see the link at [1].

>      What‘s the simple way to build a cross compile platform for android by
> “#crossdev -t armeb-android-linux-bionic" ?

It would be something like that except for two exceptions.

1) The arm port of bionic is only arm eabi compatible (which implies
little-endianness IIRC)
2) The 'android' vendor string has no effect as far as crossdev is
concerned. It's better to use softfloat, hardfloat, or unknown. Please
see the crossdev and embedded guides at [2], [3]

I would suggest something more like

crossdev -S --g 4.6.0 --target armv7a-softfloat-linux-bioniceabi

(but only after you've set up the overlay).


For further discussion, please write on the gentoo-embedded mailing
list [4]. You can also check out this thread [5] for more information.

Cheers,

Chris

[1] http://code.google.com/p/gentoo-bionic/downloads/list
[2] http://www.gentoo.org/proj/en/base/embedded/cross-development.xml
[3] http://www.gentoo.org/proj/en/base/embedded/
[4] http://www.gentoo.org/main/en/lists.xml
[5] http://archives.gentoo.org/gentoo-embedded/msg_65b2bde365491614105b665c9685da51.xml
Re: about gentoo-bionic [ In reply to ]
On Fri, Jul 8, 2011 at 7:20 PM, Christopher Friedt <chrisfriedt@gmail.com>wrote:

> On Fri, Jul 8, 2011 at 2:29 AM, Liang Peng <pengliang.sdu@gmail.com>
> wrote:
> > I am interesting in your project gentoo-bionic, but their is only
> empty
> > project in Gitorious and google code,
> > have you finished this project?
>
> The Google Code page is actually not empty [1]. The rest will be more
> populated once more testing has been done.
>
> I've chosen to provide the overlay / source / binaries as a tarball
> for now until a few more people have tested it out. Actually, this is
> a good reminder to put together a small qemu image so that people
> could easily try out. I've been putting that off since work has been
> fairly busy lately. Also, I really need to upload the arm toolchain I
> built too.
>
> Note to self...
>
> > And is it possible to add bionic to be supported by crossdev?
>
> Yes, please see the link at [1].
>
> > What‘s the simple way to build a cross compile platform for android
> by
> > “#crossdev -t armeb-android-linux-bionic" ?
>
> It would be something like that except for two exceptions.
>
> 1) The arm port of bionic is only arm eabi compatible (which implies
> little-endianness IIRC)
> 2) The 'android' vendor string has no effect as far as crossdev is
> concerned. It's better to use softfloat, hardfloat, or unknown. Please
> see the crossdev and embedded guides at [2], [3]
>
> I would suggest something more like
>
> crossdev -S --g 4.6.0 --target armv7a-softfloat-linux-bioniceabi
>
> (but only after you've set up the overlay).
>
>
> For further discussion, please write on the gentoo-embedded mailing
> list [4]. You can also check out this thread [5] for more information.
>
> Cheers,
>
> Chris
>
> [1] http://code.google.com/p/gentoo-bionic/downloads/list
> [2] http://www.gentoo.org/proj/en/base/embedded/cross-development.xml
> [3] http://www.gentoo.org/proj/en/base/embedded/
> [4] http://www.gentoo.org/main/en/lists.xml
> [5]
> http://archives.gentoo.org/gentoo-embedded/msg_65b2bde365491614105b665c9685da51.xml
>

Thanks very much for so detailed and expert help.

--
Best regards,
Peng Liang
Re: about gentoo-bionic [ In reply to ]
On Fri, Jul 8, 2011 at 7:20 PM, Christopher Friedt <chrisfriedt@gmail.com>wrote:

>
>
> I would suggest something more like
>
> crossdev -S --g 4.6.0 --target armv7a-softfloat-linux-bioniceabi
>
>
I get failed with fenv.h missing when compiling the
cross-i686-pc-linux-bionic/gcc-4.6.0 at stage1, next is the detailed
message:

-------------------------------------------------
/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/build/./gcc/xgcc
-B/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/build/./gcc/
-B/usr/i686-pc-linux-bionic/bin/ -B/usr/i686-pc-linux-bionic/lib/ -isystem
/usr/i686-pc-linux-bionic/include -isystem
/usr/i686-pc-linux-bionic/sys-include -g -O2 -pipe -O2 -g -O2 -pipe
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -I. -I.
-I../.././gcc
-I/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc
-I/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc/.
-I/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc/../gcc
-I/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc/../include
-I/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o bid_convert_data.o
-MT bid_convert_data.o -MD -MP -MF bid_convert_data.dep -c
/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc/config/libbid/bid_convert_data.c
/var/tmp/portage/cross-i686-pc-linux-bionic/gcc-4.6.0/work/gcc-4.6.0/libgcc/config/libbid/bid_decimal_globals.c:47:18:
fatal error: fenv.h: No such file or directory
compilation terminated.

----------------------------------------------

any suggestions ?




--
Best regards,
Peng Liang