From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD19F385085D; Thu, 20 Oct 2022 14:22:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD19F385085D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666275768; bh=/pEIvKKGTyJ+IbTGJ2yTvbbB5oSNcRCdPxaEPy360Yg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AkEabhr/eh3YMiUvKApeatETZwHyBv/eMXM7LLn18ksDroqe0cwqzaZFXhaDG7Tcy 5yCJCpET+oR2XXG+BS2oUO2lUNDAQ4uqeir+OHPoFU8TObAmF0Cm1wzB8FmC2Wgnfs oo43Ww7qtSDBW2TOcyJx2GMc8J0ACYCO9Nf2z8bU= From: "felix-glibc at fefe dot de" To: glibc-bugs@sourceware.org Subject: [Bug libc/29703] gettimeofda: compile error with gcc 12.2.0 (glibc 2.36) Date: Thu, 20 Oct 2022 14:22:44 +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: felix-glibc at fefe dot de 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=3D29703 --- Comment #4 from Felix von Leitner --- The following program compiles and runs on the same box: $ cat ifunc.c #include void my_test() { puts("my_test called"); } static void (*resolve_test (void)) (void) { return my_test; // we'll just always select this routine } void test () __attribute__ ((ifunc ("resolve_test"))); int main() { test(); } $ gcc -o ifunc ifunc.c $ ./ifunc my_test called $ --=20 You are receiving this mail because: You are on the CC list for the bug.=