An image built with gold fails on the hardware.

I was able to build core-image-minimal with gold enabled:

configuration:
        Build Configuration:
        BB_VERSION           = "1.40.0"
        BUILD_SYS            = "x86_64-linux"
        NATIVELSBSTRING      = "opensuseleap-15.0"
        TARGET_SYS           = "arm-oe-linux-gnueabi"
        MACHINE              = "imx233-olinuxino-maxi"
        DISTRO               = "nodistro"
        DISTRO_VERSION       = "nodistro.0"
        TUNE_FEATURES        = "arm armv5 thumb dsp"
        TARGET_FPU           = "soft"
        meta-fsl-arm-extra   = "master:b4d2c8462220e7038adffc0a151767ef8da07c5d"
        meta-freescale       = "master:08173f472244817b85fe4af8ab2add7a0090b122"
        meta                 = "master:aeaca9bb1b1c8bf44818945dc4b2cbd6d4b5cef2"

conf/local.conf addition:
        DISTRO_FEATURES_append = " ld-is-gold"

When run, the kernel is unable to run init, and panics:

        [    4.050000] Freeing unused kernel memory: 308K
        [    4.050000] This architecture does not have kernel memory protection.
        [    4.060000] Run /sbin/init as init process
        [    4.120000] hub 1-1:1.0: USB hub found
        [    4.130000] hub 1-1:1.0: 3 ports detected
        [    4.140000] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x0000000b
        [    4.140000] CPU: 0 PID: 1 Comm: init Not tainted 
5.0.3-fslc+g20d8efe36350 #1
        [    4.140000] Hardware name: Freescale MXS (Device Tree)
        [    4.140000] [<c0010df8>] (unwind_backtrace) from [<c000e730>] 
(show_stack+0x10/0x14)
        [    4.140000] [<c000e730>] (show_stack) from [<c001a9bc>] 
(panic+0xec/0x2d8)
        [    4.140000] [<c001a9bc>] (panic) from [<c001d3b0>] 
(do_exit+0xa44/0xaa4)
        [    4.140000] [<c001d3b0>] (do_exit) from [<c001e65c>] 
(do_group_exit+0x38/0xbc)
        [    4.140000] [<c001e65c>] (do_group_exit) from [<c002a1c0>] 
(get_signal+0x110/0x98c)
        [    4.140000] [<c002a1c0>] (get_signal) from [<c000dd6c>] 
(do_work_pending+0x120/0x5fc)
        [    4.140000] [<c000dd6c>] (do_work_pending) from [<c0009034>] 
(slow_work_pending+0xc/0x20)
        [    4.140000] Exception stack(0xc343dfb0 to 0xc343dff8)
        [    4.140000] dfa0:                                     bebd7f10 
484113c4 00000000 48431fd0
        [    4.140000] dfc0: 00000934 00000000 00000000 00000000 00000000 
00000000 00021504 bebd7f0c
        [    4.140000] dfe0: 48431fd0 bebd7ed0 48410a40 484113f4 00000010 
ffffffff
        [    4.140000] ---[ end Kernel panic - not syncing: Attempted to kill 
init! exitcode=0x0000000b ]---
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to