Re: [POWERPC] Fix for assembler -g

From: Dave Jones
Date: Mon Aug 20 2007 - 16:09:27 EST


On Sat, Aug 18, 2007 at 07:59:19PM +0000, Linux Kernel wrote:
> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=55a910a81d0c3014abc20b9efa73c595b3e68339
> Commit: 55a910a81d0c3014abc20b9efa73c595b3e68339
> Parent: aa1cf632bd6f998cb4567ccf1a9d2e5daaa9fb44
> Author: Roland McGrath <roland@xxxxxxxxxx>
> AuthorDate: Sat Aug 11 09:03:11 2007 +1000
> Committer: Paul Mackerras <paulus@xxxxxxxxx>
> CommitDate: Wed Aug 15 15:12:50 2007 +1000
>
> [POWERPC] Fix for assembler -g
>
> ppc64 does the unusual thing of using #include on a compiler-generated
> assembly file (lparmap.s) from an assembly source file (head_64.S).
> This runs afoul of my recent patch to pass -gdwarf2 to the assembler
> under CONFIG_DEBUG_INFO. This patch avoids the problem by disabling
> DWARF generation (-g0) when producing lparmap.s.
>
> Signed-off-by: Roland McGrath <roland@xxxxxxxxxx>
> Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

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?

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/