This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
linker segmentation fault
- From: David Chu <davidchu2000 at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 8 Sep 2004 10:50:14 -0700 (PDT)
- Subject: [ECOS] linker segmentation fault
While I was linking my application with ecos lib and
my own libs under cygwin, I got a seqmentation fault
from the linker.
It doesn't seem to be related to the stack size since
the same problem showed up under Linux environment
which has unlimited stack size.
Does anyone have the same problem before?
Thanks,
- David
======================================
arm-elf-gcc -nostartfiles
-L/opt/ecos/os-build/innov_default_install/lib -L. --n
o-target-default-spec -Wl,--gc-sections -Wl,-static -g
-O2 -nostdlib -o ./ovtphone_ecos_arm.exe
OVTEmbeddedApp.o ClientConfig.o OVTPhone.o -Ttarget.ld
../../../mplapi/stacks/lib/stack_ecos_arm.a -nostdlib
collect2: ld terminated with signal 11 [Segmentation
fault]
make: *** [ovtphone_ecos_arm.exe] Error 1
======================================
=====
- David Chu
email: davidchu2000@yahoo.com
efax #: (248)9280607
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss