All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10096] New: SH4 toolchain does not build Linux kernel magicpanelr2_defconfig
@ 2017-07-17 15:08 bugzilla at busybox.net
  2018-04-01 11:56 ` [Buildroot] [Bug 10096] " bugzilla at busybox.net
  2024-01-24  3:25 ` bugzilla
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2017-07-17 15:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10096

            Bug ID: 10096
           Summary: SH4 toolchain does not build Linux kernel
                    magicpanelr2_defconfig
           Product: buildroot
           Version: 2016.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: thomas.petazzoni at free-electrons.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Found in http://www.spinics.net/lists/linux-sh/msg51060.html, a Buildroot
generated toolchain for SH4 fails to build the Linux kernel
magicpanelr2_defconfig:

/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-ld:
kernel/sched/built-in.o: uses dsp instructions while previous modules use
floating point instructions
/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-ld:
kernel/sched/built-in.o: uses instructions which are incompatible with
instructions used in previous modules
/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-ld: failed to
merge target specific data of file kernel/sched/built-in.o
/home/kisskb/slave/src/scripts/Makefile.build:380: recipe for target
'kernel/built-in.o' failed
make[2]: *** [kernel/built-in.o] Error 1

Full build log at http://kisskb.ellerman.id.au/kisskb/buildresult/12857629/log/

(Note: this is a bug from January 2017, which I notice only now. Before I
forget, I fill in a bug report about it, so we can have a look at it later.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10096] SH4 toolchain does not build Linux kernel magicpanelr2_defconfig
  2017-07-17 15:08 [Buildroot] [Bug 10096] New: SH4 toolchain does not build Linux kernel magicpanelr2_defconfig bugzilla at busybox.net
@ 2018-04-01 11:56 ` bugzilla at busybox.net
  2024-01-24  3:25 ` bugzilla
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-04-01 11:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10096

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This problem can be reproduced with the following defconfig:

BR2_sh=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_DEFCONFIG="magicpanelr2"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10096] SH4 toolchain does not build Linux kernel magicpanelr2_defconfig
  2017-07-17 15:08 [Buildroot] [Bug 10096] New: SH4 toolchain does not build Linux kernel magicpanelr2_defconfig bugzilla at busybox.net
  2018-04-01 11:56 ` [Buildroot] [Bug 10096] " bugzilla at busybox.net
@ 2024-01-24  3:25 ` bugzilla
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla @ 2024-01-24  3:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10096

Kieran Weaver <drawbook.productions@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED
           Assignee|unassigned@buildroot.uclibc |drawbook.productions@gmail.
                   |.org                        |com

--- Comment #2 from Kieran Weaver <drawbook.productions@gmail.com> ---
Reproduced on the current buildroot git head.

From linux commit ded5431ff311d963888ac951131a04fe7633aa79:

"""
From ded5431ff311d963888ac951131a04fe7633aa79 Mon Sep 17 00:00:00 2001
From: Markus Brunner <super.firetwister@gmail.com>
Date: Wed, 12 Sep 2007 11:54:58 +0900
Subject: sh: Magic Panel R2 board support.

This adds support for the SH7720 (SH3-DSP) based Magic Panel R2
board.
"""

The Magic Panel R2 is a SH3 board, not a SH4 board, it's not supported by
buildroot.

The root cause is that the SH3-DSP scheduler code saves and loads the SH3 DSP
registers via inline ASM, and mixing SH3-DSP code with SH4-FPU code isn't
supported.

Marking as RESOLVED/WONTFIX

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-01-24  3:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-17 15:08 [Buildroot] [Bug 10096] New: SH4 toolchain does not build Linux kernel magicpanelr2_defconfig bugzilla at busybox.net
2018-04-01 11:56 ` [Buildroot] [Bug 10096] " bugzilla at busybox.net
2024-01-24  3:25 ` bugzilla

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.