Opened 3 years ago

Closed 3 years ago

#13274 closed task (wontfix)

GHC library is accumulating exported symbols at a very rapid rate.

Reported by: Phyx- Owned by:
Priority: normal Milestone:
Component: Compiler Version: 8.0.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: #5987 Differential Rev(s):
Wiki Page:


On 20160617 libHSghc had 49610 exported symbols.

This was gotten by doing nm -g $5 | sed -nr 's/^[a-z,A-Z,0-9]+\s([A-Z])\s(.+)$/\1 \2\n/p' | sed -r 's/^.+:.*$//g' | sed '/^\s*$/d' | sort | uniq -u on all object files given to link libHSghc.

After rebasing on newer commit 20161015 4 months later it now has 124966 exported symbols. This is an explosive increase in symbol count of nearly 300%.

On 20170208 this is now even higher 147927 which is another big increase.

Unfortunately it's not easy for me to go back to the first build since my git has been pruned. But I do have the list for the latest jump.

Should be investigated why. This rate will be problematic for #5987 as it means we'll keep adding DLLs. Currently with the current head it needs to split in 3 DLLs, and it's not far from a 4th.

Change History (1)

comment:1 Changed 3 years ago by Phyx-

Milestone: 8.4.1
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.