Skip to contentSkip to conversation

Segmentation Fault

Xenomai-help Wayne Call 2 participants 2 messages Mar 3, 2009

lore
Share & tools
lore

Wayne Call

author
#0 lore raw

Hi,

When the Xenomai is built, there is a segmentation fault. What are the possible scenarios that would cause this error? There is an "ld terminated with signal 11" error associated with this fault.

Making all in cyclic

make[3]: Entering directory `/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/src/ testsuite/cyclic'

/bin/sh ../../../libtool --tag=CC --mode=link bfin-linux-uclibc-gcc -o
cyclictest -Wl,@/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/ src/skins/posix/posix.wrappers -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -mfdpic -mfdpic cyclictest-cyclictest.o ../../skins/posix/libpthread_rt.la -lpthread -lrt

bfin-linux-uclibc-gcc -o .libs/cyclictest -Wl,@/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/ src/skins/posix/posix.wrappers -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -mfdpic -mfdpic cyclictest-cyclictest.o ../../skins/posix/.libs/libpthread_rt.so -lpthread -lrt -Wl,--rpath -Wl,/usr/xenomai/lib

collect2: ld terminated with signal 11 [Segmentation fault]

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.1/../../../../b fin-linux-uclibc/bin/ld: make[3]: *** [cyclictest] Error 1

make[3]: Leaving directory `/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/src/ testsuite/cyclic'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/src/ testsuite'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/src'

make: *** [all-recursive] Error 1

Wayne

#1 lore raw
Quoted 21 lines · Wayne Call

Hi,

When the Xenomai is built, there is a segmentation fault. What are the possible scenarios that would cause this error? There is an "ld terminated with signal 11" error associated with this fault.

Making all in cyclic

make[3]: Entering directory `/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/src/ testsuite/cyclic'

/bin/sh ../../../libtool --tag=CC --mode=link bfin-linux-uclibc-gcc -o
cyclictest -Wl,@/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/ src/skins/posix/posix.wrappers -D_GNU_SOURCE -D_REENTRANT -Wall -pipe

(quoted diff) +0 -2
-mfdpic -mfdpic cyclictest-cyclictest.o ../../skins/posix/libpthread_rt.la
-lpthread -lrt
Quoted 8 lines

bfin-linux-uclibc-gcc -o .libs/cyclictest -Wl,@/home/jordanelle/3Star/potomac/Software/magnolia/Kryptic/xenomai-2.3.1/ src/skins/posix/posix.wrappers -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -mfdpic -mfdpic cyclictest-cyclictest.o ../../skins/posix/.libs/libpthread_rt.so -lpthread -lrt -Wl,--rpath -Wl,/usr/xenomai/lib

collect2: ld terminated with signal 11 [Segmentation fault]

The most frequent cause of gcc segmentation faults are faulty processors
(due to over-heating for instance) or RAM. You can run memtest to check
your RAM, or use lm-sensors to check your CPU temperature.

If the error always happens when compiling the same program, then there may be a bug in your toolchain.

Signature · 1 line
					    Gilles.