[opensuse-factory] LLVM 3.3 is failing to build only in openSUSE Factory i586
Hi guys! I am the maintainer of julia package in openSUSE. Julia 0.4.5 needs llvm 3.3 that is built together with the package. Today, I noticed something really strange. llvm 3.3 (and julia) is being built fine for: _ openSUSE Tumbleweed i586 and x86_64; _ openSUSE Factory x86_64. However, llvm 3.3 is failing to build against openSUSE Factory x86_64. The complete build log can be seen in [1]. My first guess was that a package was updated in Factory and was causing the problem. However, I took a diff between the two environments and I found only these differences: --- factory 2016-04-27 23:44:26.625113876 -0300 +++ tumbleweed 2016-04-27 23:44:09.301014052 -0300 -build-mkbaselibs-20160331 +build-mkbaselibs-20160304 -cpp5-5.3.1+r234891 +cpp5-5.3.1+r233831 -gcc5-5.3.1+r234891 -gcc5-c++-5.3.1+r234891 -gcc5-fortran-5.3.1+r234891 +gcc5-5.3.1+r233831 +gcc5-c++-5.3.1+r233831 +gcc5-fortran-5.3.1+r233831 -glibc-2.23 -glibc-devel-2.23 -glibc-locale-2.23 +glibc-2.22 +glibc-devel-2.22 +glibc-locale-2.22 -libasan2-5.3.1+r234891 -libatomic1-5.3.1+r234891 +libasan2-5.3.1+r233831 +libatomic1-5.3.1+r233831 -libcilkrts5-5.3.1+r234891 +libcilkrts5-5.3.1+r233831 -libgcc_s1-5.3.1+r234891 +libgcc_s1-5.3.1+r233831 -libgfortran3-5.3.1+r234891 +libgfortran3-5.3.1+r233831 -libgomp1-5.3.1+r234891 +libgomp1-5.3.1+r233831 -libitm1-5.3.1+r234891 +libitm1-5.3.1+r233831 -libmpx0-5.3.1+r234891 -libmpxwrappers0-5.3.1+r234891 +libmpx0-5.3.1+r233831 +libmpxwrappers0-5.3.1+r233831 -libquadmath0-5.3.1+r234891 +libquadmath0-5.3.1+r233831 -libstdc++6-5.3.1+r234891 -libstdc++6-devel-gcc5-5.3.1+r234891 +libstdc++6-5.3.1+r233831 +libstdc++6-devel-gcc5-5.3.1+r233831 -libubsan0-5.3.1+r234891 +libubsan0-5.3.1+r233831 Besides glibc, which was updated from 2.22 to 2.23 6 days ago, I did not find anything that could lead to these results. Does anyone have any ideas what can cause this behavior? ------ References [1] http://pastebin.com/yzefpSqt Regards, Ronan Arraes -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 04/28/2016 12:47 PM, Ronan Arraes Jardim Chagas wrote:
Hi guys!
I am the maintainer of julia package in openSUSE. Julia 0.4.5 needs llvm 3.3 that is built together with the package.
Today, I noticed something really strange. llvm 3.3 (and julia) is being built fine for:
_ openSUSE Tumbleweed i586 and x86_64; _ openSUSE Factory x86_64.
However, llvm 3.3 is failing to build against openSUSE Factory x86_64. The complete build log can be seen in [1]. My first guess was that a package was updated in Factory and was causing the problem. However, I took a diff between the two environments and I found only these differences:
Manually running the failing command (below) under gdb may provide you with some answers /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/build_Release/Release/bin/llvm-tblgen -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/lib/IR -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/lib/Target /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/include/llvm/IR/Intrinsics.td -o /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/build_Release/lib/IR/Release/Intrinsics.gen.tmp -gen-intrinsic -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adeliade Australia, UTC+9:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
Manually running the failing command (below) under gdb may provide you with some answers
/home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/build_Release/Release/bin/llvm-tblgen -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/lib/IR -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/lib/Target /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/include/llvm/IR/Intrinsics.td -o /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/build_Release/lib/IR/Release/Intrinsics.gen.tmp -gen-intrinsic
I build julia using osc. After, I chroot'ed into the build directory and run this command under gdb. Nothing was shown at all: (gdb) run Starting program: /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/build_Release/Release/bin/llvm-tblgen -I /home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.3/lib/IR -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.3/lib/Target /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/include/llvm/IR/Intrinsics.td -o /home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.3/build_Release/lib/IR/Release/Intrinsics.gen.tmp -gen- intrinsic [Inferior 1 (process 30974) exited normally] After that, the file /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.3/build_Release/lib/IR/Release/Intrinsics.gen.tmp is created. I do not really have any clue of what is happening here. Regards, Ronan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Now something strange. I tried to update llvm to 3.7.1 and I'm getting the same error, but with additional information: [ 68s] llvm[4]: ======= Finished Linking Release Executable llvm-tblgen (without symbols) [ 68s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/utils/TableGen' [ 68s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/utils' [ 68s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/lib/IR' [ 68s] /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/autoconf/mkinstalldirs /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/lib/IR/Release > /dev/null [ 68s] /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/autoconf/mkinstalldirs /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/include/llvm/IR > /dev/null [ 68s] /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/autoconf/mkinstalldirs /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/lib/IR/Release/./ > /dev/null [ 68s] echo 'Created.' > /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/lib/IR/Release/.//.dir [ 68s] echo 'Created.' > /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/lib/IR/Release/.dir [ 68s] echo 'Created.' > /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/include/llvm/IR/.dir [ 68s] llvm[3]: Building Intrinsics.gen.tmp from Intrinsics.td [ 68s] /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/Release/bin/llvm-tblgen -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.7.1/lib/IR -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.7.1/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm-3.7.1/include -I /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/lib/Target /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/include/llvm/IR/Intrinsics.td -o /home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp -gen- intrinsic [ 68s] llvm-tblgen: cxa_atexit.c:100: __new_exitfn: Assertion `l != NULL' failed. [ 68s] Makefile:23: recipe for target '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp' failed [ 68s] make[3]: *** [/home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp] Aborted (core dumped) [ 68s] make[3]: *** Deleting file '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/lib/IR/Release/Intrinsics.gen.tmp' [ 68s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release/lib/IR' [ 68s] /home/abuild/rpmbuild/BUILD/julia-0.4.5/deps/llvm- 3.7.1/Makefile.rules:880: recipe for target 'all' failed [ 68s] make[2]: *** [all] Error 1 [ 68s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps/llvm-3.7.1/build_Release' [ 68s] Makefile:670: recipe for target 'llvm- 3.7.1/build_Release/Release/lib/libLLVMCodeGen.a' failed [ 68s] make[1]: *** [llvm-3.7.1/build_Release/Release/lib/libLLVMCodeGen.a] Error 2 [ 68s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia- 0.4.5/deps' [ 68s] Makefile:51: recipe for target 'julia-deps' failed [ 68s] make: *** [julia-deps] Error 2 [ 68s] error: Bad exit status from /var/tmp/rpm-tmp.NGgAHD (%build) I saw a bug in RedHat describing the same behavior when glibc was updated to 2.23 here: https://bugzilla.redhat.com/show_bug.cgi?id=1283284 Does anyone have any idea how to fix it? Regards, Ronan
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Ronan Arraes Jardim Chagas
-
Simon Lees