From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4CC7D385742A; Wed, 26 Oct 2022 19:33:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CC7D385742A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666812831; bh=4iM1PKmuGXPHVjVAU2cbPH4z72egrXfTxK9k6qakO3U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aEIh00Wa8W/r6CUc6+h/qKAK5uR6yhKEt9FbyHAdWkmnpYPbQVCNk6apjpGv9Xeza vLjmgRnXz4scJ3yXxn3cRZxPVDrLQ057+UCCt0zmikqpdp/gpzgZSX/yc3GJzsbU2p G2BXaKVpBxybWbqgS/9qEA/4Bs3arq3XlQOA340U= From: "james.hilliard1 at gmail dot com" 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:33:51 +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: james.hilliard1 at gmail dot com 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 #6 from James Hilliard --- (In reply to Adhemerval Zanella from comment #5) > (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 aft= er > > > downloading the kernel and I do not want to dig into builroot to debu= g this. > > >=20 > > > Also, could you verify what buildroot is doing differently than glibc= own > > > toolchain build script [1] so we can narrow down issue? > > >=20 > > > [1] > > > https://sourceware.org/git/?p=3Dglibc.git;a=3Dblob;f=3Dscripts/build-= many-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 = build > > script. >=20 > I just copy/paste your instructions: >=20 > --- > git clone https://github.com/buildroot/buildroot.git > cd buildroot > wget > http://autobuild.buildroot.net/results/883/ > 883b171a856a63540908976592683527fdb21cd2/config > mv config .config > make glibc > --- >=20 > And after it build first stage of GCC, it tries to download the kernel and > dumps an error: >=20 > --- > wget --passive-ftp -nd -t 3 -O > '/tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZZc/outpu= t' > '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.MfDZ= Zc/output=E2=80=99 >=20 > /tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZZc/output= =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 >=20 > 2022-10-26 16:09:08 (37,4 MB/s) - > =E2=80=98/tmp/buildroot/buildroot/output/build/.linux-5.17.15.tar.xz.MfDZ= Zc/output=E2=80=99 > saved [128442092/128442092] >=20 > ERROR: No hash found for linux-5.17.15.tar.xz > --- Oh, build config is out of sync with master(sometime changes in master break previous configs), should work if you checkout the same buildroot commit th= at the failure was triggered on: git checkout e4ecf82f99f53e55d51e6f74ae5021473aa2bb1d Full commands: git clone https://github.com/buildroot/buildroot.git cd buildroot git checkout e4ecf82f99f53e55d51e6f74ae5021473aa2bb1d wget http://autobuild.buildroot.net/results/883/883b171a856a63540908976592683527= fdb21cd2/config mv config .config make glibc --=20 You are receiving this mail because: You are on the CC list for the bug.=