This is the mail archive of the ecos-maintainers@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building RedBoot for SH3 targets with new toolchain


John Dallaway wrote:
Hi Jifl

Jonathan Larmour wrote:


Anyway, linux build now uploaded to
ftp://ecos.sourceware.org/pub/ecos/gnutools/ecoscentric-gnutools-sh-elf-20090121-sw.i386linux.tar.bz2

If that looks ok, I'll try and get a cygwin build going, but as I'm sure
you would expect, that will take longer.


This toolchain certainly seems to have resolved the SH3 build problems I
reported earlier. Thanks. Was adding "m3" to the list of multilibs at
config.gcc:2286 the only change required?

Yes, as per updated patch set, also uploaded.


There is a remaining issue with linking the cxxsupp test in particular
(eg target cq7750, default template):


sh-elf-gcc -L/var/local/build/ecos-new/install/lib -Ttarget.ld -o /var/local/build/ecos-new/install/tests/infra/current/tests/cxxsupp tests/cxxsupp.o -mb -m3 -ggdb -nostdlib -Wl,-static -Wl,--fatal-warnings /var/local/releng/release-3.0/targetbuild/tools/gnutools/sh-elf/bin/../lib/gcc/sh-elf/4.3.2/../../../../sh-elf/bin/ld: error: no memory region specified for loadable section `.eh_frame'
collect2: ld returned 1 exit status

The sh.ld linker script does have the necessary SECTION_eh_frame define. But older SH targets have not been updated to use it. In fact the only one that does is the sh4_202_md. Something to note down for after the code freeze.


In a slight change of plan, I think I'll wait until you're finished looking at all the targets before starting even the SH cygwin build - given the recent report it seems like it may be wise to rebuild all the cygwin tools with statically linked GMP and MPFR. I have no desire to rebuild them all more than once, so let's wait to see if your experiments show up more issues down to the tools.

Jifl
--
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]