lkml.org 
[lkml]   [2004]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c
    On Fri, Jul 30, 2004 at 10:48:28PM +0200, Giuliano Pochini wrote:

    [snip]
    > gcc 3.3.3 + binutils 2.15 fails quite soon here:
    >
    > AS arch/ppc/kernel/l2cr.o
    > arch/ppc/kernel/l2cr.S: Assembler messages:
    > arch/ppc/kernel/l2cr.S:110: Error: Unrecognized opcode: `dssall'
    > arch/ppc/kernel/l2cr.S:278: Error: Unrecognized opcode: `dssall'
    > arch/ppc/kernel/l2cr.S:387: Error: Unrecognized opcode: `dssall'
    > make[1]: *** [arch/ppc/kernel/l2cr.o] Error 1

    Can you try with the following?

    Signed-off-by: Tom Rini <trini@kernel.crashing.org>

    ===== arch/ppc/Makefile 1.57 vs edited =====
    --- 1.57/arch/ppc/Makefile 2004-07-28 21:58:36 -07:00
    +++ edited/arch/ppc/Makefile 2004-07-29 12:21:33 -07:00
    @@ -22,7 +22,7 @@

    LDFLAGS_vmlinux := -Ttext $(KERNELLOAD) -Bstatic
    CPPFLAGS += -Iarch/$(ARCH)
    -AFLAGS += -Iarch/$(ARCH)
    +aflags-y += -Iarch/$(ARCH)
    cflags-y += -Iarch/$(ARCH) -msoft-float -pipe \
    -ffixed-r2 -Wno-uninitialized -mmultiple
    CPP = $(CC) -E $(CFLAGS)
    @@ -33,10 +33,16 @@
    cflags-y += -mstring
    endif

    +aflags-$(CONFIG_4xx) += -m405
    cflags-$(CONFIG_4xx) += -Wa,-m405
    +aflags-$(CONFIG_6xx) += -maltivec
    +cflags-$(CONFIG_6xx) += -Wa,-maltivec
    +aflags-$(CONFIG_E500) += -me500
    cflags-$(CONFIG_E500) += -Wa,-me500
    +aflags-$(CONFIG_PPC64BRIDGE) += -mppc64bridge
    cflags-$(CONFIG_PPC64BRIDGE) += -Wa,-mppc64bridge

    +AFLAGS += $(aflags-y)
    CFLAGS += $(cflags-y)

    head-y := arch/ppc/kernel/head.o
    --
    Tom Rini
    http://gate.crashing.org/~trini/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.038 / U:0.372 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site