On Wed, Mar 18, 2009 at 10:00:26AM -0400, John David Anglin wrote: > > ld: arch/parisc/kernel/built-in.o(.text+0xc84): cannot reach > > 000000b2_b2:46+4068, recompile with -ffunction-sections > > ld: arch/parisc/kernel/built-in.o(.text+0xc84): cannot handle > > R_PARISC_PCREL12F for .text > > > > -ffunction-sections won't work because GCC doesn't generate calls > with instructions that would use a R_PARISC_PCREL12F relocation. > This is some kind of conditional branch. Probably, it's in some > kernel assembly code. > > You need to use nm, objdump and/or readelf to determine which file > contributing to built-in.o contains the branch. I looked in one of > my builds and didn't see this relocation. > This is... somewhat special. I've never seen this either. Possibly I should install a Gentoo machine so I can reproduce with their toolchain? objdump -dr arch/parisc/kernel/built-in.o | grep PCREL12F should tell you where the problem is. I agree with JDA, judging by the fact that it's the kernel/built-in.o, I would guess it's assembler as well. (Sorry for taking so long to get to this thread, I must have missed it while I was in Boston.) regards, Kyle -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html