[Pkg-julia-devel] build errors again

Norbert Preining norbert at preining.info
Wed Nov 4 20:05:17 GMT 2020


Hi everyone,

so now that i386 is clear, we are step further, but unfortunately all
the others still fail:

armel:
	fails the same way with the *MAX tests. Reading the rules files
	it seesm USE_BLAS64=0 must be set for armel, too.

armhf:
	blas seems to work, but later on lots of failures somehow
	related to llvm code
	/usr/lib/llvm-10/include/llvm/DebugInfo/DWARF/DWARFDie.h:332:40: note:   no known conversion for argument 1 from ‘llvm::Expected<llvm::StringRef>’ to ‘const llvm::DWARFDie&’
	  332 | inline bool operator!=(const DWARFDie &LHS, const DWARFDie &RHS) {
	      |                        ~~~~~~~~~~~~~~~~^~~
	and many more.


mipsel64:
	checking command to parse /usr/bin/nm -B output from gcc object... Makefile:139: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
	at least to get over this we need some more rules hacking it
	seems

mipsel:
	as above (Detecting CPU failed), but also
	checking how to run the C preprocessor... gcc -E
	getarch_2nd.c: In function ‘main’:
	getarch_2nd.c:12:35: error: ‘SGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function); did you mean ‘XGEMM_DEFAULT_UNROLL_M’?
	   12 |     printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
	      |                                   ^~~~~~~~~~~~~~~~~~~~~~
	      |                                   XGEMM_DEFAULT_UNROLL_M

ppc64el:
	segfaults after/during pre-compilation
	...
	Generating precompile statements... 1888 generated in 179.358814 seconds (overhead 114.665883 seconds)

	signal (11): Segmentation fault
	in expression starting at none:0
	unknown function (ip: 0x7fff9118883c)
	_ZN4llvm10MCStreamer6FinishEv at /usr/lib/powerpc64le-linux-gnu/libLLVM-10.so.1 (unknown line)
	_ZN4llvm10AsmPrinter14doFinalizationERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-10.so.1 (unknown line)
	unknown function (ip: 0x7fff910bb91f)
	_ZN4llvm13FPPassManager14doFinalizationERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-10.so.1 (unknown line)
	_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-10.so.1 (unknown line)
	_ZN4llvm6legacy11PassManager3runERNS_6ModuleE at /usr/lib/powerpc64le-linux-gnu/libLLVM-10.so.1 (unknown line)
	operator() at ./src/./src/aotcompile.cpp:536 [inlined]
	jl_dump_native at ./src/./src/aotcompile.cpp:572
	Allocations: 157060458 (Pool: 157008087; Big: 52371); GC: 122
	Segmentation fault

s390x:
	lots of strange things:
	- patchelf binary not found
	- cat: /<<PKGBUILDDIR>>/usr/manifest/suitesparse-wrapper: No such file or directory
	but the failure that stops the build is
	 gcc -fasynchronous-unwind-tables -DSYSTEM_LIBUNWIND -DSYSTEM_LLVM -DJULIA_HAS_IFUNC_SUPPORT=1 -DJULIA_NUM_THREADS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb2 -falign-functions -I/<<PKGBUILDDIR>>/src/flisp/../support -std=gnu99 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DSYSTEM_LIBUNWIND -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -I/<<PKGBUILDDIR>>/usr/include -I/usr/include -I/<<PKGBUILDDIR>>/usr/include  -DLIBRARY_EXPORTS -DUTF8PROC_EXPORTS -DUSE_COMPUTED_GOTO -Wall -Wno-strict-aliasing -fvisibility=hidden -Wpointer-arith -Wundef -Wold-style-definition -Wstrict-prototypes -Wc++-compat -DNDEBUG -DJL_NDEBUG -c /<<PKGBUILDDIR>>/src/flisp/flisp.c -o /<<PKGBUILDDIR>>/src/flisp/flisp.o
	/<<PKGBUILDDIR>>/src/flisp/flisp.c:997:6: error: expected identifier or ‘(’ before ‘uint32_t’
	  997 |     (uint32_t)bswap_32((int32_t)(i)))
	      |      ^~~~~~~~
	/<<PKGBUILDDIR>>/src/flisp/flisp.c: In function ‘fl_function’:
	/<<PKGBUILDDIR>>/src/flisp/flisp.c:2085:24: error: expected expression before ‘;’ token
	 2085 |     PUT_INT32(data, ms);
	      |                        ^
	/<<PKGBUILDDIR>>/src/flisp/flisp.c:2109:15: error: expected ‘;’ before ‘}’ token
	 2109 |     return fv;
	      |               ^
	      |               ;
	 2110 | }
	      | ~


I am not sure how far we want to try to support archs that upstream
doesn't support ...

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Pkg-julia-devel mailing list