From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8276A3858D34; Fri, 5 Apr 2024 17:43:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8276A3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712338988; bh=hm0opQrIbsxbi02yqxR1MbcKTUPC5X/tBDezTSiIoPM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FZakYaPngG2OLMXBJaUex928OVYRSPZcafCGhCRUP0U78Wnyrg1yHFUijevfAi1YD h1aLBbQdeLvXXbqJ3PjaklkQMfC7wO8eZKCVMzRT02tdddW76wZGbEGpF7Le4rDp9Y 49WTLqprPWf0Z7ehCM3s4/0CvVx9V0pIIEFbYihk= From: "patrick at rivosinc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/114608] [14 Regression] Undefined reference in output asm with -fipa-reference -fipa-reference-addressable -fsection-anchors -gbtf Date: Fri, 05 Apr 2024 17:43:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: patrick at rivosinc dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114608 --- Comment #1 from Patrick O'Neill --- Command: > /scratch/tc-testing/tc-apr-4/build-rv64gcv/bin/riscv64-unknown-linux-gnu-= gcc -fipa-reference -fipa-reference-addressable -fsection-anchors -gbtf red= .c -o rv64gcv.out /scratch/tc-testing/tc-apr-4/build-rv64gcv/lib/gcc/riscv64-unknown-linux-gn= u/14.0.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /scratch/tc-testing/tc-apr-4/build-rv64gcv/sysroot/usr/lib64/lp64d/crt1.o: = in function `_start': (.text+0x22): undefined reference to `main' /scratch/tc-testing/tc-apr-4/build-rv64gcv/lib/gcc/riscv64-unknown-linux-gn= u/14.0.1/../../../../riscv64-unknown-linux-gnu/bin/ld: /scratch/tmp/ccI7WX4y.o:(.BTF+0x88): undefined reference to `a' collect2: error: ld returned 1 exit status=