| 1 | 1 patch for repository /Users/mbolingbroke/Programming/Checkouts/ghc.head: |
|---|
| 2 | |
|---|
| 3 | Thu Apr 29 09:12:53 BST 2010 Max Bolingbroke <batterseapower@hotmail.com> |
|---|
| 4 | * Explicitly supply path to resources when invoking windres: fixes build with (at least) MingGW windres 2.17.50 |
|---|
| 5 | |
|---|
| 6 | New patches: |
|---|
| 7 | |
|---|
| 8 | [Explicitly supply path to resources when invoking windres: fixes build with (at least) MingGW windres 2.17.50 |
|---|
| 9 | Max Bolingbroke <batterseapower@hotmail.com>**20100429081253 |
|---|
| 10 | Ignore-this: 43175379b6fb2ffd0f480e9ed104ff50 |
|---|
| 11 | ] hunk ./driver/ghci/ghc.mk 44 |
|---|
| 12 | INSTALL_BINS += driver/ghci/dist/build/tmp/$(driver/ghci_dist_PROG_VER) |
|---|
| 13 | |
|---|
| 14 | driver/ghci/ghci.res : driver/ghci/ghci.rc driver/ghci/ghci.ico |
|---|
| 15 | - windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o driver/ghci/ghci.res -i driver/ghci/ghci.rc -O coff |
|---|
| 16 | + windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o driver/ghci/ghci.res -I driver/ghci/ -i driver/ghci/ghci.rc -O coff |
|---|
| 17 | |
|---|
| 18 | driver/ghci/dist/build/tmp/$(driver/ghci_dist_PROG_VER) : driver/ghci/dist/build/tmp/$(driver/ghci_dist_PROG) |
|---|
| 19 | "$(CP)" $< $@ |
|---|
| 20 | |
|---|
| 21 | Context: |
|---|
| 22 | |
|---|
| 23 | [workaround for #4003, fixes HEAD build with 6.12.2 |
|---|
| 24 | Simon Marlow <marlowsd@gmail.com>**20100426103428 |
|---|
| 25 | Ignore-this: c4bc445dc8052d4e6efef3f1daf63562 |
|---|
| 26 | ] |
|---|
| 27 | [Make sure all the clean rules are always included |
|---|
| 28 | Ian Lynagh <igloo@earth.li>**20100424181823 |
|---|
| 29 | In particular, this fixes a problem where stage3 bits weren't being cleaned |
|---|
| 30 | ] |
|---|
| 31 | [Correct the name of the amd64/FreeBSD platform in PlatformSupportsSharedLibs |
|---|
| 32 | Ian Lynagh <igloo@earth.li>**20100424132830 |
|---|
| 33 | We weren't getting sharedlibs on amd64/FreeBSD because of this |
|---|
| 34 | ] |
|---|
| 35 | [Include DPH docs in bindists |
|---|
| 36 | Ian Lynagh <igloo@earth.li>**20100424123101] |
|---|
| 37 | [reinstate eta-expansion during SimplGently, to fix inlining of sequence_ |
|---|
| 38 | Simon Marlow <marlowsd@gmail.com>**20100423124853 |
|---|
| 39 | Ignore-this: 4fa0fd5bafe0d6b58fc81076f50d5f8d |
|---|
| 40 | ] |
|---|
| 41 | [fix 64-bit value for W_SHIFT, which thankfully appears to be not used |
|---|
| 42 | Simon Marlow <marlowsd@gmail.com>**20100422213605 |
|---|
| 43 | Ignore-this: 525c062d2456c224ec8d0e083edd3b55 |
|---|
| 44 | ] |
|---|
| 45 | [Add missing constant folding and optimisation for unsigned division |
|---|
| 46 | Simon Marlow <marlowsd@gmail.com>**20100422213443 |
|---|
| 47 | Ignore-this: fb10d1cda0852fab0cbcb47247498fb3 |
|---|
| 48 | Noticed by Denys Rtveliashvili <rtvd@mac.com>, see #4004 |
|---|
| 49 | ] |
|---|
| 50 | [Fix the GHC API link in the main doc index.html |
|---|
| 51 | Ian Lynagh <igloo@earth.li>**20100422213226] |
|---|
| 52 | [Give the right exit code in darcs-all |
|---|
| 53 | Ian Lynagh <igloo@earth.li>**20100421171339 |
|---|
| 54 | Our END block was calling system, which alters $?. So now we save and |
|---|
| 55 | restore it. |
|---|
| 56 | ] |
|---|
| 57 | [Use StgWord64 instead of ullong |
|---|
| 58 | Ian Lynagh <igloo@earth.li>**20100421162336 |
|---|
| 59 | This patch also fixes ullong_format_string (renamed to showStgWord64) |
|---|
| 60 | so that it works with values outside the 32bit range (trac #3979), and |
|---|
| 61 | simplifies the without-commas case. |
|---|
| 62 | ] |
|---|
| 63 | [Implement try10Times in Makefile |
|---|
| 64 | Ian Lynagh <igloo@earth.li>**20100420165909 |
|---|
| 65 | Avoid using seq, as FreeBSD has jot instead. |
|---|
| 66 | ] |
|---|
| 67 | [Fix crash in non-threaded RTS on Windows |
|---|
| 68 | Simon Marlow <marlowsd@gmail.com>**20100420122125 |
|---|
| 69 | Ignore-this: 28b0255a914a8955dce02d89a7dfaca |
|---|
| 70 | The tso->block_info field is now overwritten by pushOnRunQueue(), but |
|---|
| 71 | stg_block_async_info was assuming that it still held a pointer to the |
|---|
| 72 | StgAsyncIOResult. We must therefore save this value somewhere safe |
|---|
| 73 | before putting the TSO on the run queue. |
|---|
| 74 | ] |
|---|
| 75 | [Expand the scope of the event_buf_mutex to cover io_manager_event |
|---|
| 76 | Simon Marlow <marlowsd@gmail.com>**20100420122026 |
|---|
| 77 | Ignore-this: 185a6d84f7d4a35997f10803f6dacef1 |
|---|
| 78 | I once saw a failure that I think was due to a race on |
|---|
| 79 | io_manager_event, this should fix it. |
|---|
| 80 | ] |
|---|
| 81 | [Flags -auto and -auto-all operate only on functions not marked INLINE. |
|---|
| 82 | Milan Straka <fox@ucw.cz>**20100331191050 |
|---|
| 83 | Ignore-this: 3b63580cfcb3c33d62ad697c36d94d05 |
|---|
| 84 | ] |
|---|
| 85 | [Spelling correction for LANGUAGE pragmas |
|---|
| 86 | Max Bolingbroke <batterseapower@hotmail.com>**20100413192825 |
|---|
| 87 | Ignore-this: 311b51ba8d43f6c7fd32f48db9a88dee |
|---|
| 88 | ] |
|---|
| 89 | [Update the user guide so it talks about the newer "do rec" notation everywhere |
|---|
| 90 | Ian Lynagh <igloo@earth.li>**20100416205416 |
|---|
| 91 | Some of the problems highlighted in trac #3968. |
|---|
| 92 | ] |
|---|
| 93 | [Fix typo |
|---|
| 94 | Ian Lynagh <igloo@earth.li>**20100416205412] |
|---|
| 95 | [Fix Trac #3950: unifying types of different kinds |
|---|
| 96 | simonpj@microsoft.com**20100412151845 |
|---|
| 97 | Ignore-this: d145b9de5ced136ef2c39f3ea4a04f4a |
|---|
| 98 | |
|---|
| 99 | I was assuming that the unifer only unified types of the |
|---|
| 100 | same kind, but now we can "defer" unsolved constraints that |
|---|
| 101 | invariant no longer holds. Or at least is's more complicated |
|---|
| 102 | to ensure. |
|---|
| 103 | |
|---|
| 104 | This patch takes the path of not assuming the invariant, which |
|---|
| 105 | is simpler and more robust. See |
|---|
| 106 | Note [Mismatched type lists and application decomposition] |
|---|
| 107 | ] |
|---|
| 108 | [Fix Trac #3943: incorrect unused-variable warning |
|---|
| 109 | simonpj@microsoft.com**20100412151630 |
|---|
| 110 | Ignore-this: 52459f2b8b02c3cb120abe674dc9a060 |
|---|
| 111 | |
|---|
| 112 | In fixing this I did the usual little bit of refactoring |
|---|
| 113 | ] |
|---|
| 114 | [Convert boot and boot-pkgs to perl |
|---|
| 115 | Ian Lynagh <igloo@earth.li>**20100415143919 |
|---|
| 116 | This stops us having to worry about sh/sed/... portability. |
|---|
| 117 | ] |
|---|
| 118 | [Use $(MAKE), not make, when recursively calling make |
|---|
| 119 | Ian Lynagh <igloo@earth.li>**20100415121453] |
|---|
| 120 | [Remove the ghc_ge_609 makefile variables |
|---|
| 121 | Ian Lynagh <igloo@earth.li>**20100412235658 |
|---|
| 122 | They are now guaranteed to be YES |
|---|
| 123 | ] |
|---|
| 124 | [Increase the minimum version number required to 6.10 in configure.ac |
|---|
| 125 | Ian Lynagh <igloo@earth.li>**20100412235313] |
|---|
| 126 | [The bootstrapping compiler is now required to be > 609 |
|---|
| 127 | Ian Lynagh <igloo@earth.li>**20100409161046] |
|---|
| 128 | [Handle IND_STATIC in isRetainer |
|---|
| 129 | Ian Lynagh <igloo@earth.li>**20100409104207 |
|---|
| 130 | IND_STATIC used to be an error, but at the moment it can happen |
|---|
| 131 | as isAlive doesn't look through IND_STATIC as it ignores static |
|---|
| 132 | closures. See trac #3956 for a program that hit this error. |
|---|
| 133 | ] |
|---|
| 134 | [Add Data and Typeable instances to HsSyn |
|---|
| 135 | David Waern <david.waern@gmail.com>**20100330011020 |
|---|
| 136 | Ignore-this: c3f2717207b15539fea267c36b686e6a |
|---|
| 137 | |
|---|
| 138 | The instances (and deriving declarations) have been taken from the ghc-syb |
|---|
| 139 | package. |
|---|
| 140 | ] |
|---|
| 141 | [Fix for derefing ThreadRelocated TSOs in MVar operations |
|---|
| 142 | Simon Marlow <marlowsd@gmail.com>**20100407092824 |
|---|
| 143 | Ignore-this: 94dd7c68a6094eda667e2375921a8b78 |
|---|
| 144 | ] |
|---|
| 145 | [sanity check fix |
|---|
| 146 | Simon Marlow <marlowsd@gmail.com>**20100407092746 |
|---|
| 147 | Ignore-this: 9c18cd5f5393e5049015ca52e62a1269 |
|---|
| 148 | ] |
|---|
| 149 | [get the reg liveness right in the putMVar# heap check |
|---|
| 150 | Simon Marlow <marlowsd@gmail.com>**20100407092724 |
|---|
| 151 | Ignore-this: b1ba07a59ecfae00e9a1f8391741abc |
|---|
| 152 | ] |
|---|
| 153 | [initialise the headers of MSG_BLACKHOLE objects properly |
|---|
| 154 | Simon Marlow <marlowsd@gmail.com>**20100407081712 |
|---|
| 155 | Ignore-this: 183dcd0ca6a395d08db2be12b02bdd79 |
|---|
| 156 | ] |
|---|
| 157 | [initialise the headers of MVAR_TSO_QUEUE objects properly |
|---|
| 158 | Simon Marlow <marlowsd@gmail.com>**20100407081514 |
|---|
| 159 | Ignore-this: 4b4a2f30cf2fb69ca4128c41744687bb |
|---|
| 160 | ] |
|---|
| 161 | [undo debugging code |
|---|
| 162 | Simon Marlow <marlowsd@gmail.com>**20100406142740 |
|---|
| 163 | Ignore-this: 323c2248f817b6717c19180482fc4b00 |
|---|
| 164 | ] |
|---|
| 165 | [putMVar#: fix reg liveness in the heap check |
|---|
| 166 | Simon Marlow <marlowsd@gmail.com>**20100406135832 |
|---|
| 167 | Ignore-this: cddd2c7807ac7612c9b2c4c0d384d284 |
|---|
| 168 | ] |
|---|
| 169 | [account for the new BLACKHOLEs in the GHCi debugger |
|---|
| 170 | Simon Marlow <marlowsd@gmail.com>**20100406133406 |
|---|
| 171 | Ignore-this: 4d4aeb4bbada3f50dc1fb0123f565e8f |
|---|
| 172 | ] |
|---|
| 173 | [don't forget to deRefTSO() in tryWakeupThread() |
|---|
| 174 | Simon Marlow <marlowsd@gmail.com>**20100406130411 |
|---|
| 175 | Ignore-this: 171d57c4f8653835dec0b69f9be9881c |
|---|
| 176 | ] |
|---|
| 177 | [Fix bug in popRunQueue |
|---|
| 178 | Simon Marlow <marlowsd@gmail.com>**20100406091453 |
|---|
| 179 | Ignore-this: 9d3cec8f18f5c5cbd51751797386eb6f |
|---|
| 180 | ] |
|---|
| 181 | [fix bug in migrateThread() |
|---|
| 182 | Simon Marlow <marlowsd@gmail.com>**20100401105840 |
|---|
| 183 | Ignore-this: 299bcf0d1ea0f8865f3e845eb93d2ad3 |
|---|
| 184 | ] |
|---|
| 185 | [Remove the IND_OLDGEN and IND_OLDGEN_PERM closure types |
|---|
| 186 | Simon Marlow <marlowsd@gmail.com>**20100401093519 |
|---|
| 187 | Ignore-this: 95f2480c8a45139835eaf5610217780b |
|---|
| 188 | These are no longer used: once upon a time they used to have different |
|---|
| 189 | layout from IND and IND_PERM respectively, but that is no longer the |
|---|
| 190 | case since we changed the remembered set to be an array of addresses |
|---|
| 191 | instead of a linked list of closures. |
|---|
| 192 | ] |
|---|
| 193 | [Change the representation of the MVar blocked queue |
|---|
| 194 | Simon Marlow <marlowsd@gmail.com>**20100401091605 |
|---|
| 195 | Ignore-this: 20a35bfabacef2674df362905d7834fa |
|---|
| 196 | |
|---|
| 197 | The list of threads blocked on an MVar is now represented as a list of |
|---|
| 198 | separately allocated objects rather than being linked through the TSOs |
|---|
| 199 | themselves. This lets us remove a TSO from the list in O(1) time |
|---|
| 200 | rather than O(n) time, by marking the list object. Removing this |
|---|
| 201 | linear component fixes some pathalogical performance cases where many |
|---|
| 202 | threads were blocked on an MVar and became unreachable simultaneously |
|---|
| 203 | (nofib/smp/threads007), or when sending an asynchronous exception to a |
|---|
| 204 | TSO in a long list of thread blocked on an MVar. |
|---|
| 205 | |
|---|
| 206 | MVar performance has actually improved by a few percent as a result of |
|---|
| 207 | this change, slightly to my surprise. |
|---|
| 208 | |
|---|
| 209 | This is the final cleanup in the sequence, which let me remove the old |
|---|
| 210 | way of waking up threads (unblockOne(), MSG_WAKEUP) in favour of the |
|---|
| 211 | new way (tryWakeupThread and MSG_TRY_WAKEUP, which is idempotent). It |
|---|
| 212 | is now the case that only the Capability that owns a TSO may modify |
|---|
| 213 | its state (well, almost), and this simplifies various things. More of |
|---|
| 214 | the RTS is based on message-passing between Capabilities now. |
|---|
| 215 | ] |
|---|
| 216 | [eliminate some duplication with a bit of CPP |
|---|
| 217 | Simon Marlow <marlowsd@gmail.com>**20100330154355 |
|---|
| 218 | Ignore-this: 838f7d341f096ca14c86ab9c81193e36 |
|---|
| 219 | ] |
|---|
| 220 | [Make ioManagerDie() idempotent |
|---|
| 221 | Simon Marlow <marlowsd@gmail.com>**20100401100705 |
|---|
| 222 | Ignore-this: a5996b43cdb2e2d72e6e971d7ea925fb |
|---|
| 223 | Avoids screeds of "event buffer overflowed; event dropped" in |
|---|
| 224 | conc059(threaded1). |
|---|
| 225 | ] |
|---|
| 226 | [Move a thread to the front of the run queue when another thread blocks on it |
|---|
| 227 | Simon Marlow <marlowsd@gmail.com>**20100329144521 |
|---|
| 228 | Ignore-this: c518ff0d41154680edc811d891826a29 |
|---|
| 229 | This fixes #3838, and was made possible by the new BLACKHOLE |
|---|
| 230 | infrastructure. To allow reording of the run queue I had to make it |
|---|
| 231 | doubly-linked, which entails some extra trickiness with regard to |
|---|
| 232 | GC write barriers and suchlike. |
|---|
| 233 | ] |
|---|
| 234 | [remove non-existent MUT_CONS symbols |
|---|
| 235 | Simon Marlow <marlowsd@gmail.com>**20100330152600 |
|---|
| 236 | Ignore-this: 885628257a9d03f2ece2a754d993014a |
|---|
| 237 | ] |
|---|
| 238 | [change throwTo to use tryWakeupThread rather than unblockOne |
|---|
| 239 | Simon Marlow <marlowsd@gmail.com>**20100329144613 |
|---|
| 240 | Ignore-this: 10ad4965e6c940db71253f1c72218bbb |
|---|
| 241 | ] |
|---|
| 242 | [tiny GC optimisation |
|---|
| 243 | Simon Marlow <marlowsd@gmail.com>**20100329144551 |
|---|
| 244 | Ignore-this: 9e095b9b73fff0aae726f9937846ba92 |
|---|
| 245 | ] |
|---|
| 246 | [New implementation of BLACKHOLEs |
|---|
| 247 | Simon Marlow <marlowsd@gmail.com>**20100329144456 |
|---|
| 248 | Ignore-this: 96cd26793b4e6ab9ddd0d59aae5c2f1d |
|---|
| 249 | |
|---|
| 250 | This replaces the global blackhole_queue with a clever scheme that |
|---|
| 251 | enables us to queue up blocked threads on the closure that they are |
|---|
| 252 | blocked on, while still avoiding atomic instructions in the common |
|---|
| 253 | case. |
|---|
| 254 | |
|---|
| 255 | Advantages: |
|---|
| 256 | |
|---|
| 257 | - gets rid of a locked global data structure and some tricky GC code |
|---|
| 258 | (replacing it with some per-thread data structures and different |
|---|
| 259 | tricky GC code :) |
|---|
| 260 | |
|---|
| 261 | - wakeups are more prompt: parallel/concurrent performance should |
|---|
| 262 | benefit. I haven't seen anything dramatic in the parallel |
|---|
| 263 | benchmarks so far, but a couple of threading benchmarks do improve |
|---|
| 264 | a bit. |
|---|
| 265 | |
|---|
| 266 | - waking up a thread blocked on a blackhole is now O(1) (e.g. if |
|---|
| 267 | it is the target of throwTo). |
|---|
| 268 | |
|---|
| 269 | - less sharing and better separation of Capabilities: communication |
|---|
| 270 | is done with messages, the data structures are strictly owned by a |
|---|
| 271 | Capability and cannot be modified except by sending messages. |
|---|
| 272 | |
|---|
| 273 | - this change will utlimately enable us to do more intelligent |
|---|
| 274 | scheduling when threads block on each other. This is what started |
|---|
| 275 | off the whole thing, but it isn't done yet (#3838). |
|---|
| 276 | |
|---|
| 277 | I'll be documenting all this on the wiki in due course. |
|---|
| 278 | |
|---|
| 279 | ] |
|---|
| 280 | [Fix warnings (allow pushOnRunQueue() to not be inlined) |
|---|
| 281 | Simon Marlow <marlowsd@gmail.com>**20100401114559 |
|---|
| 282 | Ignore-this: f40bfbfad70a5165a946d11371605b7d |
|---|
| 283 | ] |
|---|
| 284 | [remove out of date comment |
|---|
| 285 | Simon Marlow <marlowsd@gmail.com>**20100401105853 |
|---|
| 286 | Ignore-this: 26af88dd418ee0bcda7223b3b7e4e8d2 |
|---|
| 287 | ] |
|---|
| 288 | [tidy up spacing in stderr traces |
|---|
| 289 | Simon Marlow <marlowsd@gmail.com>**20100326163122 |
|---|
| 290 | Ignore-this: 16558b0433a274be217d4bf39aa4946 |
|---|
| 291 | ] |
|---|
| 292 | [Fix an assertion that was not safe when running in parallel |
|---|
| 293 | Simon Marlow <marlowsd@gmail.com>**20100325143656 |
|---|
| 294 | Ignore-this: cad08fb8900eb3a475547af0189fcc47 |
|---|
| 295 | ] |
|---|
| 296 | [Never jump directly to a thunk's entry code, even if it is single-entry |
|---|
| 297 | Simon Marlow <marlowsd@gmail.com>**20100325114847 |
|---|
| 298 | Ignore-this: 938da172c06a97762ef605c8fccfedf1 |
|---|
| 299 | I don't think this fixes any bugs as we don't have single-entry thunks |
|---|
| 300 | at the moment, but it could cause problems for parallel execution if |
|---|
| 301 | we ever did re-introduce update avoidance. |
|---|
| 302 | ] |
|---|
| 303 | [Rename forgotten -dverbose-simpl to -dverbose-core2core in the docs. |
|---|
| 304 | Milan Straka <fox@ucw.cz>**20100331153626 |
|---|
| 305 | Ignore-this: 2da58477fb96e1cfb80f37dddd7c422c |
|---|
| 306 | ] |
|---|
| 307 | [Add -pa and -V to the documentation of time profiling options. |
|---|
| 308 | Milan Straka <fox@ucw.cz>**20100329191121 |
|---|
| 309 | Ignore-this: be74d216481ec5a19e5f40f85e6e3d65 |
|---|
| 310 | ] |
|---|
| 311 | [Keep gcc 4.5 happy |
|---|
| 312 | Simon Marlow <marlowsd@gmail.com>**20100330120425 |
|---|
| 313 | Ignore-this: 7811878cc2bd1ce9cfbb5bf102fe3454 |
|---|
| 314 | ] |
|---|
| 315 | [Fix warning compiling Linker.c for PPC Mac |
|---|
| 316 | naur@post11.tele.dk**20100403182355 |
|---|
| 317 | Ignore-this: e2d2448770c9714ce17dd6cf3e297063 |
|---|
| 318 | The warning message eliminated is: |
|---|
| 319 | > rts/Linker.c:4756:0: |
|---|
| 320 | > warning: nested extern declaration of 'symbolsWithoutUnderscore' |
|---|
| 321 | ] |
|---|
| 322 | [Fix error compiling AsmCodeGen.lhs for PPC Mac (mkRtsCodeLabel) |
|---|
| 323 | naur@post11.tele.dk**20100403181656 |
|---|
| 324 | Ignore-this: deb7524ea7852a15a2ac0849c8c82f74 |
|---|
| 325 | The error messages eliminated are: |
|---|
| 326 | > compiler/nativeGen/AsmCodeGen.lhs:875:31: |
|---|
| 327 | > Not in scope: `mkRtsCodeLabel' |
|---|
| 328 | > compiler/nativeGen/AsmCodeGen.lhs:879:31: |
|---|
| 329 | > Not in scope: `mkRtsCodeLabel' |
|---|
| 330 | > compiler/nativeGen/AsmCodeGen.lhs:883:31: |
|---|
| 331 | > Not in scope: `mkRtsCodeLabel' |
|---|
| 332 | ] |
|---|
| 333 | [Fix error compiling AsmCodeGen.lhs for PPC Mac (DestBlockId) |
|---|
| 334 | naur@post11.tele.dk**20100403180643 |
|---|
| 335 | Ignore-this: 71e833e94ed8371b2ffabc2cf80bf585 |
|---|
| 336 | The error message eliminated is: |
|---|
| 337 | > compiler/nativeGen/AsmCodeGen.lhs:637:16: |
|---|
| 338 | > Not in scope: data constructor `DestBlockId' |
|---|
| 339 | ] |
|---|
| 340 | [Fix boot-pkgs's sed usage to work with Solaris's sed |
|---|
| 341 | Ian Lynagh <igloo@earth.li>**20100401153441] |
|---|
| 342 | [Pass "-i org.haskell.GHC" to packagemaker when building the OS X installer |
|---|
| 343 | Ian Lynagh <igloo@earth.li>**20100331144707 |
|---|
| 344 | This seems to fix this failure: |
|---|
| 345 | [...] |
|---|
| 346 | ** BUILD SUCCEEDED ** |
|---|
| 347 | rm -f -f GHC-system.pmdoc/*-contents.xml |
|---|
| 348 | /Developer/usr/bin/packagemaker -v --doc GHC-system.pmdoc\ |
|---|
| 349 | -o /Users/ian/to_release/ghc-6.12.1.20100330/GHC-6.12.1.20100330-i386.pkg |
|---|
| 350 | 2010-03-31 15:08:15.695 packagemaker[13909:807] Setting to : 0 (null) |
|---|
| 351 | 2010-03-31 15:08:15.709 packagemaker[13909:807] Setting to : 0 org.haskell.glasgowHaskellCompiler.ghc.pkg |
|---|
| 352 | 2010-03-31 15:08:15.739 packagemaker[13909:807] relocate: (null) 0 |
|---|
| 353 | 2010-03-31 15:08:15.740 packagemaker[13909:807] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSXMLDocument initWithXMLString:options:error:]: nil argument' |
|---|
| 354 | 2010-03-31 15:08:15.741 packagemaker[13909:807] Stack: ( |
|---|
| 355 | 2511962091, |
|---|
| 356 | 2447007291, |
|---|
| 357 | 2511961547, |
|---|
| 358 | 2511961610, |
|---|
| 359 | 2432803204, |
|---|
| 360 | 453371, |
|---|
| 361 | 447720, |
|---|
| 362 | 436209, |
|---|
| 363 | 435510, |
|---|
| 364 | 9986, |
|---|
| 365 | 9918 |
|---|
| 366 | ) |
|---|
| 367 | make[1]: *** [framework-pkg] Trace/BPT trap |
|---|
| 368 | make: *** [framework-pkg] Error 2 |
|---|
| 369 | ] |
|---|
| 370 | [Use machdepCCOpts when compiling the file to toggle -(no-)rtsopts |
|---|
| 371 | Ian Lynagh <igloo@earth.li>**20100331161302 |
|---|
| 372 | Should fix toggling on OS X "Snow Leopard". Diagnosed by Roman Leshchinskiy. |
|---|
| 373 | ] |
|---|
| 374 | [Avoid a non-portable use of tar reported by Roman Leshchinskiy |
|---|
| 375 | Ian Lynagh <igloo@earth.li>**20100330145802] |
|---|
| 376 | [Don't install EXTRA_PACKAGES by default |
|---|
| 377 | Simon Marlow <marlowsd@gmail.com>**20100330142714 |
|---|
| 378 | Ignore-this: d4cc8f87a6de8d9d1d6dc9b77130b3 |
|---|
| 379 | ] |
|---|
| 380 | [fix a non-portable printf format |
|---|
| 381 | Simon Marlow <marlowsd@gmail.com>**20100330134437 |
|---|
| 382 | Ignore-this: d41c23c54ec29654cb2049de1e588570 |
|---|
| 383 | ] |
|---|
| 384 | [avoid single quote in #error |
|---|
| 385 | Simon Marlow <marlowsd@gmail.com>**20100330120346 |
|---|
| 386 | Ignore-this: 663f39e7a27fead2f648fbf22d345bb4 |
|---|
| 387 | ] |
|---|
| 388 | [use FMT_Word64 instead of locally-defined version |
|---|
| 389 | Simon Marlow <marlowsd@gmail.com>**20100330114650 |
|---|
| 390 | Ignore-this: 82697b8095dffb3a8e196c687006ece0 |
|---|
| 391 | ] |
|---|
| 392 | [remove old/unused DotnetSupport and GhcLibsWithUnix |
|---|
| 393 | Simon Marlow <marlowsd@gmail.com>**20100330123732 |
|---|
| 394 | Ignore-this: c68814868b3671abdc369105bbeafe6c |
|---|
| 395 | ] |
|---|
| 396 | [fix return type cast in f.i.wrapper when using libffi (#3516) |
|---|
| 397 | Simon Marlow <marlowsd@gmail.com>**20100329154220 |
|---|
| 398 | Ignore-this: f898eb8c9ae2ca2009e539735b92c438 |
|---|
| 399 | |
|---|
| 400 | Original fix submitted by |
|---|
| 401 | Sergei Trofimovich <slyfox@community.haskell.org> |
|---|
| 402 | modified by me: |
|---|
| 403 | - exclude 64-bit types |
|---|
| 404 | - compare uniques, not strings |
|---|
| 405 | - #include "ffi.h" is conditional |
|---|
| 406 | ] |
|---|
| 407 | [libffi: install 'ffitarget.h' header as sole 'ffi.h' is unusable |
|---|
| 408 | Simon Marlow <marlowsd@gmail.com>**20100329135734 |
|---|
| 409 | Ignore-this: f9b555ea289d8df1aa22cb6faa219a39 |
|---|
| 410 | Submitted by: Sergei Trofimovich <slyfox@community.haskell.org> |
|---|
| 411 | Re-recorded against HEAD. |
|---|
| 412 | ] |
|---|
| 413 | [avoid a fork deadlock (see comments) |
|---|
| 414 | Simon Marlow <marlowsd@gmail.com>**20100329132329 |
|---|
| 415 | Ignore-this: 3377f88b83bb3b21e42d7fc5f0d866f |
|---|
| 416 | ] |
|---|
| 417 | [tidy up the end of the all_tasks list after forking |
|---|
| 418 | Simon Marlow <marlowsd@gmail.com>**20100329132253 |
|---|
| 419 | Ignore-this: 819d679875be5f344e816210274d1c29 |
|---|
| 420 | ] |
|---|
| 421 | [Add a 'setKeepCAFs' external function (#3900) |
|---|
| 422 | Simon Marlow <marlowsd@gmail.com>**20100329110036 |
|---|
| 423 | Ignore-this: ec532a18cad4259a09847b0b9ae2e1d2 |
|---|
| 424 | ] |
|---|
| 425 | [Explicitly check whether ar supports the @file syntax |
|---|
| 426 | Ian Lynagh <igloo@earth.li>**20100329123325 |
|---|
| 427 | rather than assuming that all GNU ar's do. |
|---|
| 428 | Apparently OpenBSD's older version doesn't. |
|---|
| 429 | ] |
|---|
| 430 | [Fix the format specifier for Int64/Word64 on Windows |
|---|
| 431 | Ian Lynagh <igloo@earth.li>**20100327182126 |
|---|
| 432 | mingw doesn't understand %llu/%lld - it treats them as 32-bit rather |
|---|
| 433 | than 64-bit. We use %I64u/%I64d instead. |
|---|
| 434 | ] |
|---|
| 435 | [Fix the ghci startmenu item |
|---|
| 436 | Ian Lynagh <igloo@earth.li>**20100326235934 |
|---|
| 437 | I'm not sure what changed, but it now doesn't work for me without |
|---|
| 438 | the "Start in" field being set. |
|---|
| 439 | ] |
|---|
| 440 | [Fix paths to docs in "Start Menu" entries in Windows installer; fixes #3847 |
|---|
| 441 | Ian Lynagh <igloo@earth.li>**20100326155917] |
|---|
| 442 | [Add a licence file for the Windows installer to use |
|---|
| 443 | Ian Lynagh <igloo@earth.li>**20100326155130] |
|---|
| 444 | [Add gcc-g++ to the inplace mingw installation; fixes #3893 |
|---|
| 445 | Ian Lynagh <igloo@earth.li>**20100326154714] |
|---|
| 446 | [Add the licence file to the Windows installer. Fixes #3934 |
|---|
| 447 | Ian Lynagh <igloo@earth.li>**20100326152449] |
|---|
| 448 | [Quote the paths to alex and happy in configure |
|---|
| 449 | Ian Lynagh <igloo@earth.li>**20100325143449 |
|---|
| 450 | Ignore-this: d6d6e1a250f88985bbeea760e63a79db |
|---|
| 451 | ] |
|---|
| 452 | [Use </> rather than ++ "/" |
|---|
| 453 | Ian Lynagh <igloo@earth.li>**20100325133237 |
|---|
| 454 | This stops us generating paths like |
|---|
| 455 | c:\foo\/ghc460_0/ghc460_0.o |
|---|
| 456 | which windres doesn't understand. |
|---|
| 457 | ] |
|---|
| 458 | [Append $(exeext) to utils/ghc-pkg_dist_PROG |
|---|
| 459 | Ian Lynagh <igloo@earth.li>**20100324233447 |
|---|
| 460 | Fixes bindist creation |
|---|
| 461 | ] |
|---|
| 462 | [A sanity check |
|---|
| 463 | Simon Marlow <marlowsd@gmail.com>**20100325110500 |
|---|
| 464 | Ignore-this: 3b3b76d898c822456857e506b7531e65 |
|---|
| 465 | ] |
|---|
| 466 | [do_checks: do not set HpAlloc if the stack check fails |
|---|
| 467 | Simon Marlow <marlowsd@gmail.com>**20100325110328 |
|---|
| 468 | Ignore-this: 899ac8c29ca975d03952dbf4608d758 |
|---|
| 469 | |
|---|
| 470 | This fixes a very rare heap corruption bug, whereby |
|---|
| 471 | |
|---|
| 472 | - a context switch is requested, which sets HpLim to zero |
|---|
| 473 | (contextSwitchCapability(), called by the timer signal or |
|---|
| 474 | another Capability). |
|---|
| 475 | |
|---|
| 476 | - simultaneously a stack check fails, in a code fragment that has |
|---|
| 477 | both a stack and a heap check. |
|---|
| 478 | |
|---|
| 479 | The RTS then assumes that a heap-check failure has occurred and |
|---|
| 480 | subtracts HpAlloc from Hp, although in fact it was a stack-check |
|---|
| 481 | failure and retreating Hp will overwrite valid heap objects. The bug |
|---|
| 482 | is that HpAlloc should only be set when Hp has been incremented by the |
|---|
| 483 | heap check. See comments in rts/HeapStackCheck.cmm for more details. |
|---|
| 484 | |
|---|
| 485 | This bug is probably incredibly rare in practice, but I happened to be |
|---|
| 486 | working on a test that triggers it reliably: |
|---|
| 487 | concurrent/should_run/throwto001, compiled with -O -threaded, args 30 |
|---|
| 488 | 300 +RTS -N2, run repeatedly in a loop. |
|---|
| 489 | ] |
|---|
| 490 | [comments and formatting only |
|---|
| 491 | Simon Marlow <marlowsd@gmail.com>**20100325104617 |
|---|
| 492 | Ignore-this: c0a211e15b5953bb4a84771bcddd1d06 |
|---|
| 493 | ] |
|---|
| 494 | [Change how perl scripts get installed; partially fixes #3863 |
|---|
| 495 | Ian Lynagh <igloo@earth.li>**20100324171422 |
|---|
| 496 | We now regenerate them when installing, which means the path for perl |
|---|
| 497 | doesn't get baked in |
|---|
| 498 | ] |
|---|
| 499 | [Pass the location of gcc in the ghc wrapper script; partially fixes #3863 |
|---|
| 500 | Ian Lynagh <igloo@earth.li>**20100324171408 |
|---|
| 501 | This means we don't rely on baking a path to gcc into the executable |
|---|
| 502 | ] |
|---|
| 503 | [Quote the ar path in configure |
|---|
| 504 | Ian Lynagh <igloo@earth.li>**20100324162043] |
|---|
| 505 | [Remove unused cUSER_WAY_NAMES cUSER_WAY_OPTS |
|---|
| 506 | Ian Lynagh <igloo@earth.li>**20100324145048] |
|---|
| 507 | [Remove unused cCONTEXT_DIFF |
|---|
| 508 | Ian Lynagh <igloo@earth.li>**20100324145013] |
|---|
| 509 | [Remove unused cEnableWin32DLLs |
|---|
| 510 | Ian Lynagh <igloo@earth.li>**20100324144841] |
|---|
| 511 | [Remove unused cGHC_CP |
|---|
| 512 | Ian Lynagh <igloo@earth.li>**20100324144656] |
|---|
| 513 | [Fix the build for non-GNU-ar |
|---|
| 514 | Ian Lynagh <igloo@earth.li>**20100324132907] |
|---|
| 515 | [Tweak the Makefile code for making .a libs; fixes trac #3642 |
|---|
| 516 | Ian Lynagh <igloo@earth.li>**20100323221325 |
|---|
| 517 | The main change is that, rather than using "xargs ar" we now put |
|---|
| 518 | all the filenames into a file, and do "ar @file". This means that |
|---|
| 519 | ar adds all the files at once, which works around a problem where |
|---|
| 520 | files with the same basename in a later invocation were overwriting |
|---|
| 521 | the existing file in the .a archive. |
|---|
| 522 | ] |
|---|
| 523 | [Enable shared libraries on Windows; fixes trac #3879 |
|---|
| 524 | Ian Lynagh <igloo@earth.li>**20100320231414 |
|---|
| 525 | Ignore-this: c93b35ec5b7a7fa6ddb286d17a616216 |
|---|
| 526 | ] |
|---|
| 527 | [Add the external core PDF to the new build system |
|---|
| 528 | Ian Lynagh <igloo@earth.li>**20100321161909] |
|---|
| 529 | [Allow specifying $threads directly when validating |
|---|
| 530 | Ian Lynagh <igloo@earth.li>**20100321112835] |
|---|
| 531 | [Remove LazyUniqFM; fixes trac #3880 |
|---|
| 532 | Ian Lynagh <igloo@earth.li>**20100320213837] |
|---|
| 533 | [UNDO: slight improvement to scavenging ... |
|---|
| 534 | Simon Marlow <marlowsd@gmail.com>**20100319153413 |
|---|
| 535 | Ignore-this: f0ab581c07361f7b57eae02dd6ec893c |
|---|
| 536 | |
|---|
| 537 | Accidnetally pushed this patch which, while it validates, isn't |
|---|
| 538 | correct. |
|---|
| 539 | |
|---|
| 540 | rolling back: |
|---|
| 541 | |
|---|
| 542 | Fri Mar 19 11:21:27 GMT 2010 Simon Marlow <marlowsd@gmail.com> |
|---|
| 543 | * slight improvement to scavenging of update frames when a collision has occurred |
|---|
| 544 | |
|---|
| 545 | M ./rts/sm/Scav.c -19 +15 |
|---|
| 546 | ] |
|---|
| 547 | [slight improvement to scavenging of update frames when a collision has occurred |
|---|
| 548 | Simon Marlow <marlowsd@gmail.com>**20100319112127 |
|---|
| 549 | Ignore-this: 6de2bb9614978975f17764a0f259d9bf |
|---|
| 550 | ] |
|---|
| 551 | [Don't install the utf8-string package |
|---|
| 552 | Ian Lynagh <igloo@earth.li>**20100317212709] |
|---|
| 553 | [Don't use -Bsymbolic when linking the RTS |
|---|
| 554 | Ian Lynagh <igloo@earth.li>**20100316233357 |
|---|
| 555 | This makes the RTS hooks work when doing dynamic linking |
|---|
| 556 | ] |
|---|
| 557 | [Fix Trac #3920: Template Haskell kinds |
|---|
| 558 | simonpj@microsoft.com**20100317123519 |
|---|
| 559 | Ignore-this: 426cac7920446e04f3cc30bd1d9f76e2 |
|---|
| 560 | |
|---|
| 561 | Fix two places where we were doing foldl instead of foldr |
|---|
| 562 | after decomposing a Kind. Strange that the same bug appears |
|---|
| 563 | in two quite different places! |
|---|
| 564 | ] |
|---|
| 565 | [copy_tag_nolock(): fix write ordering and add a write_barrier() |
|---|
| 566 | Simon Marlow <marlowsd@gmail.com>**20100316143103 |
|---|
| 567 | Ignore-this: ab7ca42904f59a0381ca24f3eb38d314 |
|---|
| 568 | |
|---|
| 569 | Fixes a rare crash in the parallel GC. |
|---|
| 570 | |
|---|
| 571 | If we copy a closure non-atomically during GC, as we do for all |
|---|
| 572 | immutable values, then before writing the forwarding pointer we better |
|---|
| 573 | make sure that the closure itself is visible to other threads that |
|---|
| 574 | might follow the forwarding pointer. I imagine this doesn't happen |
|---|
| 575 | very often, but I just found one case of it: in scavenge_stack, the |
|---|
| 576 | RET_FUN case, after evacuating ret_fun->fun we then follow it and look |
|---|
| 577 | up the info pointer. |
|---|
| 578 | ] |
|---|
| 579 | [Add sliceP mapping to vectoriser builtins |
|---|
| 580 | benl@ouroborus.net**20100316060517 |
|---|
| 581 | Ignore-this: 54c3cafff584006b6fbfd98124330aa3 |
|---|
| 582 | ] |
|---|
| 583 | [Comments only |
|---|
| 584 | benl@ouroborus.net**20100311064518 |
|---|
| 585 | Ignore-this: d7dc718cc437d62aa5b1b673059a9b22 |
|---|
| 586 | ] |
|---|
| 587 | [TAG 2010-03-16 |
|---|
| 588 | Ian Lynagh <igloo@earth.li>**20100316005137 |
|---|
| 589 | Ignore-this: 234e3bc29e2f26cc59d7b03d780cc352 |
|---|
| 590 | ] |
|---|
| 591 | Patch bundle hash: |
|---|
| 592 | d1a346b3da64e191ee9000b6b63fe4ce3a6bbb27 |
|---|