public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "felix-glibc at fefe dot de" <sourceware-bugzilla@sourceware.org> 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 [thread overview] Message-ID: <bug-29703-131-iDpVWfhm7R@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-29703-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=29703 --- Comment #4 from Felix von Leitner <felix-glibc at fefe dot de> --- The following program compiles and runs on the same box: $ cat ifunc.c #include <stdio.h> 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 $ -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2022-10-20 14:22 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-19 15:59 [Bug libc/29703] New: " felix-glibc at fefe dot de 2022-10-19 16:23 ` [Bug libc/29703] " schwab@linux-m68k.org 2022-10-20 9:29 ` felix-glibc at fefe dot de 2022-10-20 10:13 ` schwab@linux-m68k.org 2022-10-20 14:22 ` felix-glibc at fefe dot de [this message] 2022-10-20 14:38 ` felix-glibc at fefe dot de 2022-10-20 16:17 ` adhemerval.zanella at linaro dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29703-131-iDpVWfhm7R@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).