From: Trevor Woerner <twoerner@gmail.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>,
openembeded-devel <Openembedded-devel@lists.openembedded.org>
Subject: Re: glibc broken when linked with gold Was: [oe] State of OE World, 2019-03-16
Date: Fri, 29 Mar 2019 10:14:25 -0400 [thread overview]
Message-ID: <20190329141425.GA6015@linux-uys3> (raw)
In-Reply-To: <20190329113734.GA31182@linux-uys3>
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 ]---
prev parent reply other threads:[~2019-03-29 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAMKF1so7w4i4Kw-ymWayPx1Z_mmetRKcNeyb9pADFZwDY=jqmw@mail.gmail.com>
[not found] ` <20190327161754.GD1598@jama>
[not found] ` <20190327163507.GE1598@jama>
[not found] ` <20190327203907.GF1598@jama>
2019-03-27 22:32 ` glibc broken when linked with gold Was: [oe] State of OE World, 2019-03-16 Martin Jansa
2019-03-28 5:08 ` Khem Raj
2019-03-28 14:40 ` Martin Jansa
2019-03-29 11:37 ` Trevor Woerner
2019-03-29 14:14 ` Trevor Woerner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190329141425.GA6015@linux-uys3 \
--to=twoerner@gmail.com \
--cc=Openembedded-devel@lists.openembedded.org \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox