All of lore.kernel.org
 help / color / mirror / Atom feed
* failing ARC builds in kernelCI
@ 2018-11-27 15:23 Kevin Hilman
  2018-11-27 15:38   ` Alexey Brodkin
  0 siblings, 1 reply; 9+ messages in thread
From: Kevin Hilman @ 2018-11-27 15:23 UTC (permalink / raw)
  To: Alexey Brodkin; +Cc: kernelci

Hi Alexey,

You may have noticed that some defconfigs are failing to build
upstream for ARC.  For example, on mainline, both allnoconfig and
tinyconfig fail to build[1].

Do you guys have any plans to fix these, or should we disable them?
We currently build these for all the other arches.,

Kevin

[1] https://kernelci.org/build/mainline/branch/master/kernel/v4.20-rc4-7-gef78e5ec9214/

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

* failing ARC builds in kernelCI
  2018-11-27 15:23 failing ARC builds in kernelCI Kevin Hilman
@ 2018-11-27 15:38   ` Alexey Brodkin
  0 siblings, 0 replies; 9+ messages in thread
From: Alexey Brodkin @ 2018-11-27 15:38 UTC (permalink / raw)
  To: linux-snps-arc

Hi Kevin,

On Tue, 2018-11-27@07:23 -0800, Kevin Hilman wrote:
> Hi Alexey,
> 
> You may have noticed that some defconfigs are failing to build
> upstream for ARC.  For example, on mainline, both allnoconfig and
> tinyconfig fail to build[1].

Actually I haven't seen that!
 1. I used to check https://kernelci.org/soc/ but there's still no mention
    of ARC so I thought builds for ARC are not enabled still.
 2. I haven't seen any email notifications as well if they exist at all.

That said it would be good if warning emails are sent to our mailing-list
linux-snps-arc at lists.infradead.org (see in Cc as well) so somebody reacts on them.


> Do you guys have any plans to fix these, or should we disable them?
> We currently build these for all the other arches.,

Sure, let me take a look right now.

> 
> Kevin
> 
> [1] https://kernelci.org/build/mainline/branch/master/kernel/v4.20-rc4-7-gef78e5ec9214/

-Alexey

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

* Re: failing ARC builds in kernelCI
@ 2018-11-27 15:38   ` Alexey Brodkin
  0 siblings, 0 replies; 9+ messages in thread
From: Alexey Brodkin @ 2018-11-27 15:38 UTC (permalink / raw)
  To: khilman; +Cc: Vineet Gupta, kernelci, linux-snps-arc

Hi Kevin,

On Tue, 2018-11-27 at 07:23 -0800, Kevin Hilman wrote:
> Hi Alexey,
> 
> You may have noticed that some defconfigs are failing to build
> upstream for ARC.  For example, on mainline, both allnoconfig and
> tinyconfig fail to build[1].

Actually I haven't seen that!
 1. I used to check https://kernelci.org/soc/ but there's still no mention
    of ARC so I thought builds for ARC are not enabled still.
 2. I haven't seen any email notifications as well if they exist at all.

That said it would be good if warning emails are sent to our mailing-list
linux-snps-arc@lists.infradead.org (see in Cc as well) so somebody reacts on them.


> Do you guys have any plans to fix these, or should we disable them?
> We currently build these for all the other arches.,

Sure, let me take a look right now.

> 
> Kevin
> 
> [1] https://kernelci.org/build/mainline/branch/master/kernel/v4.20-rc4-7-gef78e5ec9214/

-Alexey

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

* failing ARC builds in kernelCI
  2018-11-27 15:38   ` Alexey Brodkin
@ 2018-11-27 15:45     ` Alexey Brodkin
  -1 siblings, 0 replies; 9+ messages in thread
From: Alexey Brodkin @ 2018-11-27 15:45 UTC (permalink / raw)
  To: linux-snps-arc

BTW judging by the error [1] "arc-linux-ld: error: vmlinux.o: unable to merge ISA extension attributes code-density."
I may assume we again bump into situation of building ARCompact kernel with ARCv2 toolchain.

Also what hints to that problem is our default defconfig is "nsim_700_defconfig" which
obviously ARCompact, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arc/Makefile#n9

Thus I think the simplest option would be to switch to say "nsim_hs_defconfig" for
default one, but that requires Vineet's ack.

-Alexey

[1] https://kernelci.org/build/id/5bfd5cbe59b51413138b6da0/logs/

On Tue, 2018-11-27@15:38 +0000, Alexey Brodkin wrote:
> Hi Kevin,
> 
> On Tue, 2018-11-27@07:23 -0800, Kevin Hilman wrote:
> > Hi Alexey,
> > 
> > You may have noticed that some defconfigs are failing to build
> > upstream for ARC.  For example, on mainline, both allnoconfig and
> > tinyconfig fail to build[1].
> 
> Actually I haven't seen that!
>  1. I used to check 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_soc_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=KXGPL3Q7lsPxI1vH-M5m_JDTQ5czcfO7hTNdGXJsqfU&e=
> but there's still no mention
>     of ARC so I thought builds for ARC are not enabled still.
>  2. I haven't seen any email notifications as well if they exist at all.
> 
> That said it would be good if warning emails are sent to our mailing-list
> linux-snps-arc at lists.infradead.org (see in Cc as well) so somebody reacts on them.
> 
> 
> > Do you guys have any plans to fix these, or should we disable them?
> > We currently build these for all the other arches.,
> 
> Sure, let me take a look right now.
> 
> > Kevin
> > 
> > [1] 
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_build_mainline_branch_master_kernel_v4.20-2Drc4-2D7-2Dgef78e5ec9214_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=mAOgc823jx9R9N4t6nQ4AW9E8kdexU-Y3V5-t50CwJo&e=
> 
> -Alexey
> _______________________________________________
> linux-snps-arc mailing list
> linux-snps-arc at lists.infradead.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=CjFcD6LV0UctpHpPG5sETrRyEMzZdu4HNEfoozl-y2c&e=

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

* Re: failing ARC builds in kernelCI
@ 2018-11-27 15:45     ` Alexey Brodkin
  0 siblings, 0 replies; 9+ messages in thread
From: Alexey Brodkin @ 2018-11-27 15:45 UTC (permalink / raw)
  To: Vineet Gupta, khilman; +Cc: kernelci, linux-snps-arc

BTW judging by the error [1] "arc-linux-ld: error: vmlinux.o: unable to merge ISA extension attributes code-density."
I may assume we again bump into situation of building ARCompact kernel with ARCv2 toolchain.

Also what hints to that problem is our default defconfig is "nsim_700_defconfig" which
obviously ARCompact, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arc/Makefile#n9

Thus I think the simplest option would be to switch to say "nsim_hs_defconfig" for
default one, but that requires Vineet's ack.

-Alexey

[1] https://kernelci.org/build/id/5bfd5cbe59b51413138b6da0/logs/

On Tue, 2018-11-27 at 15:38 +0000, Alexey Brodkin wrote:
> Hi Kevin,
> 
> On Tue, 2018-11-27 at 07:23 -0800, Kevin Hilman wrote:
> > Hi Alexey,
> > 
> > You may have noticed that some defconfigs are failing to build
> > upstream for ARC.  For example, on mainline, both allnoconfig and
> > tinyconfig fail to build[1].
> 
> Actually I haven't seen that!
>  1. I used to check 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_soc_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=KXGPL3Q7lsPxI1vH-M5m_JDTQ5czcfO7hTNdGXJsqfU&e=
> but there's still no mention
>     of ARC so I thought builds for ARC are not enabled still.
>  2. I haven't seen any email notifications as well if they exist at all.
> 
> That said it would be good if warning emails are sent to our mailing-list
> linux-snps-arc@lists.infradead.org (see in Cc as well) so somebody reacts on them.
> 
> 
> > Do you guys have any plans to fix these, or should we disable them?
> > We currently build these for all the other arches.,
> 
> Sure, let me take a look right now.
> 
> > Kevin
> > 
> > [1] 
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_build_mainline_branch_master_kernel_v4.20-2Drc4-2D7-2Dgef78e5ec9214_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=mAOgc823jx9R9N4t6nQ4AW9E8kdexU-Y3V5-t50CwJo&e=
> 
> -Alexey
> _______________________________________________
> linux-snps-arc mailing list
> linux-snps-arc@lists.infradead.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=CjFcD6LV0UctpHpPG5sETrRyEMzZdu4HNEfoozl-y2c&e=

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

* failing ARC builds in kernelCI
  2018-11-27 15:38   ` Alexey Brodkin
@ 2018-11-27 22:02     ` Kevin Hilman
  -1 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-11-27 22:02 UTC (permalink / raw)
  To: linux-snps-arc

Alexey Brodkin <alexey.brodkin at synopsys.com> writes:

> Hi Kevin,
>
> On Tue, 2018-11-27@07:23 -0800, Kevin Hilman wrote:
>> Hi Alexey,
>> 
>> You may have noticed that some defconfigs are failing to build
>> upstream for ARC.  For example, on mainline, both allnoconfig and
>> tinyconfig fail to build[1].
>
> Actually I haven't seen that!
>  1. I used to check https://kernelci.org/soc/ but there's still no mention
>     of ARC so I thought builds for ARC are not enabled still.

Yeah, the /soc/ page is currently for boot results, not build results

>  2. I haven't seen any email notifications as well if they exist at all.

The list where all the general build/boot reports go is here[1], and
here's an example[2] showing the warnings/errors.

> That said it would be good if warning emails are sent to our mailing-list
> linux-snps-arc at lists.infradead.org (see in Cc as well) so somebody reacts on them.

Unfortunately, we don't have a way of sending arch-specific mails at the
moment.

>
>> Do you guys have any plans to fix these, or should we disable them?
>> We currently build these for all the other arches.,
>
> Sure, let me take a look right now.

Thanks,

Kevin

>> 
>> Kevin
>> 
>> [1] https://kernelci.org/build/mainline/branch/master/kernel/v4.20-rc4-7-gef78e5ec9214/
>
> -Alexey

[1] https://lists.linaro.org/mailman/listinfo/kernel-build-reports
[2] https://lists.linaro.org/pipermail/kernel-build-reports/2018-November/039387.html

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

* Re: failing ARC builds in kernelCI
@ 2018-11-27 22:02     ` Kevin Hilman
  0 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-11-27 22:02 UTC (permalink / raw)
  To: Alexey Brodkin; +Cc: Vineet Gupta, kernelci, linux-snps-arc

Alexey Brodkin <alexey.brodkin@synopsys.com> writes:

> Hi Kevin,
>
> On Tue, 2018-11-27 at 07:23 -0800, Kevin Hilman wrote:
>> Hi Alexey,
>> 
>> You may have noticed that some defconfigs are failing to build
>> upstream for ARC.  For example, on mainline, both allnoconfig and
>> tinyconfig fail to build[1].
>
> Actually I haven't seen that!
>  1. I used to check https://kernelci.org/soc/ but there's still no mention
>     of ARC so I thought builds for ARC are not enabled still.

Yeah, the /soc/ page is currently for boot results, not build results

>  2. I haven't seen any email notifications as well if they exist at all.

The list where all the general build/boot reports go is here[1], and
here's an example[2] showing the warnings/errors.

> That said it would be good if warning emails are sent to our mailing-list
> linux-snps-arc@lists.infradead.org (see in Cc as well) so somebody reacts on them.

Unfortunately, we don't have a way of sending arch-specific mails at the
moment.

>
>> Do you guys have any plans to fix these, or should we disable them?
>> We currently build these for all the other arches.,
>
> Sure, let me take a look right now.

Thanks,

Kevin

>> 
>> Kevin
>> 
>> [1] https://kernelci.org/build/mainline/branch/master/kernel/v4.20-rc4-7-gef78e5ec9214/
>
> -Alexey

[1] https://lists.linaro.org/mailman/listinfo/kernel-build-reports
[2] https://lists.linaro.org/pipermail/kernel-build-reports/2018-November/039387.html

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

* failing ARC builds in kernelCI
  2018-11-27 15:45     ` Alexey Brodkin
@ 2018-11-27 22:24       ` Kevin Hilman
  -1 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-11-27 22:24 UTC (permalink / raw)
  To: linux-snps-arc

Alexey Brodkin <alexey.brodkin at synopsys.com> writes:

> BTW judging by the error [1] "arc-linux-ld: error: vmlinux.o: unable to merge ISA extension attributes code-density."
> I may assume we again bump into situation of building ARCompact kernel with ARCv2 toolchain.
>
> Also what hints to that problem is our default defconfig is "nsim_700_defconfig" which
> obviously ARCompact, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arc/Makefile#n9
>
> Thus I think the simplest option would be to switch to say "nsim_hs_defconfig" for
> default one, but that requires Vineet's ack.

I tried that, but that's not the only thing required. Because the
Kconfig default the ISA is ISA_ARCOMPACT, allnoconfig uses that, no
matter what the default in the Makefile is.  And, since tinyconfig is
based on allnoconfig, it has the same problem.

I submitted a patch[1] that gets this working for me, and with that, 'make
defconfig', 'make allnoconfig' and 'make tinyconfig' all work with ARCv2
by default.

Kevin

[1] http://lists.infradead.org/pipermail/linux-snps-arc/2018-November/004863.html

>
> -Alexey
>
> [1] https://kernelci.org/build/id/5bfd5cbe59b51413138b6da0/logs/
>
> On Tue, 2018-11-27@15:38 +0000, Alexey Brodkin wrote:
>> Hi Kevin,
>> 
>> On Tue, 2018-11-27@07:23 -0800, Kevin Hilman wrote:
>> > Hi Alexey,
>> > 
>> > You may have noticed that some defconfigs are failing to build
>> > upstream for ARC.  For example, on mainline, both allnoconfig and
>> > tinyconfig fail to build[1].
>> 
>> Actually I haven't seen that!
>>  1. I used to check 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_soc_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=KXGPL3Q7lsPxI1vH-M5m_JDTQ5czcfO7hTNdGXJsqfU&e=
>> but there's still no mention
>>     of ARC so I thought builds for ARC are not enabled still.
>>  2. I haven't seen any email notifications as well if they exist at all.
>> 
>> That said it would be good if warning emails are sent to our mailing-list
>> linux-snps-arc at lists.infradead.org (see in Cc as well) so somebody reacts on them.
>> 
>> 
>> > Do you guys have any plans to fix these, or should we disable them?
>> > We currently build these for all the other arches.,
>> 
>> Sure, let me take a look right now.
>> 
>> > Kevin
>> > 
>> > [1] 
>> > https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_build_mainline_branch_master_kernel_v4.20-2Drc4-2D7-2Dgef78e5ec9214_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=mAOgc823jx9R9N4t6nQ4AW9E8kdexU-Y3V5-t50CwJo&e=
>> 
>> -Alexey
>> _______________________________________________
>> linux-snps-arc mailing list
>> linux-snps-arc at lists.infradead.org
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=CjFcD6LV0UctpHpPG5sETrRyEMzZdu4HNEfoozl-y2c&e=

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

* Re: failing ARC builds in kernelCI
@ 2018-11-27 22:24       ` Kevin Hilman
  0 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-11-27 22:24 UTC (permalink / raw)
  To: Alexey Brodkin, Vineet Gupta; +Cc: kernelci, linux-snps-arc

Alexey Brodkin <alexey.brodkin@synopsys.com> writes:

> BTW judging by the error [1] "arc-linux-ld: error: vmlinux.o: unable to merge ISA extension attributes code-density."
> I may assume we again bump into situation of building ARCompact kernel with ARCv2 toolchain.
>
> Also what hints to that problem is our default defconfig is "nsim_700_defconfig" which
> obviously ARCompact, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arc/Makefile#n9
>
> Thus I think the simplest option would be to switch to say "nsim_hs_defconfig" for
> default one, but that requires Vineet's ack.

I tried that, but that's not the only thing required. Because the
Kconfig default the ISA is ISA_ARCOMPACT, allnoconfig uses that, no
matter what the default in the Makefile is.  And, since tinyconfig is
based on allnoconfig, it has the same problem.

I submitted a patch[1] that gets this working for me, and with that, 'make
defconfig', 'make allnoconfig' and 'make tinyconfig' all work with ARCv2
by default.

Kevin

[1] http://lists.infradead.org/pipermail/linux-snps-arc/2018-November/004863.html

>
> -Alexey
>
> [1] https://kernelci.org/build/id/5bfd5cbe59b51413138b6da0/logs/
>
> On Tue, 2018-11-27 at 15:38 +0000, Alexey Brodkin wrote:
>> Hi Kevin,
>> 
>> On Tue, 2018-11-27 at 07:23 -0800, Kevin Hilman wrote:
>> > Hi Alexey,
>> > 
>> > You may have noticed that some defconfigs are failing to build
>> > upstream for ARC.  For example, on mainline, both allnoconfig and
>> > tinyconfig fail to build[1].
>> 
>> Actually I haven't seen that!
>>  1. I used to check 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_soc_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=KXGPL3Q7lsPxI1vH-M5m_JDTQ5czcfO7hTNdGXJsqfU&e=
>> but there's still no mention
>>     of ARC so I thought builds for ARC are not enabled still.
>>  2. I haven't seen any email notifications as well if they exist at all.
>> 
>> That said it would be good if warning emails are sent to our mailing-list
>> linux-snps-arc@lists.infradead.org (see in Cc as well) so somebody reacts on them.
>> 
>> 
>> > Do you guys have any plans to fix these, or should we disable them?
>> > We currently build these for all the other arches.,
>> 
>> Sure, let me take a look right now.
>> 
>> > Kevin
>> > 
>> > [1] 
>> > https://urldefense.proofpoint.com/v2/url?u=https-3A__kernelci.org_build_mainline_branch_master_kernel_v4.20-2Drc4-2D7-2Dgef78e5ec9214_&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=mAOgc823jx9R9N4t6nQ4AW9E8kdexU-Y3V5-t50CwJo&e=
>> 
>> -Alexey
>> _______________________________________________
>> linux-snps-arc mailing list
>> linux-snps-arc@lists.infradead.org
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=Yt-UgnQ5sp-_dEc2MtGZg0QqdnhXBo5Xwvw1tb_a6gA&s=CjFcD6LV0UctpHpPG5sETrRyEMzZdu4HNEfoozl-y2c&e=

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

end of thread, other threads:[~2018-11-27 22:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 15:23 failing ARC builds in kernelCI Kevin Hilman
2018-11-27 15:38 ` Alexey Brodkin
2018-11-27 15:38   ` Alexey Brodkin
2018-11-27 15:45   ` Alexey Brodkin
2018-11-27 15:45     ` Alexey Brodkin
2018-11-27 22:24     ` Kevin Hilman
2018-11-27 22:24       ` Kevin Hilman
2018-11-27 22:02   ` Kevin Hilman
2018-11-27 22:02     ` Kevin Hilman

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.