From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35B77388451F; Wed, 26 Oct 2022 19:10:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35B77388451F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666811433; bh=NT5K2vclROGdIzxyYBRhE7gCPHsH+1l8YPxr+hxieWk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K2G9ficOrTvAQgWG5DRYU0ZrB15fTYpeIzPlL2yIrDCXd3kVbXEtn65TXI7Af3fxZ fGxqB+wKeKOqtiyp5NaZIkk2DzJhdTAhWgZZjqbrd1CiRLvLcS7kUjUM1z0zlEhNW/ Csnsw7lSdFcNiPzmo45w5qsMwJcHCvnAzrh03oVA= From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29621] librtld.os: in function `__register_frame': libgcc/unwind-dw2-fde.c:136: undefined reference to `malloc' Date: Wed, 26 Oct 2022 19:10:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29621 --- Comment #5 from Adhemerval Zanella --- (In reply to James Hilliard from comment #4) > (In reply to Adhemerval Zanella from comment #3) > > Is there an easy way to reproduce it without resorting to build/use > > buildroot? I am trying to use the command you posted but it fails after > > downloading the kernel and I do not want to dig into builroot to debug = this. > >=20 > > Also, could you verify what buildroot is doing differently than glibc o= wn > > toolchain build script [1] so we can narrow down issue? > >=20 > > [1] > > https://sourceware.org/git/?p=3Dglibc.git;a=3Dblob;f=3Dscripts/build-ma= ny-glibcs. > > py;h=3D5af6f369ae04027911b3407c64716dd1571eae6a;hb=3DHEAD >=20 > Hmm, what's the error message buildroot gives? >=20 > I'm not really sure how to reproduce outside of buildroot. Kind of hard to > narrow down what difference is triggering the issue with the toolchain bu= ild > script. I just copy/paste your instructions: --- git clone https://github.com/buildroot/buildroot.git cd buildroot wget http://autobuild.buildroot.net/results/883/883b171a856a63540908976592683527= fdb21cd2/config mv config .config make glibc --- And after it build first stage of GCC, it tries to download the kernel and dumps an error: --- wget --passive-ftp -nd -t 3 -O '/tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZZc/output' 'https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.15.tar.xz' --2022-10-26 16:09:00--=20 https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.15.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)... 2a04:4e42:5c::432, 199.232.113= .176 Connecting to cdn.kernel.org (cdn.kernel.org)|2a04:4e42:5c::432|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 128442092 (122M) [application/x-xz] Saving to: =E2=80=98/tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZZc= /output=E2=80=99 /tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZZc/output= =20=20=20=20=20 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 122,49M 36,0MB/s in 3,3s 2022-10-26 16:09:08 (37,4 MB/s) - =E2=80=98/tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZZc= /output=E2=80=99 saved [128442092/128442092] ERROR: No hash found for linux-5.17.15.tar.xz --- --=20 You are receiving this mail because: You are on the CC list for the bug.=