linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bug gold/19197] gold trunk cannot build LInux kernel
       [not found] ` <bug-19197-6758-9zxzEhVG3v@http.sourceware.org/bugzilla/>
@ 2015-11-03 18:43   ` Andy Lutomirski
  2015-11-06  3:19     ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Lutomirski @ 2015-11-03 18:43 UTC (permalink / raw)
  To: markus at trippelsdorf dot de, linux-kernel, X86 ML
  Cc: Andrew Lutomirski, H. Peter Anvin, Andi Kleen

On Tue, Nov 3, 2015 at 8:04 AM, markus at trippelsdorf dot de
<sourceware-bugzilla@sourceware.org> wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=19197
>
> Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |luto at kernel dot org
>
> --- Comment #8 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
> Andy, would it be possible to just get rid of LDFLAGS for the x86 kernel?
>
> diff --git a/arch/x86/Makefile b/arch/x86/Makefile
> index 747860c696e1..b786a2ce58b5 100644
> --- a/arch/x86/Makefile
> +++ b/arch/x86/Makefile
> @@ -169,8 +169,6 @@ avx2_instr :=$(call as-instr,vpbroadcastb
> %xmm0$(comma)%ymm1,-DCONFIG_AS_AVX2=1)
>  KBUILD_AFLAGS += $(asinstr) $(avx_instr) $(avx2_instr)
>  KBUILD_CFLAGS += $(asinstr) $(avx_instr) $(avx2_instr)
>
> -LDFLAGS := -m elf_$(UTS_MACHINE)
> -
>  # Speed up the build
>  KBUILD_CFLAGS += -pipe
>  # Workaround for a gcc prelease that unfortunately was shipped in a suse
> release
>
> Currently it calls "ld -m elf_x86_64" and then uses OUTPUT_ARCH(i386) in
> linker scripts several times during the build.
>

I don't know the history here.  hpa?  Andi?

Presumably we could strip the problematic -m argument from just the
32-bit things is we care.

--Andy

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bug gold/19197] gold trunk cannot build LInux kernel
  2015-11-03 18:43   ` [Bug gold/19197] gold trunk cannot build LInux kernel Andy Lutomirski
@ 2015-11-06  3:19     ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2015-11-06  3:19 UTC (permalink / raw)
  To: Andy Lutomirski
  Cc: markus at trippelsdorf dot de, linux-kernel, X86 ML,
	Andrew Lutomirski, H. Peter Anvin, Andi Kleen

> I don't know the history here.  hpa?  Andi?
> 
> Presumably we could strip the problematic -m argument from just the
> 32-bit things is we care.

I don't think it was intentional or there from the beginning, probably a bug
added somewhere on the way. Removing it seems fine.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-06  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19197-6758@http.sourceware.org/bugzilla/>
     [not found] ` <bug-19197-6758-9zxzEhVG3v@http.sourceware.org/bugzilla/>
2015-11-03 18:43   ` [Bug gold/19197] gold trunk cannot build LInux kernel Andy Lutomirski
2015-11-06  3:19     ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).