[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#123155: gcc-3.0 does not build on PPC



At 07:44 10.12.2001, Daniel Jacobowitz wrote:
On Mon, Dec 10, 2001 at 07:37:45AM +0100, Matthias Klose wrote:
> [CC to Franz]
>
> Dan, I missed to include the libgcc-powerpc patch (in rules.patch)
> from Franz Sirl:
>
> "as recently noted, for --enabled-shared --disable-multilib configurations
>   we currently don't build the shared libgcc with -fPIC. This patch
>   fixes that."
>
> Could you retry? We have no other patches for powerpc, so is this
> upstream behaviour? Could you include the preprocessed file?

Retrying with that patch; I'll let you know when I wake up what
happens.

No, that isn't the problem, Alan Modra broke it with his "obvious" patch ;-).

I looked at it and couldn't find any reason for this code to be duplicated like it is now and came up with the following patch for 3.0.3pre. Bootstrapped and regtested OK.

Franz.


        * config/rs6000/rs6000.c (rs6000_section_index): New function.
        (rs6000_select_section): Use it.
        (rs6000_unique_section): Use it.

Attachment: gcc3-ppcsectionindex.patch
Description: Binary data


Reply to: