#14 overlapping section while linking rcx


I'm using binutils 2.15 and gcc 3.4.3, both compiled
for --target=h8300-hms and with --enable-newlib and
--enable-languages=c,c++ , installed at
I used the fix for the float lib error and after
getting over that got stuck with the following problem
of linking the brickOS.coff image. I don't know the
scripting language of ld so I'm just reporting it. What
follows is the relevant part from the compilation
output (make) and the --version messages of
h8300-hms-gcc and h8300-hms-ld.

I'm available for any further clarification or fix
suggestions (I'd love one!) at alonl at tiranogath d o
t dnsalias d o t net

/home/alonl/bin/h8300-hms-ld -T
/home/alonl/brickos/brickos-0.9.0/h8300.rcx -relax
-L/home/alonl/brickos/brickos-0.9.0/lib kmain.o mm.o
systime.o tm.o semaphore.o conio.o lcd.o lnp-logical.o
lnp.o remote.o program.o vis.o battery.o timeout.o
dkey.o dmotor.o dsensor.o dsound.o swmux.o atomic.o
critsec.o setjmp.o -lc -lmint -o brickOS.coff
/home/alonl/bin/h8300-hms-ld: section .text.hi
[0000ab00 -> 0000ab47] overlaps section .bss [0000ab00
-> 0000adb8]
make[1]: *** [brickOS.coff] Error 1
make[1]: Leaving directory
make: *** [all] Error 2
alonl@colinux ~/brickos/brickos-0.9.0 $ h8300-hms-gcc
h8300-hms-gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A

alonl@colinux ~/brickos/brickos-0.9.0 $ h8300-hms-ld
GNU ld version 2.15
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it
under the terms of
the GNU General Public License. This program has
absolutely no warranty.


  • Nobody/Anonymous

    Logged In: NO

    title should be "... while linking brickOS.coff", me bad. Alon.

  • Kasper Fabæch Brandt

    Logged In: YES

    Patch 1493556 should fix this problem.

  • mesheets

    mesheets - 2009-11-12

    This should not be a problem in the Bibo Rollup Release. Please see
    http://news.lugnet.com/robotics/rcx/legos/?n=4057 for more information.

  • mesheets

    mesheets - 2009-11-12
    • status: open --> closed-fixed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks