Linking problem while building RTEMS-4.6.2 'pc386' under Cygwin

Mills, John M. Mills.J at ems-t.com
Tue Jan 25 16:19:28 UTC 2005


Hello -

I expect this is a FAQ, but I just got bitten.

I built and installed 'i386-rtems' tools under Cygwin, then built
RTEMS-4.6.2 for the 'pc386' BSP. It appeared to build the components
successfully, but the build crashes when it tries to link the samples. There
appears to be a conflict in 'linkcmds' mapping. My error message is:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++

>>>>>> the target: <<<<<<
Making install in hello
make[5]: Entering directory
`/tmp/build/rtems/i386-rtems/c/pc386/tests/samples/hello'
i386-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../pc386/lib/
 -specs bsp_specs -qrtems   -O4 -g -Wall -ansi -fasm
-Wl,-Ttext,0x00100000
 -o o-optimize/hello.obj o-optimize/init.o
../../../../../pc386/lib/no-dpmem.rel
 ../../../../../pc386/lib/no-event.rel ../../../../../pc386/lib/no-msg.rel
 ../../../../../pc386/lib/no-mp.rel ../../../../../pc386/lib/no-part.rel
 ../../../../../pc386/lib/no-signal.rel
../../../../../pc386/lib/no-timer.rel
 ../../../../../pc386/lib/no-rtmon.rel

>>>>> and the error: <<<<<<
/opt/rtems-4.6/lib/gcc-lib/i386-rtems/3.3.5/../../../../i386-rtems/bin/ld:
 section .bss [0011a140 -> 0011d26b] overlaps section .jcr [0011a140 ->
0011a143]
collect2: ld returned 1 exit status
make[5]: *** [o-optimize/hello.exe] Error 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++

TIA for any guidance.

John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882



More information about the users mailing list