This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thanks for the quick response. I will have a look at jlime. Seems to be a nice embedded distribution. I'm using a sh3-dsp (7720) based board which is not publically available. Best Regards Markus -----Ursprüngliche Nachricht----- Von: crossgcc-owner@sourceware.org [mailto:crossgcc-owner@sourceware.org] Im Auftrag von Kristoffer Ericson Gesendet: Dienstag, 17. April 2007 15:05 An: EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng); crossgcc@sourceware.org Betreff: RE: Glibc make tests failing on sh3 Greetings, (Bad at remembering emails/names so you might already know this) You should give our userland a try at http://www.jlime.com. We currently use gcc 4.1.1 with glibc 2.5 (in the past used 2.3.6 -> 2.4). And it seems to run well. What kind of board are you using? Best wishes Kristoffer Ericson www.jlime.com >From: "EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng)" ><external.Markus.Brunner@de.bosch.com> >To: <crossgcc@sourceware.org> >Subject: Glibc make tests failing on sh3 >Date: Tue, 17 Apr 2007 14:59:46 +0200 > >Hi, >I have successfully build gcc-3.4.5 and gcc-4.1.0 both with glibc-2.3.6 >for sh3. I already built a userland with them, so they seem to work. > >Unfortunatelly 'make tests' for glibc is failing in the math folder when >compiling bug-nextafter.c , because FE_OVERFLOW isn't defined. (this is >the first, not the only one failing) >It seems to be floating-point related, because for other architectures >this macro is defined in <<ARCH>>/<<SPECIFIC-ARCH>>/fpu/bits/fenv.h >However floating point has been disabled with --without-fp and my sh3 >board doesn't have a fpu. > >I managed to compile the tests with a _very_ dirty hack. I replaced line >102 in Makeconfig >export full_config_sysdirs := $(addprefix $(..),$(config-sysdirs)) >With the following: >export full_config_sysdirs := $(addprefix $(..),sysdeps/sh/sh4/fpu >$(config-sysdirs)) > >So gcc will use the includes for sh4, which has a fpu. > >Usually the following files are included from bug-nextafter.c with >'#include <fenv.h>' > >include/fenv.h > math/fenv.h > include/features.h > sysdeps/generic/bits/fenv.h > >With my hack, sysdeps/sh/sh4/fpu/bits/fenv.h will be included instead of >sysdeps/generic/bits/fenv.h. > >So I'm using some constants for another cpu. That's not acceptable for >reliable tests. > >Any Ideas? >Has anybody tried the tests on a board without fpu? > >Thanks in advance > >Markus > >-- >For unsubscribe information see http://sourceware.org/lists.html#faq > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |