This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Bug report Internal compiler error
- From: Picque Sébastien <S dot Picque at TELEVIC dot com>
- To: "Austin, Brian" <Brian dot Austin at cirrus dot com>
- Cc: <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 28 Nov 2006 08:28:23 +0100
- Subject: RE: [ECOS] Bug report Internal compiler error
Hi,
Could somebody explain me what I have to add in my makefile to enable the mqueue support
Because apparently there are a lot of flags for QUEUE.
Do I need to add a component in my makefile also ?
Thnaks for your help/support
-----Original Message-----
From: Austin, Brian [mailto:Brian.Austin@cirrus.com]
Sent: lundi 27 novembre 2006 15:23
To: Picque Sébastien
Subject: RE: [ECOS] Bug report Internal compiler error
The kernel headers that are used to build the toolchain need to have mqueue support enabled in them.
Usually when I see that error
function `ssize_t mq_timedreceive(void*, char*, long unsigned int, unsigned
> int*, const timespec*)':
that usually tells me that you seg faulted on a mqueue call, and you dont really have posix mqueue support in your kernel headers
Just a thought.
________________________________
From: Picque Sébastien [mailto:S.Picque@TELEVIC.com]
Sent: Mon 11/27/2006 8:19 AM
To: Austin, Brian
Subject: RE: [ECOS] Bug report Internal compiler error
Version 3.2.1
I don't tnihk about the mqueue support
What must be added in the toolchain build ?
-----Original Message-----
From: Austin, Brian [mailto:Brian.Austin@cirrus.com]
Sent: lundi 27 novembre 2006 15:19
To: Picque Sébastien
Cc: ecos-discuss@ecos.sourceware.org
Subject: RE: [ECOS] Bug report Internal compiler error
was your elf toolchain built with mqueue support?
what is the version of gcc?
________________________________
From: ecos-discuss-owner@ecos.sourceware.org on behalf of Gary Thomas
Sent: Mon 11/27/2006 8:12 AM
To: Picque Sébastien
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Bug report Internal compiler error
Picque Sébastien wrote:
> Sorry, I forgot to paste the error result :
> It is for ARM architecture
> Gcc is from June 2005.
What version (result of 'gcc -v)? Have you tried any [newer] version of GCC?
>
> arm-elf-gcc -c -I/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom/install/inclu
> de -I/ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current -I/ecos-c/ver
> sion/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src -I/ecos-c/version/vcs/c/i
> ms/std_ims/ecos/packages/compat/posix/current/tests -I. -I/ecos-c/version/vcs/c/ims/std
> _ims/ecos/packages/compat/posix/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -mno-sh
> ort-load-words -Wall -Wpointer-arith -Winline -Wundef -Woverloaded-virtual -g -O2 -ffu
> nction-sections -fdata-sections -fno-rtti -fno-exceptions -Wp,-MD,src/mqueue.tmp -o s
> rc/compat_posix_mqueue.o /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/c
> urrent/src/mqueue.cxx
> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src/mqueue.cxx: In
>
> function `ssize_t mq_timedreceive(void*, char*, long unsigned int, unsigned
> int*, const timespec*)':
> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src/mqueue.cxx:874
> : Internal
> compiler error in schedule_block, at haifa-sched.c:1714
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [src/mqueue.o.d] Error 1
> make[2]: Leaving directory `/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom/com
> pat/posix/current'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom'
> make: *** [build_ecos] Error 2
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss