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

Mills, John M. Mills.J at
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
i386-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../pc386/lib/
 -specs bsp_specs -qrtems   -O4 -g -Wall -ansi -fasm
 -o o-optimize/hello.obj o-optimize/init.o
 ../../../../../pc386/lib/no-event.rel ../../../../../pc386/lib/no-msg.rel
 ../../../../../pc386/lib/no-mp.rel ../../../../../pc386/lib/no-part.rel

>>>>> and the error: <<<<<<
 section .bss [0011a140 -> 0011d26b] overlaps section .jcr [0011a140 ->
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