From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC5833857351; Thu, 29 Sep 2022 19:51:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC5833857351 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664481095; bh=0ihMvm748I4QzOWlU2NXojO61tH9V/D/zg7ze21dOeU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WGXapYjrbnjBCzqxO70R942+jg5YobewS6fd/bW7TA75tXPNCATcvRhm0JIWUT8tf 4HfWsCdjzOUJqz49UAGeOqi2Zedv4PsL5Yw/IGiAPcrLb/0kKELPcV4vMJcsc2qTZa bh34dkMVjkyRqFYYW0K52tiSd/FCc1CvvzeDVEME= 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: Thu, 29 Sep 2022 19:51:35 +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 #2 from James Hilliard --- (In reply to Adhemerval Zanella from comment #1) > Are you sure it is not related on how you build your toolchain? I am aski= ng > because Joseph has a build service that constantly check glibc build agai= nst > multiple architectures and we have not seen this issue [1]. It's a possibility but it's unclear what could be causing this. >=20 > I have rebuild toolchain for or1k and mips64el using gcc-10/gcc-11 along > with binutils 2.39 and glibc-2.36 branches and I have seen only an ICE in > the compiler when using --enable-profile with GCC (by removing the config= ure > switch I could complete the build). I'm seeing these builds failing with errors when --disable-profile is passe= d: http://autobuild.buildroot.net/results/883/883b171a856a63540908976592683527= fdb21cd2/glibc-2.36-44-g2628500f5dff1dd99c49a09b418b3b1ea3a6b5d3/build/conf= ig.log http://autobuild.buildroot.net/results/883/883b171a856a63540908976592683527= fdb21cd2/build-end.log Configured like this looks like(note that autobuilder host is aarch64 based, however I'm seeing similar errors on our x86_64 build hosts): /home/autobuild/autobuild/instance-4/output-1/build/glibc-2.36-44-g2628500f= 5dff1dd99c49a09b418b3b1ea3a6b5d3/configure --target=3Dmipsel-buildroot-linux-gnu --host=3Dmipsel-buildroot-linux-gnu --build=3Daarch64-unknown-linux-gnu --prefix=3D/usr --enable-shared --with-pkgversion=3DBuildroot --disable-profile --disable-werror --without-= gd --with-headers=3D/home/autobuild/autobuild/instance-4/output-1/host/mipsel-= buildroot-linux-gnu/sysroot/usr/include --enable-kernel=3D5.16 Easiest way to reproduce buildroot autobuilder errors is like this(using co= nfig for above failure as an example): 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 To make the same build using your normal local glibc git tree for testing g= libc changes: Simply create a local.mk file inside the buildroot tree: echo "GLIBC_OVERRIDE_SRCDIR =3D /home/buildroot/glibc" > local.mk Then to rebuild/resync testing changes from your local glibc checkout: make glibc-rebuild Reference manual for local.mk overrides: https://buildroot.org/downloads/manual/manual.html#_using_buildroot_during_= development >=20 > [1] https://sourceware.org/pipermail/libc-testresults/2022q3/009900.html --=20 You are receiving this mail because: You are on the CC list for the bug.=