Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent build failure with LLVM 3.5.0 #11556

Closed
nalimilan opened this issue Jun 3, 2015 · 6 comments
Closed

Recent build failure with LLVM 3.5.0 #11556

nalimilan opened this issue Jun 3, 2015 · 6 comments
Labels
domain:building Build system, or building Julia or its dependencies

Comments

@nalimilan
Copy link
Member

I see this build failure on Fedora 21 with LLVM 3.5.0. Looks like it's been introduced in the last few days:

 gcc -march=x86-64 -m64  "-DJL_SYSTEM_IMAGE_PATH=\"../lib64/julia/sys.ji\"" -DSYSTEM_LLVM -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -std=gnu99 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DCOPY_STACKS -O3 -ggdb3 -falign-functions -momit-leaf-frame-pointer -D_GNU_SOURCE -Iflisp -Isupport -I/usr/include -I/builddir/build/BUILD/julia/build/usr/include -I/builddir/build/BUILD/julia/build/usr/include -DLIBRARY_EXPORTS -I. -I/builddir/build/BUILD/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common -DNDEBUG -c module.c -o module.o
 g++ -march=x86-64 -m64 -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual  "-DJL_SYSTEM_IMAGE_PATH=\"../lib64/julia/sys.ji\"" -DSYSTEM_LLVM -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -pipe -fPIC -fno-rtti -O3 -ggdb3 -falign-functions -momit-leaf-frame-pointer -D_GNU_SOURCE -Iflisp -Isupport -I/usr/include -I/builddir/build/BUILD/julia/build/usr/include -I/builddir/build/BUILD/julia/build/usr/include -DLIBRARY_EXPORTS -I. -I/builddir/build/BUILD/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common -c codegen.cpp -o codegen.o
 g++ -march=x86-64 -m64 -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual  "-DJL_SYSTEM_IMAGE_PATH=\"../lib64/julia/sys.ji\"" -DSYSTEM_LLVM -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -pipe -fPIC -fno-rtti -O3 -ggdb3 -falign-functions -momit-leaf-frame-pointer -D_GNU_SOURCE -Iflisp -Isupport -I/usr/include -I/builddir/build/BUILD/julia/build/usr/include -I/builddir/build/BUILD/julia/build/usr/include -DLIBRARY_EXPORTS -I. -I/builddir/build/BUILD/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common -c disasm.cpp -o disasm.o
 g++ -march=x86-64 -m64 -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual  "-DJL_SYSTEM_IMAGE_PATH=\"../lib64/julia/sys.ji\"" -DSYSTEM_LLVM -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -pipe -fPIC -fno-rtti -O3 -ggdb3 -falign-functions -momit-leaf-frame-pointer -D_GNU_SOURCE -Iflisp -Isupport -I/usr/include -I/builddir/build/BUILD/julia/build/usr/include -I/builddir/build/BUILD/julia/build/usr/include -DLIBRARY_EXPORTS -I. -I/builddir/build/BUILD/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common -c debuginfo.cpp -o debuginfo.o
debuginfo.cpp: In function 'void jl_getFunctionInfo(const char**, size_t*, const char**, size_t, int*, int)':
debuginfo.cpp:735:33: error: 'struct ObjectInfo' has no member named 'slide'
         pointer -= (*it).second.slide;
                                 ^
Makefile:71: recipe for target 'debuginfo.o' failed
make[1]: *** [debuginfo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/builddir/build/BUILD/julia/src'
Makefile:58: recipe for target 'julia-src-release' failed
make: *** [julia-src-release] Error 2

https://copr-be.cloud.fedoraproject.org/results/nalimilan/julia-nightlies/fedora-21-x86_64/julia-0.4.0-0.20150602.fc21/

@nalimilan nalimilan added the domain:building Build system, or building Julia or its dependencies label Jun 3, 2015
@crayxt
Copy link
Contributor

crayxt commented Jun 3, 2015

Introduced by 8d86387 I suppose

@crayxt
Copy link
Contributor

crayxt commented Jun 3, 2015

@nalimilan What about builds with older LLVM?

@nalimilan
Copy link
Member Author

@Keno
Copy link
Member

Keno commented Jun 3, 2015

My apologies, I don't routinely test with LLVM 3.5. Will fix.

@nalimilan
Copy link
Member Author

@Keno Any chance you look at it? Thanks!

@Keno Keno closed this as completed in a6fe623 Jun 11, 2015
@nalimilan
Copy link
Member Author

(Sorry, I missed it since GitHub does not send notification e-mails for commits...) I can confirm it fixed the build issue, though crashes happen now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies
Projects
None yet
Development

No branches or pull requests

3 participants