public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Hurd port for GCC Go (was: [PATCH] gccgo patch 0-2 (9))
       [not found] <1370596471.4596.25.camel@PackardBell-PC>
@ 2013-06-11  8:31 ` Thomas Schwinge
  2013-06-12 13:36   ` Svante Signell
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Schwinge @ 2013-06-11  8:31 UTC (permalink / raw)
  To: svante.signell; +Cc: bug-hurd, fotis.koutoulakis, Ian Lance Taylor, gcc

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

Hi!

On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> Attached are patches to enable gccgo to build properly on Debian
> GNU/Hurd on gcc-4.7 (4.7.3-4).

Thanks!  I've begun integrating them into my GCC tree (based on upstream
GCC trunk, so some changes to be done to your patches), and get it in a
state for Fotis to base his GSoC work on.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hurd port for GCC Go (was: [PATCH] gccgo patch 0-2 (9))
  2013-06-11  8:31 ` Hurd port for GCC Go (was: [PATCH] gccgo patch 0-2 (9)) Thomas Schwinge
@ 2013-06-12 13:36   ` Svante Signell
  2013-06-13  8:40     ` Hurd port for GCC Go Thomas Schwinge
  0 siblings, 1 reply; 6+ messages in thread
From: Svante Signell @ 2013-06-12 13:36 UTC (permalink / raw)
  To: Thomas Schwinge; +Cc: bug-hurd, fotis.koutoulakis, Ian Lance Taylor, gcc

Hi Thomas,

On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote:
> Hi!
> 
> On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > Attached are patches to enable gccgo to build properly on Debian
> > GNU/Hurd on gcc-4.7 (4.7.3-4).
> 
> Thanks!  I've begun integrating them into my GCC tree (based on upstream
> GCC trunk, so some changes to be done to your patches), and get it in a
> state for Fotis to base his GSoC work on.

Where to find your GCC tree? Also I had problems to tracing this commit:
<http://git.savannah.gnu.org/cgit/hurd/glibc.git/commit/?h=t/context_functions&id=018259d791f1ced4b2ced88c393cc74de15006ed>.
I did not find anything related to context_functions at
http://git.savannah.gnu.org/cgit/hurd/glibc.git/

Furthermore, for testing purposes, is it straight-forward to add the new
functions getcontext/setcontext/makecontext*/movecontext to the debian
sources, e.g. 2.13-39+hurd.3 or 2.17-6 (when that is released?). Where
should these be placed in the tree: hurd/, sysdeps/mach/hurd/,
elsewhere? And how to avoid the stubs at stdlib/ being compiled in?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hurd port for GCC Go
  2013-06-12 13:36   ` Svante Signell
@ 2013-06-13  8:40     ` Thomas Schwinge
  2013-06-14 14:42       ` Thomas Schwinge
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Schwinge @ 2013-06-13  8:40 UTC (permalink / raw)
  To: Svante Signell; +Cc: bug-hurd, fotis.koutoulakis, Ian Lance Taylor, gcc

[-- Attachment #1: Type: text/plain, Size: 2786 bytes --]

Hi!

On Wed, 12 Jun 2013 15:36:39 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote:
> > On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > > Attached are patches to enable gccgo to build properly on Debian
> > > GNU/Hurd on gcc-4.7 (4.7.3-4).
> > 
> > Thanks!  I've begun integrating them into my GCC tree (based on upstream
> > GCC trunk, so some changes to be done to your patches), and get it in a
> > state for Fotis to base his GSoC work on.
> 
> Where to find your GCC tree?

Only locally at the moment; will find a place to publish it.  As the .git
directory weighs in the order of 1 GiB, I don't just want to push that
onto darnassus (for example); even if we told people to first clone the
upstream Git repository and only then add darnassus as an additional
remote, I bet some would forget doing that.  Hmm, it seems that I might
be able to host Git branches upstream, so I'll explore that:
<http://gcc.gnu.org/wiki/GitMirror#Git-only_branches>.

I got as far as having GCC Go compiling with GCC trunk sources; more to
come later.


> Also I had problems to tracing this commit:
> <http://git.savannah.gnu.org/cgit/hurd/glibc.git/commit/?h=t/context_functions&id=018259d791f1ced4b2ced88c393cc74de15006ed>.
> I did not find anything related to context_functions at
> http://git.savannah.gnu.org/cgit/hurd/glibc.git/

Follow »[...]« in the Branches section to see all branches.  Anyway, it's
a TopGit branch,
<http://www.gnu.org/software/hurd/source_repositories/glibc.html>, so for
getting a patch out of that, you'll need to diff the top of that branch
against its base branch, using »tg patch t/context_functions« if you have
TopGit installed, or something like »git diff
top-bases/t/context_functions t/context_functions« manually.

> Furthermore, for testing purposes, is it straight-forward to add the new
> functions getcontext/setcontext/makecontext*/movecontext to the debian
> sources, e.g. 2.13-39+hurd.3 or 2.17-6 (when that is released?).

It is, and Samuel is already building 2.17-3+hurd.4 packages, so you
might just wait for these to appear on debian-ports.  (The patch already
was in his last night's 2.17-3+hurd.3 build, but that one turned out to
be missing another important patch (DNS resolving), as he told in his
recent email.)

> Where
> should these be placed in the tree: hurd/, sysdeps/mach/hurd/,
> elsewhere?

As indidacted in the patch.

> And how to avoid the stubs at stdlib/ being compiled in?

As soon as there are "more specific" implementation files (that is, these
added by me), the stub ones will no longer be considered by glibc's build
system.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hurd port for GCC Go
  2013-06-13  8:40     ` Hurd port for GCC Go Thomas Schwinge
@ 2013-06-14 14:42       ` Thomas Schwinge
  2013-06-14 20:36         ` Svante Signell
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Schwinge @ 2013-06-14 14:42 UTC (permalink / raw)
  To: Svante Signell, fotis.koutoulakis, gcc; +Cc: bug-hurd, Ian Lance Taylor

[-- Attachment #1: Type: text/plain, Size: 3079 bytes --]

Hi!

On Thu, 13 Jun 2013 10:39:58 +0200, I wrote:
> On Wed, 12 Jun 2013 15:36:39 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote:
> > > On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > > > Attached are patches to enable gccgo to build properly on Debian
> > > > GNU/Hurd on gcc-4.7 (4.7.3-4).
> > > 
> > > Thanks!  I've begun integrating them into my GCC tree (based on upstream
> > > GCC trunk, so some changes to be done to your patches), and get it in a
> > > state for Fotis to base his GSoC work on.
> > 
> > Where to find your GCC tree?
> 
> Only locally at the moment; will find a place to publish it.  As the .git
> directory weighs in the order of 1 GiB, I don't just want to push that
> onto darnassus (for example); even if we told people to first clone the
> upstream Git repository and only then add darnassus as an additional
> remote, I bet some would forget doing that.  Hmm, it seems that I might
> be able to host Git branches upstream, so I'll explore that:
> <http://gcc.gnu.org/wiki/GitMirror#Git-only_branches>.

I have now pushed my working branch to tschwinge/t/hurd/go, and will
update this from time to time, both for integrating further changes (my
own as well as those that you send me), and merge in GCC trunk changes.
On that branch, use something like »git diff :/refs/top-bases/baseline«
to diff your working tree against the branch's base.  When reviewing the
commit history on that branch, it may be helpful to exclude any bulk
merges from trunk, so use something like »git log HEAD ^origin/trunk«.

Fotis and Svante, please base any futher work for the Hurd port for GCC
Go on that branch.  Send patches by email, for now.

> I got as far as having GCC Go compiling with GCC trunk sources; more to
> come later.


> > Also I had problems to tracing this commit:
> > <http://git.savannah.gnu.org/cgit/hurd/glibc.git/commit/?h=t/context_functions&id=018259d791f1ced4b2ced88c393cc74de15006ed>.
> > I did not find anything related to context_functions at
> > http://git.savannah.gnu.org/cgit/hurd/glibc.git/
> 
> Follow »[...]« in the Branches section to see all branches.  Anyway, it's
> a TopGit branch,
> <http://www.gnu.org/software/hurd/source_repositories/glibc.html>, so for
> getting a patch out of that, you'll need to diff the top of that branch
> against its base branch, using »tg patch t/context_functions« if you have
> TopGit installed, or something like »git diff
> top-bases/t/context_functions t/context_functions« manually.
> 
> > Furthermore, for testing purposes, is it straight-forward to add the new
> > functions getcontext/setcontext/makecontext*/movecontext to the debian
> > sources, e.g. 2.13-39+hurd.3 or 2.17-6 (when that is released?).
> 
> It is, and Samuel is already building 2.17-3+hurd.4 packages, so you
> might just wait for these to appear on debian-ports.

These packages are available now.  Thanks Samuel!


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hurd port for GCC Go
  2013-06-14 14:42       ` Thomas Schwinge
@ 2013-06-14 20:36         ` Svante Signell
  2013-06-16 10:32           ` Thomas Schwinge
  0 siblings, 1 reply; 6+ messages in thread
From: Svante Signell @ 2013-06-14 20:36 UTC (permalink / raw)
  To: Thomas Schwinge; +Cc: fotis.koutoulakis, gcc, bug-hurd, Ian Lance Taylor

On Fri, 2013-06-14 at 16:42 +0200, Thomas Schwinge wrote:
> Hi!
> 
> On Thu, 13 Jun 2013 10:39:58 +0200, I wrote:
> > On Wed, 12 Jun 2013 15:36:39 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > > On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote:
> > > > On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > > > > Attached are patches to enable gccgo to build properly on Debian
> > > > > GNU/Hurd on gcc-4.7 (4.7.3-4).
> > > > 
> > > > Thanks!  I've begun integrating them into my GCC tree (based on upstream
> > > > GCC trunk, so some changes to be done to your patches), and get it in a
> > > > state for Fotis to base his GSoC work on.
...
> I have now pushed my working branch to tschwinge/t/hurd/go, and will
> update this from time to time, both for integrating further changes (my
> own as well as those that you send me), and merge in GCC trunk changes.
> On that branch, use something like »git diff :/refs/top-bases/baseline«
> to diff your working tree against the branch's base.  When reviewing the
> commit history on that branch, it may be helpful to exclude any bulk
> merges from trunk, so use something like »git log HEAD ^origin/trunk«.
> 
> Fotis and Svante, please base any futher work for the Hurd port for GCC
> Go on that branch.  Send patches by email, for now.
> 
> > I got as far as having GCC Go compiling with GCC trunk sources; more to
> > come later.

Sorry, I'm not fluent in git. Which command to use to check out your
branch tschwinge/t/hurd/go? Cannot find it at
http://git.savannah.gnu.org/cgit/hurd/glibc.git/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hurd port for GCC Go
  2013-06-14 20:36         ` Svante Signell
@ 2013-06-16 10:32           ` Thomas Schwinge
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Schwinge @ 2013-06-16 10:32 UTC (permalink / raw)
  To: svante.signell; +Cc: fotis.koutoulakis, gcc, bug-hurd, Ian Lance Taylor

[-- Attachment #1: Type: text/plain, Size: 2562 bytes --]

Hi!

On Fri, 14 Jun 2013 22:37:03 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> On Fri, 2013-06-14 at 16:42 +0200, Thomas Schwinge wrote:
> > On Thu, 13 Jun 2013 10:39:58 +0200, I wrote:
> > > On Wed, 12 Jun 2013 15:36:39 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > > > On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote:
> > > > > On Fri, 07 Jun 2013 11:14:31 +0200, Svante Signell <svante.signell@gmail.com> wrote:
> > > > > > Attached are patches to enable gccgo to build properly on Debian
> > > > > > GNU/Hurd on gcc-4.7 (4.7.3-4).
> > > > > 
> > > > > Thanks!  I've begun integrating them into my GCC tree (based on upstream
> > > > > GCC trunk, so some changes to be done to your patches), and get it in a
> > > > > state for Fotis to base his GSoC work on.
> ...
> > I have now pushed my working branch to tschwinge/t/hurd/go, and will
> > update this from time to time, both for integrating further changes (my
> > own as well as those that you send me), and merge in GCC trunk changes.
> > On that branch, use something like »git diff :/refs/top-bases/baseline«
> > to diff your working tree against the branch's base.  When reviewing the
> > commit history on that branch, it may be helpful to exclude any bulk
> > merges from trunk, so use something like »git log HEAD ^origin/trunk«.
> > 
> > Fotis and Svante, please base any futher work for the Hurd port for GCC
> > Go on that branch.  Send patches by email, for now.
> > 
> > > I got as far as having GCC Go compiling with GCC trunk sources; more to
> > > come later.
> 
> Sorry, I'm not fluent in git. Which command to use to check out your
> branch tschwinge/t/hurd/go? Cannot find it at
> http://git.savannah.gnu.org/cgit/hurd/glibc.git/

That's no surprise, as I've talking about the GCC Git repository,
<http://gcc.gnu.org/wiki/GitMirror>.  Clone it, and then create a local
branch based on the one I pushed, so something like:

    $ git clone git://gcc.gnu.org/git/gcc.git
    $ cd gcc/
    $ git checkout -b tschwinge/t/hurd/go origin/tschwinge/t/hurd/go


As I'm still occasionally seeing file corruption as described on
<http://www.gnu.org/software/hurd/open_issues/git-core-2.html> and
<http://www.gnu.org/software/hurd/open_issues/git_duplicated_content.html>,
I suggest you either pass the --quiet flag to any Git command you use, or
clone on a GNU/Linux box and then use rsync or something similar for
copying the repository and working directory to your GNU/Hurd system.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-16 10:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1370596471.4596.25.camel@PackardBell-PC>
2013-06-11  8:31 ` Hurd port for GCC Go (was: [PATCH] gccgo patch 0-2 (9)) Thomas Schwinge
2013-06-12 13:36   ` Svante Signell
2013-06-13  8:40     ` Hurd port for GCC Go Thomas Schwinge
2013-06-14 14:42       ` Thomas Schwinge
2013-06-14 20:36         ` Svante Signell
2013-06-16 10:32           ` Thomas Schwinge

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).