public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: John Marino <gnugcc@marino.st>,
	       "Joseph S. Myers" <joseph@codesourcery.com>
Cc: gcc-patches@gcc.gnu.org, Jonathan Wakely <jwakely.gcc@gmail.com>,
	       Gerald Pfeifer <gerald@pfeifer.com>,
	manu@gcc.gnu.org,
	       "Eric Botcazou (gnu.org)" <ebotcazou@gcc.gnu.org>
Subject: Re: Contributing new gcc targets: i386-*-dragonfly and x86-64-*-dragonfly
Date: Fri, 09 May 2014 05:27:00 -0000	[thread overview]
Message-ID: <536C671F.4080100@redhat.com> (raw)
In-Reply-To: <53649694.6050508@marino.st>

On 05/03/14 01:11, John Marino wrote:

>
>
> revised patchset  :
> http://leaf.dragonflybsd.org/~marino/gcc-df-target/patches/patch-dragonfly-target
> revised changelog :
> http://leaf.dragonflybsd.org/~marino/gcc-df-target/changelog_entries/gcc_ChangeLog_entry.txt
> revised commit msg:
> http://leaf.dragonflybsd.org/~marino/gcc-df-target/proposed_commit-msg.txt
>
> Good catch!  Does the rest of the patch set look good to you?  I think
> all the non-obvious patches have been reviewed collectively by various
> people now and may be ready to be approved now.

In config.gcc:

+    no | gnat | single)
+      # Let these non-posix thread selections fall through if requested
Support for "gnat" as a thread model was removed in 2011.  So I think 
you need to remove that case.

configure.ac:

+  *-*-dragonfly* | *-*-freebsd*)
+    if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > 
/dev/null 2>&1; then
+      gcc_cv_target_dl_iterate_phdr=yes
+    else
+      gcc_cv_target_dl_iterate_phdr=no
+    fi
+    ;;
Presumably you intended to change freebsd* here.  Just want a 
confirmation.  I haven't worked on the *bsd platforms in about 20 years, 
so I have no idea if this is right for them in general.

I see you have a dragonfly-stdint.h.  Is there a particular reason why 
you can't use the freebsd-stdint.h?  I didn't check every type, but a 
quick glance makes me think they ought to be equivalent.

Similarly for dragonfly.opt.

It looks like there's a fair amount of duplication in config/dragonfly.h 
and config/i386/dragonfly but I don't see an easy way to fix that.  So, 
I'll let that go.


I'm going to trust the unwind code works and isn't duplicating something 
from somewhere else that ought to instead be shared.


So it basically looks good.  Can you fix the config.gcc nit and 
determine if we can (and should) share files with freebsd.  Repost after 
those fixes and we should be ready to go.

And one final thing, do you have a copyright assignment on file with the 
FSF?

jeff

  parent reply	other threads:[~2014-05-09  5:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19 19:41 John Marino
2014-04-20 19:05 ` Jonathan Wakely
2014-04-21  4:41   ` John Marino
2014-04-29 15:39     ` [PING] " John Marino
2014-04-29 17:25       ` Ian Lance Taylor
2014-04-29 18:50         ` John Marino
2014-04-30  0:07           ` Ian Lance Taylor
2014-05-01 23:03 ` Joseph S. Myers
2014-05-01 23:46   ` John Marino
2014-05-02 17:49     ` Joseph S. Myers
2014-05-02 18:17       ` John Marino
2014-05-02 20:15         ` Joseph S. Myers
2014-05-02 20:20           ` John Marino
2014-05-03  7:12           ` John Marino
2014-05-08 13:15             ` Jonathan Wakely
2014-05-08 13:32               ` Jeff Law
2014-05-08 13:36                 ` John Marino
2014-05-09  5:27             ` Jeff Law [this message]
2014-05-09  7:15               ` John Marino
2014-05-12 16:59                 ` Jeff Law
2014-05-12 17:10                   ` John Marino
2014-05-12 17:14                     ` Jeff Law
2014-05-13 14:10                       ` Jonathan Wakely
2014-05-21 11:43                     ` Jonathan Wakely
2015-04-09 20:12                       ` [doc] Add John Marino to doc/contrib.texi (was: Contributing new gcc targets: i386-*-dragonfly and x86-64-*-dragonfly) Gerald Pfeifer

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=536C671F.4080100@redhat.com \
    --to=law@redhat.com \
    --cc=ebotcazou@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gerald@pfeifer.com \
    --cc=gnugcc@marino.st \
    --cc=joseph@codesourcery.com \
    --cc=jwakely.gcc@gmail.com \
    --cc=manu@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: link
Be 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).