Re: GCC-4.5 as the default for (at least some) architectures
> On Tue, Mar 1, 2011 at 8:34 PM, Matthias Klose <firstname.lastname@example.org> wrote:
> > I'll make gcc-4.5 the default for (at least some) architectures within th=
> e next
> > two weeks before more transitions start. =A0GCC-4.5 is already used as th=
> e default
> > compiler for almost any other distribution, so there shouldn't be many su=
> > on at least the common architectures. =A0About 50% of the build failures =
> > by GCC-4.5 are fixed . =A0I didn't see issues on amd64 and i386, armel
> > (although optimized for a different processor) and powerpc (some object f=
> > linked into shared libs had to be built as pic).
> > As the maintainer file for the ports in GCC is a bit outdated, I'd like t=
> o ask
> > which architectures should do the switch together with the four architect=
> > mentioned above, and which not, and which ones should be better delayed, =
> or dropped.
> What's your opinion on switching to GCC 4.5 for HPPA?
Do it! I have built glibc with it and all my recent kernel have
been with 4.5. I'm not aware of any new issues with 4.5 and a number
of things are fixed.
For kernel builds, the following patch must be included:
2010-12-18 John David Anglin <email@example.com>
* config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead
of next_real_insn. Search forward checking for both ASM_INPUT and
ASM_OPERANDS asms until exit condition is found.
(use_skip_p): New function.
(output_cbranch): Use use_skip_p.
(output_bb, output_bvb): Likewise.
There are some other bug fixes in 4.6 that might need back porting.
We also need this binutils change:
2011-02-18 John David Anglin <firstname.lastname@example.org>
emulparams/hppalinux.sh (DATA_ADDR): Define.
This should eliminate cache issues arising from non equivalent aliasing.
Hopefully, the above will help resolve some of the build and kernel issues
that blocked squeeze. I personally don't know what the critical blockers
were. If they involve GCC or binutils, I'm willing to take a look. I'm
sure a number of things have been magically fixed by updates to the
middle-end. The biggest issue is the callee copies args on HPPA and
this differs from most other targets.
J. David Anglin email@example.com
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)