<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/readme-link-to-proposals</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>Link to ghc-proposals repo from README</title>
<updated>2021-11-11T19:33:34+00:00</updated>
<author>
<name>Richard Eisenberg</name>
<email>rae@richarde.dev</email>
</author>
<published>2021-11-11T19:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=5fb2cef4db3645705067c81681cdb01065e63ba1'/>
<id>5fb2cef4db3645705067c81681cdb01065e63ba1</id>
<content type='text'>
A potential contributor said that they weren't aware of
ghc-proposals. This might increase visibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A potential contributor said that they weren't aware of
ghc-proposals. This might increase visibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add regression test for #20598</title>
<updated>2021-11-11T12:23:14+00:00</updated>
<author>
<name>Sebastian Graf</name>
<email>sebastian.graf@kit.edu</email>
</author>
<published>2021-11-02T17:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=7cc6ebdfdcf37d25b5ce88a68a0181c6ec0f71dd'/>
<id>7cc6ebdfdcf37d25b5ce88a68a0181c6ec0f71dd</id>
<content type='text'>
Fixes #20598, which is mostly a duplicate of #18824 but for GHC 9.2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #20598, which is mostly a duplicate of #18824 but for GHC 9.2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Only pass -pie, -no-pie when linking</title>
<updated>2021-11-11T12:22:39+00:00</updated>
<author>
<name>Matthew Bauer</name>
<email>mjbauer95@gmail.com</email>
</author>
<published>2019-07-16T15:37:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=af653b5f8e1d81eeb28ecf730d41e4c83fe76241'/>
<id>af653b5f8e1d81eeb28ecf730d41e4c83fe76241</id>
<content type='text'>
Previously, these flags were passed when both compiling and linking
code. However, `-pie` and `-no-pie` are link-time-only options. Usually,
this does not cause issues, but when using Clang with `-Werror` set
results in errors:

    clang: error: argument unused during compilation: '-nopie' [-Werror,-Wunused-command-line-argument]

This is unused by Clang because this flag has no effect at compile time
(it’s called `-nopie` internally by Clang but called `-no-pie` in GHC
for compatibility with GCC). Just passing these flags at linking time
resolves this.

Additionally, update #15319 hack to look for `-pgml` instead.

Because of the main change, the value of `-pgmc` does not matter when
checking for the workaround of #15319. However, `-pgml` *does* still
matter as not all `-pgml` values support `-no-pie`.

To cover all potential values, we assume that no custom `-pgml` values
support `-no-pie`. This means that we run the risk of not using
`-no-pie` when it is otherwise necessary for in auto-hardened
toolchains! This could be a problem at some point, but this workaround
was already introduced in 8d008b71 and we might as well continue
supporting it.

Likewise, mark `-pgmc-supports-no-pie` as deprecated and create a new
`-pgml-supports-no-pie`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, these flags were passed when both compiling and linking
code. However, `-pie` and `-no-pie` are link-time-only options. Usually,
this does not cause issues, but when using Clang with `-Werror` set
results in errors:

    clang: error: argument unused during compilation: '-nopie' [-Werror,-Wunused-command-line-argument]

This is unused by Clang because this flag has no effect at compile time
(it’s called `-nopie` internally by Clang but called `-no-pie` in GHC
for compatibility with GCC). Just passing these flags at linking time
resolves this.

Additionally, update #15319 hack to look for `-pgml` instead.

Because of the main change, the value of `-pgmc` does not matter when
checking for the workaround of #15319. However, `-pgml` *does* still
matter as not all `-pgml` values support `-no-pie`.

To cover all potential values, we assume that no custom `-pgml` values
support `-no-pie`. This means that we run the risk of not using
`-no-pie` when it is otherwise necessary for in auto-hardened
toolchains! This could be a problem at some point, but this workaround
was already introduced in 8d008b71 and we might as well continue
supporting it.

Likewise, mark `-pgmc-supports-no-pie` as deprecated and create a new
`-pgml-supports-no-pie`.
</pre>
</div>
</content>
</entry>
<entry>
<title>driver: Use shared transitive dependency calculation in hptModulesBelow</title>
<updated>2021-11-11T12:22:03+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2021-11-08T17:28:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=4230e4fb8c12da16ad994a9af6b81ff755084bc6'/>
<id>4230e4fb8c12da16ad994a9af6b81ff755084bc6</id>
<content type='text'>
This saves a lot of repeated work on big dependency graphs.

-------------------------
Metric Decrease:
    MultiLayerModules
    T13719
-------------------------
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This saves a lot of repeated work on big dependency graphs.

-------------------------
Metric Decrease:
    MultiLayerModules
    T13719
-------------------------
</pre>
</div>
</content>
</entry>
<entry>
<title>driver: Cache the transitive dependency calculation in ModuleGraph</title>
<updated>2021-11-11T12:22:03+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2021-11-05T18:24:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=c2ed85cb1e2430c089e4d00c070a2bfa2d84a4ba'/>
<id>c2ed85cb1e2430c089e4d00c070a2bfa2d84a4ba</id>
<content type='text'>
Two reasons for this change:

1. Avoid computing the transitive dependencies when compiling each
   module, this can save a lot of repeated work.
2. More robust to forthcoming changes to support multiple home units.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two reasons for this change:

1. Avoid computing the transitive dependencies when compiling each
   module, this can save a lot of repeated work.
2. More robust to forthcoming changes to support multiple home units.
</pre>
</div>
</content>
</entry>
<entry>
<title>testsuite: Convert hole fit performance tests into proper perf tests</title>
<updated>2021-11-11T12:21:28+00:00</updated>
<author>
<name>Matthew Pickering</name>
<email>matthewtpickering@gmail.com</email>
</author>
<published>2021-11-05T17:09:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=11c9a469b8857ff49aa2f0744bec001a904761e9'/>
<id>11c9a469b8857ff49aa2f0744bec001a904761e9</id>
<content type='text'>
Fixes #20621
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #20621
</pre>
</div>
</content>
</entry>
<entry>
<title>Hadrian: fix building/registering of .dll libraries</title>
<updated>2021-11-10T23:20:17+00:00</updated>
<author>
<name>Sylvain Henry</name>
<email>sylvain@haskus.fr</email>
</author>
<published>2021-11-09T15:41:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=8c0aec38c129ca58c270f687e009a1c457fd0a10'/>
<id>8c0aec38c129ca58c270f687e009a1c457fd0a10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify hs-boot file default method restrictions</title>
<updated>2021-11-10T23:19:37+00:00</updated>
<author>
<name>sheaf</name>
<email>sam.derbyshire@gmail.com</email>
</author>
<published>2021-11-09T22:23:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=1540f556a4501056056eec7d45d3c9246e8213d9'/>
<id>1540f556a4501056056eec7d45d3c9246e8213d9</id>
<content type='text'>
  The user guide wrongly stated that default methods should not
  be included in hs-boot files. In fact, if the class is not left
  abstract (no methods, no superclass constraints, ...) then the
  defaults must be provided and match with those given in the .hs
  file.

  We add some tests for this, as there were no tests in the testsuite
  that gave rise to the "missing default methods" error.

  Fixes #20588
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  The user guide wrongly stated that default methods should not
  be included in hs-boot files. In fact, if the class is not left
  abstract (no methods, no superclass constraints, ...) then the
  defaults must be provided and match with those given in the .hs
  file.

  We add some tests for this, as there were no tests in the testsuite
  that gave rise to the "missing default methods" error.

  Fixes #20588
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements to rank_polymorphism.rst</title>
<updated>2021-11-10T23:18:59+00:00</updated>
<author>
<name>sheaf</name>
<email>sam.derbyshire@gmail.com</email>
</author>
<published>2021-11-09T10:12:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=dfb9913c530d9132700fd5252c763e43976ece45'/>
<id>dfb9913c530d9132700fd5252c763e43976ece45</id>
<content type='text'>
  - rename the function f4 to h1 for consistency with
    the naming convention
  - be more explicit about the difference between
      `Int -&gt; (forall a. a -&gt; a)`
    and
      `forall a. Int -&gt; (a -&gt; a)`
  - reorder the section to make it flow better

Fixes #20585
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - rename the function f4 to h1 for consistency with
    the naming convention
  - be more explicit about the difference between
      `Int -&gt; (forall a. a -&gt; a)`
    and
      `forall a. Int -&gt; (a -&gt; a)`
  - reorder the section to make it flow better

Fixes #20585
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Note [Function types]</title>
<updated>2021-11-10T23:18:19+00:00</updated>
<author>
<name>Richard Eisenberg</name>
<email>rae@richarde.dev</email>
</author>
<published>2021-06-04T21:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=c4cd13b8cf5c9bd693c787cac46d7e55dc742566'/>
<id>c4cd13b8cf5c9bd693c787cac46d7e55dc742566</id>
<content type='text'>
Close #19938.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #19938.
</pre>
</div>
</content>
</entry>
</feed>
