Dear Jan,

I am using the toolchain from pre-built toolchain from CodeSourcery.

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

Regards,
Chun Yeow

On 9/18/07, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>
> Yeoh Chun Yeow wrote:
> > Dear Jan,
> >
> > I have found out that the cause of the AT91 problem. This is due to the
> > rtcfg frame structure which is defined using zero-length array and
> packed
> > attribute. I have modified all the addr in variable length to u32 since
> I
> > use the IP address and it works. I am afraid that it is something to do
> with
> > the ARM architecture and also the compiler. Do you have similar problem
> > before?
>
> Not that I recall right now. What toolchain are you using? Something
> pre-compiled or home-grown? What gcc version is involved?
>
> The current RTcfg code that handles this variably-sized frames is not
> really beautiful anyway, but before rewriting everything understanding
> the compiler's problem is required to avoid potentially papering over
> some other issue.
>
> >
> > By the way, attached the patch of real-time driver for AT91 built in the
> > rtnet tree.
>
> Thanks, will look into this soon.
>
> Jan
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to