From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by sourceware.org (Postfix) with ESMTPS id E1A3A3858018 for ; Wed, 6 Oct 2021 09:03:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E1A3A3858018 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=denx.de Received: from ktm (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7642181918; Wed, 6 Oct 2021 11:03:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633511008; bh=M+fIyMY+EL3z8M6OjV9UPtqVpDPEENCOVYcbcw70N9A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=utw49pveAXDjckwdNN7/QzxGCXBRz1ateQ/VPxhBbhV5RRhn0KDcG8+I6BBHWATvm IBFJ0AsEumxzNFHnDU5GsqYByUIRDc2PJHywLS8iUrB8UXAW1dxhHdOwFpq6ezhNkg dZ+uRLdwnB0ZaR9h8v73XwcfhzdJMvuOY7qwTGRaIwWyfz5jcN+ufxaOZ7ckOSr8u6 MNoM9Ipnl0FLXTmTaMhMmr01cjIBsk+EIY4IOTnfV8S0Tt6lwodH1MzVKOWWErLeUY lAPJyt2YczwlXeGdU6jYcPDn1h6FCww6K13lizB1YkJJqgJobTwlku4ifPt5FvwzKn 9eNVgZEJ/hy2g== Date: Wed, 6 Oct 2021 11:03:21 +0200 From: Lukasz Majewski To: Fangrui Song Cc: Adhemerval Zanella , Florian Weimer , Joseph Myers , Carlos O'Donell , libc-alpha Subject: Re: [PATCH] dl: Use "adr" assembler command to get proper load address Message-ID: <20211006110321.5f1a9610@ktm> In-Reply-To: <20211006075721.qnv6qabroytcsido@google.com> References: <20210907131616.23472-1-lukma@denx.de> <20210907164906.yt6nonvfyhvbrx6p@google.com> <20210907193227.6047f9cc@ktm> <20210907174417.sctsswphsyae4mpc@google.com> <20211005094554.2f28d6bd@ktm> <20211006075721.qnv6qabroytcsido@google.com> Organization: denx.de X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Wxk/SMuSZSfnoDWXBelelnR"; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2021 09:03:31 -0000 --Sig_/Wxk/SMuSZSfnoDWXBelelnR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Fangrui, > On 2021-10-05, Lukasz Majewski wrote: > >Hi Fangrui, > > =20 > >> > > >> >I'm also wondering if similar issue is visible with "normal" - > >> >i.e. not QEMU ARM run init. > >> > > >> >Maybe the "rough" environment in which /sbin/init is run is the > >> >culprit? > >> > =20 > >> > >> I had tested running ld.so and elf/ldconfig which covered the > >> usage. > >> > >> I don't know. It needs some debugging from you:) =20 > > > >Could you share on which hardware (ARM) you run this change? > > > > > >Best regards, > > > >Lukasz Majewski =20 >=20 Thanks for the info. > I ran ld.so and elf/ldconfig with qemu-arm-static (built from Ok, so this was only the user mode emulation, not qemu-system-arm ? > qemu/linux-user) (via binfmt_misc) on x86-64 Linux (Debian testing). > I don't have real ARM hardware. The built image for BBB (Beagle Bone Black) also shows OOPs on the real HW. I'm debugging this now and share results asap. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/Wxk/SMuSZSfnoDWXBelelnR Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmFdZlkACgkQAR8vZIA0 zr1D7ggAkgOoJKTlcsi/JQ1PR0BiNKAqFBNqwDIjnIG3051WFcQOSB+ruYlf46zT mCHiwxvNEoRRoVMgA5/bX6JeVq71RGRaiq1LWdWumxlLPVU3pO45rAa1K+IVS4h5 fAMJXgsBDYwdPnQNrZareOyiltezoO9iCr+ckAZEla5bkjv9vRB3DH0Oaue9AWkY 56CuRW0ay/v2JcI0IukyN9gtpArbdhyv7iDNdqnItEXxhZqJFNp82W2Io9mrl/Ja Z6mW/OOxEkPzgOoxm+MhJU3TlldfRsdyPa2bRqt0QE1KLI/pD9+TCshUe5TBK9JS 6W00V8i4lW8HQXYwyKTYJt4/H7+OuQ== =3td9 -----END PGP SIGNATURE----- --Sig_/Wxk/SMuSZSfnoDWXBelelnR--