Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

r314561/r314622 + NewGVN cause crash/build failure with LibreOffice #34162

Closed Quuxplusone closed 4 years ago

Quuxplusone commented 6 years ago
Bugzilla Link PR35189
Status RESOLVED INVALID
Importance P enhancement
Reported by Luke (lukebenes@hotmail.com)
Reported on 2017-11-02 22:36:23 -0700
Last modified on 2020-07-28 11:44:59 -0700
Version trunk
Hardware PC Linux
CC davidxl@google.com, ditaliano@apple.com, florian_hahn@apple.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks PR30995
Blocked by
See also
Before r314561, I could build LibreOffice with the NewGVN. After r314561, clang
would crash building the firebird module. After r314622, the build fails during
the basic Unit Testing phase.

Steps to reproduce:
1. $ git clone git://anongit.freedesktop.org/libreoffice/core
2. $ apt-get build-dep libreoffice
3. create file autogen.input with CC=clang and CXX=clang++
4. ./autogen.sh && make ENVCFLAGS="-mllvm -enable-newgvn" ENVCFLAGSCXX="-mllvm -
enable-newgvn"

r314561 firebird crash:

https://zerobin.net/?5f7ed7a18356ed5e#hGewdFYM+2Y72x5gaNxyZPQhqg05QOMSAsd1O/4x+Dc=

r314622 build failure:

https://zerobin.net/?1236b71707b52bbd#nAoCi5YyFGdyE86rz08t8NWUu+EvV+vwUHRfG0xt1bA=
Quuxplusone commented 6 years ago
David Xi,
Any idea why http://llvm.org/viewvc/llvm-project?view=revision&revision=314561
would be affecting the NewGVN?

Oddly, Daniel Jasper's commit http://llvm.org/viewvc/llvm-
project?view=revision&revision=314622 fixed this crash but leaves the build
failing.
Quuxplusone commented 6 years ago

As of clang version 7.0.0 (trunk 325443), I can now build libreoffice again with the NewGVN. Good work guys!

Quuxplusone commented 6 years ago

Ignore my last comment. As of clang version 7.0.0 (trunk 327047), the build is still failing on the Unit Testing stage with the NewGVN. Currently the CppunitTest_sw_macros_test is failing.

Quuxplusone commented 6 years ago

As of r335974, CppunitTest_sw_macros_test is still failing. In addition, additional tests such as CppunitTest_svl_qa_cppunit have started to fail when NewGVN is enabled.

Quuxplusone commented 6 years ago

In r342201 both Unit Tests are still failing. Also disabling the Unit Tests results in a crash with NewGVN.

$ make build-nocheck ENVCFLAGS="-mllvm -enable-newgvn" ENVCFLAGSCXX="-mllvm -enable-newgvn"

Quuxplusone commented 4 years ago

Unfortunately there is not enough information to reproduce the issue. A few issues have been fixed in the meantime and there are a couple of outstanding issues with reproducers. I am closing this for now, as we cannot really act on it.

Please feel free to re-open if it is still an issue that can be reproduced.