[GHC] #9832: Get rid of PERL dependency of `ghc-split`

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
35 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
       Reporter:  hvr                |                   Owner:
           Type:  task               |                  Status:  new
       Priority:  normal             |               Milestone:  7.12.1
      Component:  Compiler           |                 Version:
       Keywords:                     |        Operating System:  Windows
   Architecture:  Unknown/Multiple   |         Type of failure:
     Difficulty:  Unknown            |  None/Unknown
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 (writeme)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:
                  Type:  task        |           Status:  new
              Priority:  high        |        Milestone:  7.12.1
             Component:  Driver      |          Version:
            Resolution:              |         Keywords:  perl
      Operating System:  Windows     |     Architecture:  Unknown/Multiple
       Type of failure:              |       Difficulty:  Difficult (2-5
  None/Unknown                       |  days)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by hvr):

 * keywords:   => perl
 * difficulty:  Unknown => Difficult (2-5 days)
 * component:  Compiler => Driver
 * priority:  normal => high


Old description:

> (writeme)

New description:

 The problem:

 `ghc-split` is a ~280 SLOC (literate) Perl script and it's needed at
 runtime by GHC. Which means that we depend on a Perl interpreter, and
 since Windows usually doesn't have one installed by default, we need to
 bundle a Perl interpreter w/ the GHC binary Windows distribution for
 convenience.

 Obvious solutions:

  1. Rewrite `ghc-split` tool in Haskell, or

  2. Merge `ghc-split` functionality into GHC proper

--

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  rwbarton
                  Type:  task        |           Status:  new
              Priority:  high        |        Milestone:  7.12.1
             Component:  Driver      |          Version:
            Resolution:              |         Keywords:  perl
      Operating System:  Windows     |     Architecture:  Unknown/Multiple
       Type of failure:              |       Difficulty:  Difficult (2-5
  None/Unknown                       |  days)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * owner:   => rwbarton


Comment:

 I am in this area currently (planning to add split-objs support to the
 LLVM backend, which will require some refactoring somewhere), so will mark
 myself owner for now at least.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  rwbarton
                  Type:  task        |           Status:  new
              Priority:  high        |        Milestone:  7.12.1
             Component:  Driver      |          Version:
            Resolution:              |         Keywords:  perl
      Operating System:  Windows     |     Architecture:  Unknown/Multiple
       Type of failure:              |       Difficulty:  Difficult (2-5
  None/Unknown                       |  days)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by GregWeber):

 What is the difference between 1) and 2) here?

 1) Write a parser in Haskell
 2) Leverage existing internal knowledge about how things are generated?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  rwbarton
                  Type:  task        |           Status:  new
              Priority:  high        |        Milestone:  7.12.1
             Component:  Driver      |          Version:
            Resolution:              |         Keywords:  perl
      Operating System:  Windows     |     Architecture:  Unknown/Multiple
       Type of failure:              |       Difficulty:  Difficult (2-5
  None/Unknown                       |  days)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by ezyang):

 By the way, if you do (2), be *very* careful about memory usage. GHC
 outputs C-- in a streaming fashion, so if you accidentally accumulate
 everything in memory as you are splitting objects you will spike memory
 usage. In principle it should be possible to make sure it streams
 properly, but putting the splitter in a separate process certainly makes
 this job easier.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  rwbarton
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 Hi @rwbarton are you still working on this? If not mind if I take this
 one?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * owner:  rwbarton =>


Comment:

 No, I'm not actively working on this and I don't intend to in the near
 future. Are you planning to just rewrite ghc-split in Haskell, or to
 change its interface in some way? If the latter, could you describe the
 changes you plan to make here so I can comment on whether they would be
 suitable for the LLVM backend also? No point in redesigning twice. Thanks.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by Phyx-):

 * owner:   => Phyx-


Comment:

 I was only planning on rewriting it in Haskell. Though if any interface
 changes are required I would be happy to incorporate them during the
 rewrite. I still need to figure out what this does and where it's called
 before I get started.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 Just a small update in case anyone is watching. I've mostly got this done.
 Ended up inlining one of the PCRE bindings since rewriting this without
 Perl Regex would have ended up in something a lot bigger and complexer.
 Currently missing the apple-Darwin one implementation and then I'll start
 cleaning up the code and performing more thorough testing.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 I am still missing an apple-Darwin test file, but I have started preparing
 the changes for review, but I need to figure out how to modify validate to
 carry out the testing.

 Does validate allow for testing other binaries than GHC?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by thomie):

 > Does validate allow for testing other binaries than GHC?
 You can try adding a `run_command` test. See Building/RunningTests/Adding.

 You'll need to tell the testsuite where to find the splitter. See
 find_tool and  canonicaliseExecutable in `testsuite/mk/boilerplate.mk`.

 Alternatively, use a `compile` test that sets `-split-objs`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 Ah, thank you! I'll get started doing that!

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * cc: simonmar (added)


Comment:

 > Ended up inlining one of the PCRE bindings since rewriting this without
 Perl Regex would have ended up in something a lot bigger and complexer.

 I [https://github.com/Mistuke/ghc/tree/trac-9832-replace-split-perl-
 script-with-haskell noticed] that this adds 30.000 lines of C and 1700
 lines of Haskell. Not sure if that's any better than just bundling Perl on
 Windows + a 300 line Perl script.

 What is the problem we're trying so solve here? If it's binary size: we've
 been shipping Python and fortran compilers as well, maybe start with
 stripping those (#9014).

 Perhaps we can get rid of split-objs completely? I found the following
 quote by @simonmar in SharedLibraries:

    "Shared libs also completely eliminates the need for the “split objs”
 hack
    that GHC uses to reduce the size of statically linked programs. This
 should
    make our link times a bit quicker."

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * cc: duncan (added)


Comment:

 Sorry, that quote should have been attributed to @duncan.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 I'm not quite sure the problem being solved here is either, but I don't
 think it's binary size. since the perl distribution (looking at GHC
 7.10.1) comes down to a `perl.exe` and a `perl56.dll` which together with
 the perl `GHC-split` file comes to a smaller since than the Haskell `GHC-
 split`.

 My assumption has been that the problem being addressed is to lower the
 amount of "other" languages used by the compiler/tools.

 The actual implementation isn't that big, what ended up being big is the
 fact that I needed to use a perl regular expression library unless I
 rewrite it to using something else, like parsec maybe...

 Two things could be done:

 First I could instead of having the `pcre` source inlined I could depend
 on the availability of `libpcre` being available on the build platform.
 This would remove the 30,000 lines of C but introduce an extra dependency.

 Secondly I can strip the `pcre` Haskell bindings down to the bare
 essentials that I actually use. This would be a very small subset of the
 current code. But would also mean that if you want to extend this and need
 any features I didn't need before from the lib the code would have to be
 re-introduced.

 Also when doing this I found a few lines of dead code and functions that I
 could never get the compiler to generate code to enter. Which makes me
 wonder if those parts are still needed to begin with.

 But in general, I agree, this may be more trouble then it's worth.
 Especially if the original goal was to reduce binary size.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by thoughtpolice):

 The goal wasn't to reduce binary size, it was to make it possible to not
 track `ghc-tarballs` as a git repository, because it's a useless git
 repository that we only need for MinGW during GHC's build, and updating it
 is painful and using it on Windows sucks.

 See here: https://phabricator.haskell.org/D339 - This patch actually
 completely removes the need for `ghc-tarballs` on Windows and instead lets
 Windows users download an appropriate binary package that is simply
 untarred into the root (IIRC). It also means it is far, far easier to test
 and update compilers that are required on Windows.

 The problem here is that it turns out we were relying on the MinGW tools
 to also have perl, so we could run `ghc-split` during the build process,
 because the libraries need it. Rewriting it in Haskell means we can drop
 `ghc-tarballs` which includes the whole of MinGW for just some builds of
 binutils, which is not only smaller, it's saner.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                   Owner:  Phyx-
            Type:  task              |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Driver            |                 Version:
      Resolution:                    |                Keywords:  perl
Operating System:  Windows           |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #8405             |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * related:   => #8405


Comment:

 See also #8405, where @olsner is trying to get rid of the splitter
 altogether.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
---------------------------------+----------------------------------------
        Reporter:  hvr           |                Owner:  Phyx-
            Type:  task          |               Status:  new
        Priority:  high          |            Milestone:  8.0.1
       Component:  Driver        |              Version:
      Resolution:                |             Keywords:  perl
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:  #8405         |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by mfdyck.google):

 So now as #8405 is closed, is this obsolete?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
---------------------------------+----------------------------------------
        Reporter:  hvr           |                Owner:  Phyx-
            Type:  task          |               Status:  new
        Priority:  high          |            Milestone:  8.0.1
       Component:  Driver        |              Version:
      Resolution:                |             Keywords:  perl
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:  #8405         |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by Phyx-):

 As I understood `--gc-sections` doesn't currently work on Windows due to a
 binutils bug. So we can't actually use it yet. Also I'm not sure the
 linker script issue has been solved, it's just been turned off because
 `--gc-sections` doesn't work anyway.

 So the PERL script is still there AFAIK, afterwards this issue can
 probably be about actually removing the script and perl bindist?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #9832: Get rid of PERL dependency of `ghc-split`

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#9832: Get rid of PERL dependency of `ghc-split`
---------------------------------+----------------------------------------
        Reporter:  hvr           |                Owner:  Phyx-
            Type:  task          |               Status:  new
        Priority:  normal        |            Milestone:  8.2.1
       Component:  Driver        |              Version:
      Resolution:                |             Keywords:  perl
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:  #8405         |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------
Changes (by bgamari):

 * priority:  high => normal
 * milestone:  8.0.1 => 8.2.1


Comment:

 This can wait.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9832#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
12