[PATCH] D78340: [Flang] fix dependency issues after D78215

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 07:32:10 PDT 2020


DavidTruby added a comment.

In D78340#1999097 <https://reviews.llvm.org/D78340#1999097>, @ro wrote:

> In D78340#1998243 <https://reviews.llvm.org/D78340#1998243>, @DavidTruby wrote:
>
> > As @clementval says there exists an actual cyclic dependency in the libraries that needs fixing, this patch didn't break it it only exposed an already existing issue.
>
>
> Do you have a rough idea how long this might take?  I'm asking because I try do debug a hanging testcase on Solaris/SPARC.  A Release build
>  is useless for that if you need anything more than a stacktrace with just function names.  Regular Debug builds have turned into a nightmare
>  with flang included, unfortunately: both assemble and link times have skyrocketed and diskspace consumption has gone through the roof
>  as well (72 GB on Solaris/SPARC, 81 GB on x86).  A shared build (when it works) cuts diskspace for a Release almost in half and reduces it to
>  a quarter for Debug builds and massively helps for link times, too.


You might be able to get around some of this issue in debug builds by adding the following flag to your CXXFLAGS: "=gsplit-dwarf". It won't help with the size but it'll help a lot with the link times.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78340/new/

https://reviews.llvm.org/D78340





More information about the llvm-commits mailing list