Date: Sat, 4 Jun 2022 00:11:56 -0700 From: Mark Millard <marklmi@yahoo.com> To: freebsd-ports@freebsd.org Subject: armv7 targeting via poudriere-devel: misc/openvdb 'Allocation failed' in llvm Message-ID: <68784658-A088-46B1-B806-EB984F7BF975@yahoo.com> References: <68784658-A088-46B1-B806-EB984F7BF975.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Note: This was using an armv7 poudriere jail on a aarch64 machine able = to run armv7 code. openvdb-9.0.0_1.log reports: FAILED: = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o=20 /usr/bin/c++ -DOPENVDB_DLL -DOPENVDB_PRIVATE -Dopenvdb_shared_EXPORTS = -I/wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/.. = -I/wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb = -I/wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb/openvdb = -I/wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/. = -O2 -pipe -g -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -g = -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread = -std=3Dc++14 -MD -MT = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o -MF = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o.d -o = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o -c = /wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb/instantiations= /GridOperators.cc In file included from = /wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb/instantiations= /GridOperators.cc:2: In file included from = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../open= vdb/tools/GridOperators.h:12: In file included from = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../open= vdb/Grid.h:8: In file included from = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/./MetaM= ap.h:7: In file included from = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/./Metad= ata.h:9: In file included from = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/./Types= .h:33: = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../open= vdb/math/Math.h:313:12: warning: absolute value function 'labs' given an = argument of type 'int64_t' (aka 'long long') but has parameter of type = 'long' which may cause truncation of value [-Wabsolute-value] return labs(i); ^ = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../open= vdb/math/Math.h:313:12: note: use function 'std::abs' instead return labs(i); ^~~~ std::abs = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../open= vdb/math/Math.h:520:26: warning: absolute value function 'labs' given an = argument of type 'long long' but has parameter of type 'long' which may = cause truncation of value [-Wabsolute-value] int64_t difference =3D labs(longLeft - longRight); ^ = /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../open= vdb/math/Math.h:520:26: note: use function 'std::abs' instead int64_t difference =3D labs(longLeft - longRight); ^~~~ std::abs LLVM ERROR: out of memory Allocation failed PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and = include the crash backtrace, preprocessed source, and associated run = script. Stack dump: 0. Program arguments: /usr/bin/c++ -DOPENVDB_DLL -DOPENVDB_PRIVATE = -Dopenvdb_shared_EXPORTS = -I/wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/.. = -I/wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb = -I/wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb/openvdb = -I/wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/. = -O2 -pipe -g -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -g = -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread = -std=3Dc++14 -MD -MT = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o -MF = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o.d -o = openvdb/openvdb/CMakeFiles/openvdb_shared.dir/instantiations/GridOperators= .cc.o -c = /wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb/instantiations= /GridOperators.cc 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module = '/wrkdirs/usr/ports/misc/openvdb/work/.build/openvdb/openvdb/instantiation= s/GridOperators.cc'. 4. Running pass 'Live DEBUG_VALUE analysis' on function = '@_ZN3tbb6detail2d122dynamic_grainsize_modeINS1_13adaptive_modeINS1_19auto= _partition_typeEEEE12work_balanceINS1_9start_forIN7openvdb4v9_04tree11Leaf= ManagerINSB_4TreeINSB_8RootNodeINSB_12InternalNodeINSF_INSB_8LeafNodeINSA_= 4math4Vec3IfEELj3EEELj4EEELj5EEEEEEEE9LeafRangeENSA_5tools6gridop12GridOpe= ratorINSA_4GridINSD_INSE_INSF_INSF_INSG_IfLj3EEELj4EEELj5EEEEEEEEENSU_INSD= _INSE_INSF_INSF_INSG_IbLj3EEELj4EEELj5EEEEEEEEENSU_ISO_EENSH_17ScaleTransl= ateMapENSR_3CptIS10_S16_NSA_4util15NullInterrupterEE5IsOpTES1B_EEKNS1_16au= to_partitionerEEESQ_EEvRT_RT0_RNS1_14execution_dataE' . . . =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68784658-A088-46B1-B806-EB984F7BF975>