watashi (Zejun Wu)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 24 2015, 10:18 PM (189 w, 5 d)

Recent Activity

Tue, Dec 11

watashi updated the diff for D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.

rebase and rerun tests

Tue, Dec 11, 6:31 PM

Mon, Dec 10

watashi created D5433: Introduce GhciMonad and generalize types of functions in GHCi.UI.
Mon, Dec 10, 2:18 PM

Wed, Dec 5

watashi updated the diff for D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.

rebase onto recent Cabal release
@bgamari this handles .p_o now, see updated test plan

Wed, Dec 5, 11:20 PM
watashi updated the test plan for D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.
Wed, Dec 5, 11:17 PM

Mon, Dec 3

watashi added a child revision for D5388: Fix uninformative hp2ps error when the cmdline contains double quotes: D5407: cosmetic change: expandtab in utils/hp2ps/HpFile.c.
Mon, Dec 3, 9:46 PM
watashi added a parent revision for D5407: cosmetic change: expandtab in utils/hp2ps/HpFile.c: D5388: Fix uninformative hp2ps error when the cmdline contains double quotes.
Mon, Dec 3, 9:46 PM
watashi updated the diff for D5388: Fix uninformative hp2ps error when the cmdline contains double quotes.

rebase onto D5407: cosmetic change: expandtab in utils/hp2ps/HpFile.c and move ASSERT as @tdammers suggested

Mon, Dec 3, 4:09 PM
watashi created D5407: cosmetic change: expandtab in utils/hp2ps/HpFile.c.
Mon, Dec 3, 4:02 PM
watashi added inline comments to D5388: Fix uninformative hp2ps error when the cmdline contains double quotes.
Mon, Dec 3, 3:57 PM

Thu, Nov 29

watashi added a reviewer for D5395: Remove redundant include of Rts.h in EventLogWriter.h: alexbiehl.
Thu, Nov 29, 4:39 PM
watashi created D5395: Remove redundant include of Rts.h in EventLogWriter.h.
Thu, Nov 29, 4:29 PM

Wed, Nov 28

watashi updated the diff for D5288: Explicitly pass -fno-PIC to C compiler on linux.

add reference to track ticket in the comment

Wed, Nov 28, 3:44 PM

Tue, Nov 27

watashi created D5388: Fix uninformative hp2ps error when the cmdline contains double quotes.
Tue, Nov 27, 4:34 PM

Sat, Nov 24

watashi added a comment to rGHC390df8b51b91: Fix uninformative hp2ps error when the cmdline contains double quotes.

@bgamari do you mind provide the shell version info you are using for test? It seems to be imcompatibity of $’\n’. I will remove it from the test case.

Sat, Nov 24, 6:24 PM

Sun, Nov 18

watashi created D5349: Fix deadlock bug when mkFastStringWith is duplicated.
Sun, Nov 18, 12:09 AM

Fri, Nov 16

watashi added a comment to D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.

The cabal changes has been pushed to master and 2.4 branches on github: https://github.com/haskell/cabal/commits/2.4
But the 2.4 branch on haskell.org is still 2 weeks old: http://git.haskell.org/packages/Cabal.git/log/refs/heads/2.4
Is only master branch automatically synced?

Fri, Nov 16, 8:45 PM
watashi added a comment to D5289: Add a RTS option -xp to load PIC object anywhere in address space.

Can we still have this in ghc-8.8?

Fri, Nov 16, 7:29 PM
watashi updated the Trac tickets for D5346: Fix uninformative hp2ps error when the command args contains double quotes.
Fri, Nov 16, 3:11 PM
watashi created D5346: Fix uninformative hp2ps error when the command args contains double quotes.
Fri, Nov 16, 3:11 PM

Nov 9 2018

watashi updated the diff for D5289: Add a RTS option -xp to load PIC object anywhere in address space.

rebase

Nov 9 2018, 5:24 PM

Nov 2 2018

watashi added a comment to D5288: Explicitly pass -fno-PIC to C compiler on linux.

@simonmar I created tickets with more details:

Nov 2 2018, 1:32 PM
watashi updated the summary of D5288: Explicitly pass -fno-PIC to C compiler on linux.
Nov 2 2018, 1:20 PM

Oct 31 2018

watashi added a parent revision for D5233: Don't use X86_64_ELF_NONPIC_HACK for +RTS -xp: D5289: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 31 2018, 9:56 PM
watashi added a child revision for D5289: Add a RTS option -xp to load PIC object anywhere in address space: D5233: Don't use X86_64_ELF_NONPIC_HACK for +RTS -xp.
Oct 31 2018, 9:56 PM
watashi added a parent revision for D5290: Allocate bss section within proper range of other sections: D5289: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 31 2018, 9:55 PM
watashi added a child revision for D5289: Add a RTS option -xp to load PIC object anywhere in address space: D5290: Allocate bss section within proper range of other sections.
Oct 31 2018, 9:55 PM
watashi created D5290: Allocate bss section within proper range of other sections.
Oct 31 2018, 9:55 PM
watashi updated the diff for D5289: Add a RTS option -xp to load PIC object anywhere in address space.

amend with the actual fix

Oct 31 2018, 8:59 PM
watashi added a parent revision for D5289: Add a RTS option -xp to load PIC object anywhere in address space: D5288: Explicitly pass -fno-PIC to C compiler on linux.
Oct 31 2018, 8:47 PM
watashi created D5289: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 31 2018, 8:47 PM
watashi added a child revision for D5288: Explicitly pass -fno-PIC to C compiler on linux: D5289: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 31 2018, 8:47 PM
watashi created D5288: Explicitly pass -fno-PIC to C compiler on linux.
Oct 31 2018, 6:22 PM

Oct 30 2018

watashi added a comment to rGHC8306141397d6: Allocate bss section within proper range of other sections.

@bgamari I will investigate this, it will take some time to setup an i686 environment, so feel free to revert this.

Oct 30 2018, 3:28 PM

Oct 28 2018

watashi updated the diff for D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.

move package /= rts to cabal configure step
this also fix failure at cabal copy step due to missing HSrts-*.o

Oct 28 2018, 1:37 AM
watashi updated the summary of D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.
Oct 28 2018, 1:34 AM
watashi updated the test plan for D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.
Oct 28 2018, 1:33 AM

Oct 27 2018

watashi added inline comments to D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.
Oct 27 2018, 1:39 AM
watashi retitled D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci from Hadrain: merge sections in profiling _p.a to .p_o to Hadrain: merge sections in profiling _p.a to .p_o for ghci.
Oct 27 2018, 1:33 AM
watashi created D5270: Hadrian: merge sections in profiling _p.a to .p_o for ghci.
Oct 27 2018, 1:32 AM

Oct 26 2018

watashi updated the diff for D5211: Rewrite FastString table in concurrent hashtable.

refer tests as full path

Oct 26 2018, 12:50 PM

Oct 25 2018

watashi updated the diff for D5211: Rewrite FastString table in concurrent hashtable.

add test and comment as @simonmar suggested:

Oct 25 2018, 2:17 AM

Oct 23 2018

watashi updated the diff for D5211: Rewrite FastString table in concurrent hashtable.
  • comments on naming
  • use Array# (IORef FastStringTableSegment)
  • didn't see significant difference with different load factor, keep it as 1 as it's common and simple
  • the benchmark in exterm case looks better, it's hard to measure in normal build run as this part is usually not dominator
Oct 23 2018, 5:54 PM

Oct 19 2018

watashi created D5246: Fix rare undefined asm temp end label error in x86.
Oct 19 2018, 1:29 PM

Oct 18 2018

watashi updated the summary of D5233: Don't use X86_64_ELF_NONPIC_HACK for +RTS -xp.
Oct 18 2018, 1:44 PM

Oct 17 2018

watashi created D5235: Fix T15729 and T3001-2 in master.
Oct 17 2018, 11:14 AM
watashi created D5234: Fix ghc-pkg when only prof way is enabled.
Oct 17 2018, 11:06 AM
watashi created D5233: Don't use X86_64_ELF_NONPIC_HACK for +RTS -xp.
Oct 17 2018, 8:53 AM
watashi added a comment to D5230: rts/Linker.c: define the 'mmap_again' label only for x86_64.

Thank you for fixing this.

Oct 17 2018, 8:47 AM

Oct 15 2018

watashi added a parent revision for D5219: Allocate bss section within proper range of other sections: D5195: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 15 2018, 11:14 AM
watashi added a child revision for D5195: Add a RTS option -xp to load PIC object anywhere in address space: D5219: Allocate bss section within proper range of other sections.
Oct 15 2018, 11:14 AM

Oct 10 2018

watashi planned changes to D5211: Rewrite FastString table in concurrent hashtable.
Oct 10 2018, 7:01 AM

Oct 9 2018

watashi created D5219: Allocate bss section within proper range of other sections.
Oct 9 2018, 7:22 PM
watashi updated the diff for D5214: Generate correct relocation for external cost centre.

nit + CCS_Label is always local

Oct 9 2018, 3:52 PM
watashi added inline comments to D5214: Generate correct relocation for external cost centre.
Oct 9 2018, 3:22 PM

Oct 8 2018

watashi created D5214: Generate correct relocation for external cost centre.
Oct 8 2018, 9:54 AM

Oct 7 2018

watashi created D5211: Rewrite FastString table in concurrent hashtable.
Oct 7 2018, 10:43 AM

Oct 3 2018

watashi updated the diff for D5195: Add a RTS option -xp to load PIC object anywhere in address space.

comments

Oct 3 2018, 7:52 PM
watashi updated the test plan for D5195: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 3 2018, 7:32 PM
watashi updated the test plan for D5195: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 3 2018, 7:32 PM
watashi updated the test plan for D5195: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 3 2018, 7:30 PM
watashi updated the diff for D5195: Add a RTS option -xp to load PIC object anywhere in address space.

clean up ALWAYS_PIC macro and comments

Oct 3 2018, 5:01 PM

Oct 2 2018

watashi updated the diff for D5195: Add a RTS option -xp to load PIC object anywhere in address space.

.

Oct 2 2018, 1:36 PM
watashi updated the diff for D5195: Add a RTS option -xp to load PIC object anywhere in address space.

Avoid changing the order for Windows

Oct 2 2018, 1:36 PM
watashi added a comment to D5195: Add a RTS option -xp to load PIC object anywhere in address space.

@Phyx Thanks for pointing this out, so we cannot flip the order for PEi386 and I will keep it untouched, but it was a problem for ELF when !RTS_LINKER_USE_MMAP || USE_CONTIGUOUS_MMAP is true.

Oct 2 2018, 1:36 PM
watashi added inline comments to D3915: Updated PE linker, section alignment and cleanup..
Oct 2 2018, 11:15 AM
watashi created D5195: Add a RTS option -xp to load PIC object anywhere in address space.
Oct 2 2018, 11:12 AM

Sep 28 2018

watashi updated the diff for D5168: Always check the relocation value for x86_64.

Improve error message:

  • For non-pic relocation, suggest recompile with -fPIC -fexternal-dynamic-refs
  • For pic relocation, suggest report bug of ghc
Sep 28 2018, 7:32 AM

Sep 27 2018

watashi planned changes to D5168: Always check the relocation value for x86_64.
Sep 27 2018, 1:59 PM
watashi added inline comments to D5168: Always check the relocation value for x86_64.
Sep 27 2018, 12:40 PM
watashi added inline comments to D5168: Always check the relocation value for x86_64.
Sep 27 2018, 9:39 AM

Sep 25 2018

watashi added inline comments to D5168: Always check the relocation value for x86_64.
Sep 25 2018, 5:27 PM
watashi added a comment to D5169: Merge sections in profiling .a to .p_o and use it whenever it exists.

Does that include the ghc package?

Sep 25 2018, 11:01 AM
watashi added a comment to D5169: Merge sections in profiling .a to .p_o and use it whenever it exists.

The total size of each output in my build:

Sep 25 2018, 6:50 AM

Sep 21 2018

watashi updated the diff for D5169: Merge sections in profiling .a to .p_o and use it whenever it exists.

update comment wording

Sep 21 2018, 12:31 PM
watashi created D5169: Merge sections in profiling .a to .p_o and use it whenever it exists.
Sep 21 2018, 10:26 AM
watashi added inline comments to D5168: Always check the relocation value for x86_64.
Sep 21 2018, 5:32 AM

Sep 20 2018

watashi added inline comments to D5168: Always check the relocation value for x86_64.
Sep 20 2018, 6:42 PM
watashi added a comment to D5161: users_guide: fix sphinx error caused by non-explicit override.

That's sad :-(

Sep 20 2018, 4:56 PM
watashi added inline comments to D5168: Always check the relocation value for x86_64.
Sep 20 2018, 4:38 PM
watashi updated the diff for D5161: users_guide: fix sphinx error caused by non-explicit override.

rebase

Sep 20 2018, 12:22 PM
watashi added a comment to D5161: users_guide: fix sphinx error caused by non-explicit override.

@bgamari I will rebase this on top of that then.

Sep 20 2018, 12:22 PM
watashi created D5168: Always check the relocation value for x86_64.
Sep 20 2018, 10:14 AM

Sep 19 2018

watashi created D5161: users_guide: fix sphinx error caused by non-explicit override.
Sep 19 2018, 6:14 AM

Nov 16 2015

watashi added a comment to D1196: Libdw: Add libdw-based stack unwinding.

I encountered following errors when building rts/Libdw.c in i686 environment:

/usr/bin/make --no-print-directory -f ghc.mk phase=final all
"inplace/bin/ghc-stage1" -optc-U__i686 -optc-fno-stack-protector -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-DUSE_LIBDW -optc-Irts/dist/build/autogen -optc-Werror=unused-but-set-variable -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_v\" -static  -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint      -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen           -O2    -c rts/Libdw.c -o rts/dist/build/Libdw.o
rts/Libdw.c: In function ‘libdwLookupLocation’:
Nov 16 2015, 12:28 AM

Jun 10 2015

watashi updated D974: Add parseExpr and compileParsedExpr and use them in GHC API and GHCi.
Jun 10 2015, 10:01 PM
watashi retitled D974: Add parseExpr and compileParsedExpr and use them in GHC API and GHCi from to Add parseExpr and compileParsedExpr and use them in GHC API and GHCi.
Jun 10 2015, 9:54 PM

Jun 9 2015

watashi updated the diff for D967: Always force the exception in enqueued commands.

tests

Jun 9 2015, 2:29 AM
watashi updated the diff for D967: Always force the exception in enqueued commands.

forgot that ghc-bin.cabal is generated

Jun 9 2015, 2:27 AM

Jun 8 2015

watashi updated the diff for D967: Always force the exception in enqueued commands.

use deepseq

Jun 8 2015, 9:33 PM
watashi retitled D967: Always force the exception in enqueued commands from to Always force the exception in enqueued commands.
Jun 8 2015, 12:35 AM

May 22 2015

watashi retitled D900: Enable using qualified field of constructor in GHCi from to Enable using qualified field of constructor in GHCi.
May 22 2015, 12:06 AM

May 13 2015

watashi retitled D890: Do not check dir perms when .ghci doesn't exist from Fix T8333 and T10408 in travis by passing -ignore-ghci-script to Do not check dir perms when .ghci doesn't exist.
May 13 2015, 3:21 PM
watashi updated the diff for D890: Do not check dir perms when .ghci doesn't exist.

oops, rebase, please ignore previous revision

May 13 2015, 3:19 PM
watashi updated the diff for D890: Do not check dir perms when .ghci doesn't exist.

don't check dir perms or print warnings when .ghci doens't exist

May 13 2015, 3:13 PM
watashi planned changes to D890: Do not check dir perms when .ghci doesn't exist.

Should check if file exists first.

May 13 2015, 1:34 PM
watashi retitled D890: Do not check dir perms when .ghci doesn't exist from to Fix T8333 and T10408 in travis by passing -ignore-ghci-script.
May 13 2015, 1:15 PM

May 12 2015

watashi retitled D887: Fix weird behavior of -ignore-dot-ghci and -ghci-scipt from to Fix weird behavior of -ignore-dot-ghci and -ghci-scipt.
May 12 2015, 1:04 AM

Apr 28 2015

watashi committed rHADDOCK5d04e313cc52: Do not insert anchor for section headings in contents box (authored by watashi).
Do not insert anchor for section headings in contents box
Apr 28 2015, 7:57 AM

Apr 24 2015

watashi retitled D867: Retain ic_monad and ic_int_print from external packages after load from to Retain ic_monad and ic_int_print from external packages after load.
Apr 24 2015, 11:18 PM