* Build failure on arm64 defconfig for linux-next recently
@ 2018-02-23 8:03 Shawn Lin
2018-02-23 11:54 ` Robin Murphy
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Lin @ 2018-02-23 8:03 UTC (permalink / raw)
To: linux-arm-kernel
Hi folks,
I failed to build the arm64 kernel for linux-20180222 and I confirm it
works for linux-20180206. It seems there was some patches for head.S
got merged. Is it a known issue? Or a fix is coming?
make ARCH=arm64 defconfig
make
CROSS_COMPILE=gcc-linaro-6.3.1-aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
ARCH=arm64 -j32
arch/arm64/kernel/head.S: Assembler messages:
arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
arch/arm64/kernel/head.S:677: Error: junk at end of line, first
unrecognized character is `L'
arch/arm64/kernel/head.S:677: Error: unexpected characters following
instruction at operand 2 -- `movz x1,:abs_g1_s:0xff00ffffffUL'
arch/arm64/kernel/head.S:677: Error: unexpected characters following
instruction at operand 2 -- `movk x1,:abs_g0_nc:0xff00ffffffUL'
make[1]: *** [arch/arm64/kernel/head.o] Error 1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Build failure on arm64 defconfig for linux-next recently
2018-02-23 8:03 Build failure on arm64 defconfig for linux-next recently Shawn Lin
@ 2018-02-23 11:54 ` Robin Murphy
2018-02-23 12:59 ` Catalin Marinas
2018-02-23 14:23 ` Shawn Lin
0 siblings, 2 replies; 4+ messages in thread
From: Robin Murphy @ 2018-02-23 11:54 UTC (permalink / raw)
To: linux-arm-kernel
Hi Shawn,
On 23/02/18 08:03, Shawn Lin wrote:
> Hi folks,
>
> I failed to build the arm64 kernel for linux-20180222 and I confirm it
> works for linux-20180206. It seems there was some patches for head.S
> got merged. Is it a known issue? Or a fix is coming?
Yes, I broke it, sorry!
There's a fix queued in arm64/fixes/core already (04c4927359b1). Using a
different toolchain is another option, since the one I'm currently using
(gcc-linaro-7.2.1-2017.11) builds it just fine, which is how I managed
to create this mess in the first place ;)
Thanks,
Robin.
> make ARCH=arm64 defconfig
>
> make
> CROSS_COMPILE=gcc-linaro-6.3.1-aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
> ?ARCH=arm64 -j32
>
>
> arch/arm64/kernel/head.S: Assembler messages:
> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
> arch/arm64/kernel/head.S:677: Error: junk at end of line, first
> unrecognized character is `L'
> arch/arm64/kernel/head.S:677: Error: unexpected characters following
> instruction at operand 2 -- `movz x1,:abs_g1_s:0xff00ffffffUL'
> arch/arm64/kernel/head.S:677: Error: unexpected characters following
> instruction at operand 2 -- `movk x1,:abs_g0_nc:0xff00ffffffUL'
> make[1]: *** [arch/arm64/kernel/head.o] Error 1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Build failure on arm64 defconfig for linux-next recently
2018-02-23 11:54 ` Robin Murphy
@ 2018-02-23 12:59 ` Catalin Marinas
2018-02-23 14:23 ` Shawn Lin
1 sibling, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2018-02-23 12:59 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Feb 23, 2018 at 11:54:19AM +0000, Robin Murphy wrote:
> On 23/02/18 08:03, Shawn Lin wrote:
> > I failed to build the arm64 kernel for linux-20180222 and I confirm it
> > works for linux-20180206. It seems there was some patches for head.S
> > got merged. Is it a known issue? Or a fix is coming?
>
> Yes, I broke it, sorry!
>
> There's a fix queued in arm64/fixes/core already (04c4927359b1). Using a
> different toolchain is another option, since the one I'm currently using
> (gcc-linaro-7.2.1-2017.11) builds it just fine, which is how I managed to
> create this mess in the first place ;)
Pull request to go out today. I forgot that arm64 fixes/core doesn't get
pulled into -next (maybe we should fix this).
--
Catalin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Build failure on arm64 defconfig for linux-next recently
2018-02-23 11:54 ` Robin Murphy
2018-02-23 12:59 ` Catalin Marinas
@ 2018-02-23 14:23 ` Shawn Lin
1 sibling, 0 replies; 4+ messages in thread
From: Shawn Lin @ 2018-02-23 14:23 UTC (permalink / raw)
To: linux-arm-kernel
Hi Robin,
On 2018/2/23 19:54, Robin Murphy wrote:
> Hi Shawn,
>
> On 23/02/18 08:03, Shawn Lin wrote:
>> Hi folks,
>>
>> I failed to build the arm64 kernel for linux-20180222 and I confirm it
>> works for linux-20180206. It seems there was some patches for head.S
>> got merged. Is it a known issue? Or a fix is coming?
>
> Yes, I broke it, sorry!
>
> There's a fix queued in arm64/fixes/core already (04c4927359b1). Using a
Good to know that! Thanks for help.
> different toolchain is another option, since the one I'm currently using
> (gcc-linaro-7.2.1-2017.11) builds it just fine, which is how I managed
> to create this mess in the first place ;)
>
> Thanks,
> Robin.
>
>> make ARCH=arm64 defconfig
>>
>> make
>> CROSS_COMPILE=gcc-linaro-6.3.1-aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
>> ??ARCH=arm64 -j32
>>
>>
>> arch/arm64/kernel/head.S: Assembler messages:
>> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
>> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
>> arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')'
>> arch/arm64/kernel/head.S:677: Error: junk at end of line, first
>> unrecognized character is `L'
>> arch/arm64/kernel/head.S:677: Error: unexpected characters following
>> instruction at operand 2 -- `movz x1,:abs_g1_s:0xff00ffffffUL'
>> arch/arm64/kernel/head.S:677: Error: unexpected characters following
>> instruction at operand 2 -- `movk x1,:abs_g0_nc:0xff00ffffffUL'
>> make[1]: *** [arch/arm64/kernel/head.o] Error 1
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>
>
--
Best Regards
Shawn Lin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-23 14:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 8:03 Build failure on arm64 defconfig for linux-next recently Shawn Lin
2018-02-23 11:54 ` Robin Murphy
2018-02-23 12:59 ` Catalin Marinas
2018-02-23 14:23 ` Shawn Lin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.