toolchain version

Showing 1-13 of 13 messages
toolchain version aung.opensource 8/14/08 8:34 AM
hello everybody

who could please share with me the newest toolchain version for
beagleboard ? 2007q1-21 ?

thank you
aung
Re: [beagleboard] toolchain version Matthieu Poullet 8/14/08 8:51 AM
Hi,

Sourcery G++ Lite 2007q3-53 for ARM EABI should be the right one:
http://www.codesourcery.com/gnu_toolchains/arm/portal/release316

Regards,
Matthieu.

Re: [beagleboard] Re: toolchain version Steven King 8/14/08 9:20 AM
On Thursday 14 August 2008 8:51:30 Matthieu Poullet wrote:
> Hi,
>
> Sourcery G++ Lite 2007q3-53 for ARM EABI should be the right one:
> http://www.codesourcery.com/gnu_toolchains/arm/portal/release316

there is also a patch to stock gcc 4.3.1 to fix the ICE with -mfpu=neon, has
anybody given that a good workout?


--
"Because you all know we'd all fit better in a padded room than a glass
house.."
Linus Torvalds

Re: toolchain version aung.opensource 8/14/08 7:16 PM
thank you for your information , i start from 2007q3-53 .

Regards
Aung
Re: toolchain version aung.opensource 8/16/08 9:36 AM
I met some problem when i build u boot by 2007q3-53 and  my uboot is u-
boot_beagle_revb[1].tar.gz

error message as below , any thing i forget to do?

                        --start-group lib_generic/libgeneric.a cpu/
omap3/libomap3.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/
libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/
libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a drivers/
bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/
libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/
libinput.a drivers/misc/libmisc.a drivers/mtd/libmtd.a drivers/mtd/
nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/
onenand/libonenand.a drivers/net/libnet.a drivers/net/sk98lin/
libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/
spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/
usb/libusb.a drivers/video/libvideo.a common/libcommon.a libfdt/
libfdt.a api/libapi.a post/libpost.a board/omap3530beagle/
libomap3530beagle.a --end-group -L /opt/arm-2007q3/bin/../lib/gcc/arm-
none-eabi/4.2.1 -lgcc -lgcc_eh \
                        -Map u-boot.map -o u-boot
arm-none-eabi-ld: cannot find -lgcc_eh





On 8月15日, 上午10時16分, "aung.opensource" <aung.opensou...@gmail.com>
wrote:
> > Linus Torvalds- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
Re: toolchain version John Beetem 8/16/08 10:25 AM
I'm also a newbie as far as Sourcery is concerned (< 24 hours
experience, no kernel or Uboot builds), but this might be useful:

The linker is looking for libgcc_eh.a and is failing to find it in .../
lib/gcc/arm-none-eabi/4.2.1.

I've downloaded two versions of G++ Lite:
1.  arm-none-eabi 2007q3-53 is for building low-level applications
such as Uboot and Linux Kernel image that don't have an underlying
operating system.
2.  arm-none-linux-gnueabi 2007q3-51 is for building Lunix
applications such as user code that runs on Ångström.  I've used this
successfully for both "Hello, world" and a simple X11 application,
running on top of Koen's Ångström demo.

arm-none-eabi 2007q3-53 does not seem to have library libgcc_eh.a.
On the other hand, arm-none-linux-gnueabi 2007q3-51 does have it in
several locations.

You might try removing "-lgcc_eh" from the gcc (ld) command and see if
it's really needed by Uboot.

John

On Aug 16, 9:36 am, "aung.opensource" <aung.opensou...@gmail.com>
wrote:
Re: [beagleboard] Re: toolchain version Dirk 8/16/08 11:34 AM
aung.opensource wrote:
> I met some problem when i build u boot by 2007q3-53 and  my uboot is u-
> boot_beagle_revb[1].tar.gz
>
> error message as below , any thing i forget to do?
>
>                         --start-group lib_generic/libgeneric.a cpu/
> omap3/libomap3.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/
> libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/
> libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a drivers/
> bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/
> libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/
> libinput.a drivers/misc/libmisc.a drivers/mtd/libmtd.a drivers/mtd/
> nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/
> onenand/libonenand.a drivers/net/libnet.a drivers/net/sk98lin/
> libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/
> spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/
> usb/libusb.a drivers/video/libvideo.a common/libcommon.a libfdt/
> libfdt.a api/libapi.a post/libpost.a board/omap3530beagle/
> libomap3530beagle.a --end-group -L /opt/arm-2007q3/bin/../lib/gcc/arm-
> none-eabi/4.2.1 -lgcc -lgcc_eh \
>                         -Map u-boot.map -o u-boot
> arm-none-eabi-ld: cannot find -lgcc_eh

arm-none-eabi is the wrong toolchain.

Did you edit U-Boot's makefile to compile with arm-none-eabi?

Just tried it, boot_beagle_revb.tar.gz compiles fine with
arm-none-linux-gnueabi-gcc.

Correct compiler is

-- cut --
> arm-none-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/paul/lite/linux/src/gcc-4.2/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap
--disable-libssp --disable-libgomp --disable-libstdcxx-pch
--with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared
--enable-symvers=gnu --enable-__cxa_atexit
--with-pkgversion=CodeSourcery Sourcery G++ Lite 2007q3-51
--with-bugurl=https://support.codesourcery.com/GNUToolchain/
--disable-nls
--prefix=/opt/codesourcery
--with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc
--with-build-sysroot=/scratch/paul/lite/linux/install/arm-none-linux-gnueabi/libc
--enable-poison-system-directories
--with-build-time-tools=/scratch/paul/lite/linux/install/arm-none-linux-gnueabi/bin
--with-build-time-tools=/scratch/paul/lite/linux/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)
-- cut --

Btw, better you use Steve's U-Boot git instead of
boot_beagle_revb.tar.gz. It has some fixes.

http://www.sakoman.net/cgi-bin/gitweb.cgi?p=u-boot-omap3.git;a=shortlog;h=refs/heads/test

Dirk

> On 8月15日, 上午10時16分, "aung.opensource" <aung.opensou...@gmail.com>
> wrote:
>
>>thank you for your information , i start from 2007q3-53 .
>>
>>Regards
>>Aung
>>
>>On Aug 15, 12:20 am, Steven King <sfkin...@yahoo.com> wrote:
>>
>>
>>
>>
>>>On Thursday 14 August 2008 8:51:30 Matthieu Poullet wrote:
>>
>>>>Hi,
>>
>>>>Sourcery G++ Lite 2007q3-53 for ARM EABI should be the right one:
>>>>http://www.codesourcery.com/gnu_toolchains/arm/portal/release316
>>
>>>there is also a patch to stock gcc 4.3.1 to fix the ICE with -mfpu=neon, has
>>>anybody given that a good workout?
>>
>>>--
>>>"Because you all know we'd all fit better in a padded room than a glass
>>>house.."
>>>Linus Torvalds- 隱藏被引用文字 -
>>
>>- 顯示被引用文字 -
>
> >
>

Re: [beagleboard] Re: toolchain version Dirk 8/16/08 11:40 AM
John Beetem wrote:
> I'm also a newbie as far as Sourcery is concerned (< 24 hours
> experience, no kernel or Uboot builds), but this might be useful:
>
> The linker is looking for libgcc_eh.a and is failing to find it in .../
> lib/gcc/arm-none-eabi/4.2.1.
>
> I've downloaded two versions of G++ Lite:
> 1.  arm-none-eabi 2007q3-53 is for building low-level applications
> such as Uboot and Linux Kernel image that don't have an underlying
> operating system.

 From technology point of view, this is correct. But for Beagle you
don't need this. We build everything (U-Boot, Kernel and user space)
with arm-none-linux-gnueabi and this is fine. So you don't need
arm-none-eabi.

> 2.  arm-none-linux-gnueabi 2007q3-51

Use this for everything (U-Boot, kernel and apps).

> is for building Lunix
> applications such as user code that runs on Ångström.  I've used this
> successfully for both "Hello, world" and a simple X11 application,
> running on top of Koen's Ångström demo.
>
> arm-none-eabi 2007q3-53 does not seem to have library libgcc_eh.a.
> On the other hand, arm-none-linux-gnueabi 2007q3-51 does have it in
> several locations.
>
> You might try removing "-lgcc_eh" from the gcc (ld) command and see if
> it's really needed by Uboot.

Better use arm-none-linux-gnueabi. Will be easier unless you are
interested in U-Boot optimization.

Dirk
Re: toolchain version John Beetem 8/16/08 12:34 PM
Dirk,

Thank you for clearing this up.

I was mislead by the 2nd post in this topic and also by the
BeagleBoard Wiki
http://elinux.org/BeagleBoard#Compiler which recommends 2007q3-53
(which is bare-metal EABI) instead of 2007q3-51 (Linux/GNU EABI).

John
Re: [beagleboard] Re: toolchain version Dirk Behme 8/16/08 12:43 PM
John Beetem wrote:
> Dirk,
>
> Thank you for clearing this up.
>
> I was mislead by the 2nd post in this topic and also by the
> BeagleBoard Wiki
> http://elinux.org/BeagleBoard#Compiler

It talks about "ARM GNU/Linux tool chain"

> which recommends 2007q3-53
> (which is bare-metal EABI) instead of 2007q3-51 (Linux/GNU EABI).

Thanks for the hint, I never looked so detailed at the 5x numbers ;)

Wiki want to say "use ARM GNU/Linux tool chain 2007q3 version".

Do you like to correct this?

Dirk

Re: toolchain version John Beetem 8/16/08 12:49 PM
I've never done Wiki updates, and I'd rather leave it to someone who
has had more than just a few hours of experience with Sourcery :-)
Re: toolchain version Matthieu Poullet 8/16/08 4:05 PM
Hi,

sorry I've made the mistake in the second post, so I've fixed the
Wiki.

Regards,
Matthieu.
Re: [beagleboard] Re: toolchain version aung.opensource 8/17/08 2:16 AM
Dear All
 
thank you , I solve it now.
 
Regards
Aung

 
2008/8/17, mpoullet <matthieu...@gmail.com>: