This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: Re: Booting 2.6.7-hh0


Jamey Hicks <jamey.hicks@hp.com> wrote in
http://www.handhelds.org/hypermail/kernel-discuss/current/0066.html :
I used demo-arm.sh to build the 3.4.1 with these versions

- binutils 2.15.90.3 (chosen because it was the latest one there).
- glibc 2.3.2
- gcc 3.4.1
- linux 2.6.7 (modified arm.config)

Here's a tarball of the crosstool that I used:
 ftp://ftp.handhelds.org/pub/linux/arm/toolchain/crosstool-0.27-gcc3.4.1.tar.gz

Hi Jamey, I notice you added patches/gcc-3.3.3/loop.patch, which seems to be a fix for http://gcc.gnu.org/PR15089, in your modified crosstool tree. That bug is evidently already fixed in 3.4.1 (hence your preference for 3.4.1, I suppose). Can I ask what tickled that bug for you? (Presumably it prevented booting?) I assume it'd be a good idea to include the patch in crosstool-0.28 in case anyone else is still using gcc-3.3.3...

Also, got any other changes for crosstool (besides 3.4.1
support, which is already on the way for crosstool-0.28)?
e.g. how 'bout I add demo-arm-pxa.sh / arm-pxa.config
for your platform?  I apologize for leaving 0.27 out there
for so long with its obvious problems.

Thanks,
Dan

p.s.
I'd prefer to not change the target name to arm-linux; that
doesn't work with the gnu tools regression tests.  I know
the arm community prefers the name arm-linux, but it's
impossibly generic for me.  Y'all can edit arm-pxa.dat :-)

p.p.s. Here's how I've imported that patch at the moment for 0.28. Look ok?

-------- gcc-3.3.3/pr15089-fix.patch --------------
See http://gcc.gnu.org/PR15089
"In some cases the specified register for a local variable meant to be
used with inline assembly code is not respected.  This breaks code
relying on this feature to implement non-standard calling convension."

This fix is probably needed to properly implement linux syscalls in some architectures.

First added to crosstool by Jamie Hicks, see
http://www.handhelds.org/hypermail/kernel-discuss/current/0066.html

Index: gcc/loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop.c,v
retrieving revision 1.488.2.3
diff -u -r1.488.2.3 loop.c
--- gcc-old/gcc/loop.c  14 Feb 2004 14:46:03 -0000      1.488.2.3
+++ gcc-new/gcc/loop.c  28 Apr 2004 22:02:53 -0000
@@ -929,6 +929,7 @@
                          || (! (GET_CODE (SET_SRC (set)) == REG
                                 && (REGNO (SET_SRC (set))
                                     < FIRST_PSEUDO_REGISTER))))
+                     && regno >= FIRST_PSEUDO_REGISTER
                      /* This test is not redundant; SET_SRC (set) might be
                         a call-clobbered register and the life of REGNO
                         might span a call.  */


-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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