public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/39570] cabs and cabsf are named differently on NetBSD 5 Date: Tue, 22 Feb 2011 13:42:00 -0000 [thread overview] Message-ID: <bug-39570-4-0FHrpkpB65@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-39570-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39570 Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cato at df dot lth.se --- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-22 13:25:53 UTC --- I just checked CC the one of the two NetBSD maintainers who has been last active... * * * CVS_RSH="ssh" cvs -d "anoncvs@anoncvs.NetBSD.org:/cvsroot" co src/lib/libm/ and libm/compat contains only compat_cabsf and compat_cabs.c, which use a struct instead of complex. That those are the only math-related changes, one sees if on greps for __RENAME in CVS_RSH="ssh" cvs -d "anoncvs@anoncvs.NetBSD.org:/cvsroot" co src/include/ i.e. complex.h contains: #ifndef __LIBM0_SOURCE__ /* avoid conflict with historical cabs(struct complex) */ double cabs(double complex) __RENAME(__c99_cabs); float cabsf(float complex) __RENAME(__c99_cabsf); #endif * * * Regarding the patch (cf. comment 3): Darwin has the files darwin.c in ./gcc/config/, which is included via ./gcc/config.gcc's tm_p_file="${tm_p_file} darwin-protos.h" target_gtfiles="\$(srcdir)/config/darwin.c" extra_objs="darwin.o" One probably needs to do likewise for "*-*-netbsd*)". In darwin.c, see darwin_patch_builtins and darwin_patch_builtin. Those are used via SUBTARGET_INIT_BUILTINS in some ./gcc/config/* files.
next prev parent reply other threads:[~2011-02-22 13:26 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-39570-4@http.gcc.gnu.org/bugzilla/> 2011-02-21 9:50 ` burnus at gcc dot gnu.org 2011-02-22 13:42 ` burnus at gcc dot gnu.org [this message] 2011-11-07 13:00 ` fxcoudert at gcc dot gnu.org 2014-12-17 22:04 ` kuehro at gmx dot de 2009-03-28 0:17 [Bug fortran/39570] New: " aran at 100acres dot us 2009-03-28 13:09 ` [Bug target/39570] " fxcoudert at gcc dot gnu dot org 2009-03-28 18:14 ` aran at 100acres dot us 2009-03-28 18:30 ` jakub at gcc dot gnu dot org 2009-03-28 19:39 ` aran at 100acres dot us
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-39570-4-0FHrpkpB65@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.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).