armv7 targeting via poudriere-devel: misc/openvdb 'Allocation failed' in llvm
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jun 2022 07:11:56 UTC
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 /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=c++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/../openvdb/tools/GridOperators.h:12: In file included from /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../openvdb/Grid.h:8: In file included from /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/./MetaMap.h:7: In file included from /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/./Metadata.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/../openvdb/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/../openvdb/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/../openvdb/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 = labs(longLeft - longRight); ^ /wrkdirs/usr/ports/misc/openvdb/work/openvdb-9.0.0/openvdb/openvdb/../openvdb/math/Math.h:520:26: note: use function 'std::abs' instead int64_t difference = 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=c++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/instantiations/GridOperators.cc'. 4. Running pass 'Live DEBUG_VALUE analysis' on function '@_ZN3tbb6detail2d122dynamic_grainsize_modeINS1_13adaptive_modeINS1_19auto_partition_typeEEEE12work_balanceINS1_9start_forIN7openvdb4v9_04tree11LeafManagerINSB_4TreeINSB_8RootNodeINSB_12InternalNodeINSF_INSB_8LeafNodeINSA_4math4Vec3IfEELj3EEELj4EEELj5EEEEEEEE9LeafRangeENSA_5tools6gridop12GridOperatorINSA_4GridINSD_INSE_INSF_INSF_INSG_IfLj3EEELj4EEELj5EEEEEEEEENSU_INSD_INSE_INSF_INSF_INSG_IbLj3EEELj4EEELj5EEEEEEEEENSU_ISO_EENSH_17ScaleTranslateMapENSR_3CptIS10_S16_NSA_4util15NullInterrupterEE5IsOpTES1B_EEKNS1_16auto_partitionerEEESQ_EEvRT_RT0_RNS1_14execution_dataE' . . . === Mark Millard marklmi at yahoo.com