Re: [PATCH] ia64: check-segrel.lds vs --build-id

From: Doug Chapman
Date: Thu Oct 25 2007 - 12:11:01 EST


On Thu, 2007-10-18 at 12:54 -0700, Roland McGrath wrote:
> Some versions of ld with --build-id support will crash when using the flag
> with a linker script that discards notes. This bites ia64's check-segrel.lds.
> The bug is easy to avoid.
>
> Signed-off-by: Roland McGrath <roland@xxxxxxxxxx>
>
> --- a/arch/ia64/scripts/check-segrel.lds
> +++ b/arch/ia64/scripts/check-segrel.lds
> @@ -1,6 +1,7 @@
> SECTIONS {
> . = SIZEOF_HEADERS;
> .rodata : { *(.rodata) } :ro
> + .note : { *(.note*) }
> . = 0xa0000;
> .data : { *(.data) } :dat
> /DISCARD/ : { *(*) }
>
> -

This patch is not yet in the git tree. This, along with the patch to
gate.lds.S that Roland submitted are both blocking our bringup of Fedora
on ia64.

thanks,

- Doug


-
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/