Messages in this thread Patch in this message | | | From | Roland McGrath <> | Subject | Re: [POWERPC] Fix for assembler -g | Date | Mon, 20 Aug 2007 13:18:18 -0700 (PDT) |
| |
> I'm still seeing failures with this. > http://koji.fedoraproject.org/koji/getfile?taskID=110854&name=build.log > shows.. > > lparmap.c: Assembler messages: > lparmap.c:84: Error: file number 1 already allocated > make[1]: *** [arch/powerpc/kernel/head_64.o] Error 1 > > Anything I can provide to help diagnose this?
Hmm. Check the V=1 make output to see that the lparmap.c really got the -g0. The log says it didn't. Oops! It looks like the patch that got committed is the one that sets CFLAGS_lparmap.s, but really it needs to set CFLAGS_lparmap.o instead (go kbuild). Did I post the wrong one? (It's only one letter different.) Sorry about that! (I committed the right one to Fedora, which you'd think would help Dave, but no.)
Thanks, Roland
--- linux-2.6/arch/powerpc/kernel/Makefile +++ linux-2.6/arch/powerpc/kernel/Makefile @@ -81,6 +81,7 @@ obj-y += iomap.o endif ifeq ($(CONFIG_PPC_ISERIES),y) +CFLAGS_lparmap.o += -g0 extra-y += lparmap.s $(obj)/head_64.o: $(obj)/lparmap.s AFLAGS_head_64.o += -I$(obj)
- 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/
| |