public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] compile probblem with arm-linux-gcc
@ 2000-12-04  8:45 Andreas Schuldei
  2000-12-04  8:48 ` Andrew Lunn
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schuldei @ 2000-12-04  8:45 UTC (permalink / raw)
  To: ecos-discuss

* Andrew Lunn (andrew.lunn@ascom.ch) [001204 17:21]:
> Do the files that don't compile use C++ constructor classes with
> priorities? Thats the what the main extensions do? 

quite possibly.

> I would suggest you pull the tool set recommended on the eCos web site
> and try that. 

I looked there briefly and found nothing before I went for the debian tools.
where would they be?

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

* Re: [ECOS] compile probblem with arm-linux-gcc
  2000-12-04  8:45 [ECOS] compile probblem with arm-linux-gcc Andreas Schuldei
@ 2000-12-04  8:48 ` Andrew Lunn
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2000-12-04  8:48 UTC (permalink / raw)
  To: Andreas Schuldei; +Cc: ecos-discuss

> > I would suggest you pull the tool set recommended on the eCos web site
> > and try that. 
> 
> I looked there briefly and found nothing before I went for the debian tools.
> where would they be?

http://sources.redhat.com/ecos/tools/linux-arm-elf.html

        Andrew 

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

* Re: [ECOS] compile probblem with arm-linux-gcc
  2000-12-04  7:52 Andreas Schuldei
       [not found] ` <20001204165501.L7094@biferten.ma.tech.ascom.ch>
       [not found] ` <20001204170504.M7094@biferten.ma.tech.ascom.ch>
@ 2000-12-04  8:10 ` Lewin A.R.W. Edwards
  2 siblings, 0 replies; 6+ messages in thread
From: Lewin A.R.W. Edwards @ 2000-12-04  8:10 UTC (permalink / raw)
  To: ecos-discuss

Hi Andreas,

This is just a way-out guess, but are you logged in as root? If not, 
perhaps you could check to see if there are extant files 
src/common/kernel_thread.o, src/sync/kernel_mutex.o.

Another maybe (bear in mind I am no expert on Linux, gcc or eCos...) - 
could it be you have parallel processes trying to write the same file?

At 04:54 PM 12/4/00 +0100, you wrote:
>I downloaded the very cool binutils and gcc (and so on) from
> http://www.endebian.com . They provide cross developement tools in *.deb and
>*.rpm format. (I run debian woody)

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

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

* Re: [ECOS] compile probblem with arm-linux-gcc
       [not found] ` <20001204170504.M7094@biferten.ma.tech.ascom.ch>
@ 2000-12-04  8:09   ` Andreas Schuldei
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Schuldei @ 2000-12-04  8:09 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

* Andrew Lunn (andrew.lunn@ascom.ch) [001204 17:08]:
> Next Silly question. Which versions of gcc, gas etc are these? I use
> the eCos supplied tool chain for arm-elf- without a problem. It could
> be these tools are too old and don't have the necassary extensions.


andi@sigrid:/home/andi/ecos-work > arm-linux-gcc -v
Reading specs from /usr/lib/gcc-lib/arm-linux/2.95.2/specs
gcc version 2.95.2 20000313 (Debian GNU/Linux)

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

* Re: [ECOS] compile probblem with arm-linux-gcc
       [not found] ` <20001204165501.L7094@biferten.ma.tech.ascom.ch>
@ 2000-12-04  8:01   ` Andreas Schuldei
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Schuldei @ 2000-12-04  8:01 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

* Andrew Lunn (andrew.lunn@ascom.ch) [001204 16:58]:
> Silly question. Is your disk full?

excuse me, I forgot that, no it is not. 700M left. if the generated object
file would be that big I look for an other embedded system development
environment. 

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

* [ECOS] compile probblem with arm-linux-gcc
@ 2000-12-04  7:52 Andreas Schuldei
       [not found] ` <20001204165501.L7094@biferten.ma.tech.ascom.ch>
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andreas Schuldei @ 2000-12-04  7:52 UTC (permalink / raw)
  To: ecos-discuss

I downloaded the very cool binutils and gcc (and so on) from
http://www.endebian.com . They provide cross developement tools in *.deb and
*.rpm format. (I run debian woody)

then, I created a few symbolic links because eCos calls the tools arm-elf-gcc
etc and in the packages they are called arm-linux-gcc.
I created links for ar, gcc, as and objcopy. Is anything else needed? 

When I compile the system (make -k) three files fail to compile with errors of
the assembler:

rm-elf-gcc -c  -I/home/andi/ecos-work/install/include -I/home/andi/ecos/ecos/packages/kernel/current -I/home/andi/ecos/ecos/packages/kernel/current/src -I/home/andi/ecos/ecos/packages/kernel/current/tests -I. -I/home/andi/ecos/ecos/packages/kernel/current/src/common/ -mcpu=strongarm1100 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/common/thread.tmp -o src/common/kernel_thread.o /home/andi/ecos/ecos/packages/kernel/current/src/common/thread.cxx
src/common/kernel_thread.o: File truncated
/tmp/cc3pNX0s.s: Assembler messages:
/tmp/cc3pNX0s.s:4333: FATAL: Can't write src/common/kernel_thread.o: File truncated
make[1]: *** [src/common/thread.o.d] Error 1
arm-elf-gcc -c  -I/home/andi/ecos-work/install/include -I/home/andi/ecos/ecos/packages/kernel/current -I/home/andi/ecos/ecos/packages/kernel/current/src -I/home/andi/ecos/ecos/packages/kernel/current/tests -I. -I/home/andi/ecos/ecos/packages/kernel/current/src/sched/ -mcpu=strongarm1100 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/sched/sched.tmp -o src/sched/kernel_sched.o /home/andi/ecos/ecos/packages/kernel/current/src/sched/sched.cxx
src/sched/kernel_sched.o: File truncated
/tmp/cckMCQOO.s: Assembler messages:
/tmp/cckMCQOO.s:1267: FATAL: Can't write src/sched/kernel_sched.o: File truncated
make[1]: *** [src/sched/sched.o.d] Error 1
arm-elf-gcc -c  -I/home/andi/ecos-work/install/include -I/home/andi/ecos/ecos/packages/kernel/current -I/home/andi/ecos/ecos/packages/kernel/current/src -I/home/andi/ecos/ecos/packages/kernel/current/tests -I. -I/home/andi/ecos/ecos/packages/kernel/current/src/sync/ -mcpu=strongarm1100 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/sync/mutex.tmp -o src/sync/kernel_mutex.o /home/andi/ecos/ecos/packages/kernel/current/src/sync/mutex.cxx
src/sync/kernel_mutex.o: File truncated
/tmp/ccjWmSXh.s: Assembler messages:
/tmp/ccjWmSXh.s:2493: FATAL: Can't write src/sync/kernel_mutex.o: File truncated
make[1]: *** [src/sync/mutex.o.d] Error 1
make[1]: Target `build' not remade because of errors.
make[1]: Leaving directory `/home/andi/ecos-work/kernel/current'
make: *** [build] Error 2

What could I do? This is nothing I am familiar with.

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

end of thread, other threads:[~2000-12-04  8:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-04  8:45 [ECOS] compile probblem with arm-linux-gcc Andreas Schuldei
2000-12-04  8:48 ` Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2000-12-04  7:52 Andreas Schuldei
     [not found] ` <20001204165501.L7094@biferten.ma.tech.ascom.ch>
2000-12-04  8:01   ` Andreas Schuldei
     [not found] ` <20001204170504.M7094@biferten.ma.tech.ascom.ch>
2000-12-04  8:09   ` Andreas Schuldei
2000-12-04  8:10 ` Lewin A.R.W. Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).