I tried creating a brand new Mason project:
cd tmp/Mason/Trial
mason init
which results in:
|> tree
.
├── example
├── Mason.toml
├── src
│ └── Trial.chpl
└── test
3 directories, 2 files
where Mason.toml and src/Trial.chpl have the contents the mason init
command gave them. The mason command comes with the chpl command via brew:
|> which mason
/home/linuxbrew/.linuxbrew/bin/mason
|> which chpl
/home/linuxbrew/.linuxbrew/bin/chpl
|>
On trying to build:
|> mason build
Updating mason-registry
Compiling [debug] target: Trial
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/main.o: relocation R_X86_64_32 against symbol `chpl_executable_init' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-linefile-support.o): relocation R_X86_64_32S against symbol `chpl_filenameTable' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chplcast.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(config.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(error.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-comm.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-comm-diags.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-init.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-external-array.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-mem-hook.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chplmemtrack.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chplsys.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-tasks.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(tasks-qthreads.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(comm-none-locales.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(comm-none.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(mem-jemalloc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(qio_error.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(qio.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(qio_formatted.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(sys.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(topo-hwloc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(arg.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-env.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-string-support.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-comm-callbacks.o): relocation R_X86_64_32S against symbol `chpl_comm_callback_counts' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-mem-desc.o): relocation R_X86_64_32S against symbol `chpl_mem_descs' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(chpl-tasks-callbacks.o): relocation R_X86_64_32S against symbol `chpl_task_callback_counts' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(qbuffer.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/lib/linux64/gnu/x86_64/arch-native/loc-flat/comm-none/tasks-qthreads/tmr-generic/unwind-none/mem-jemalloc/atomics-cstdlib/hwloc/re2/fs-none/lib_pic-none/libchpl.a(deque.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(jemalloc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(arena.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(base.o): relocation R_X86_64_32S against hidden symbol `chpl_je_size2index_tab' can not be used when making a PIE object
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(chunk.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(ctl.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(extent.o): relocation R_X86_64_32S against hidden symbol `chpl_je_size2index_tab' can not be used when making a PIE object
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(huge.o): relocation R_X86_64_32S against hidden symbol `chpl_je_chunks_rtree' can not be used when making a PIE object
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(mutex.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(pages.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(prof.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(quarantine.o): relocation R_X86_64_32S against hidden symbol `chpl_je_size2index_tab' can not be used when making a PIE object
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(stats.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(tcache.o): relocation R_X86_64_32S against hidden symbol `chpl_je_index2size_tab' can not be used when making a PIE object
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(tsd.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(util.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(witness.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/jemalloc/install/linux64-x86_64-native-gnu-none/lib/libjemalloc.a(ckh.o): relocation R_X86_64_32S against hidden symbol `chpl_je_size2index_tab' can not be used when making a PIE object
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(feb.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(qthread.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(mpool.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(nemesis_threadqueues.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(donecount.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(hwloc_via_chapel.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(teams.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(hash.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(cacheline.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(envariables.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(hazardptrs.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(io.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(queue.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(lt1-feb.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/qthread/install/linux64-x86_64-native-gnu-none-flat-jemalloc-hwloc/lib/libqthread.a(syncvar.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(traversal.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(distances.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(components.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(bind.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(bitmap.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(misc.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-noos.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-synthetic.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-custom.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-xml.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-xml-nolibxml.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-linux.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-hardwired.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-x86.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(base64.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/third-party/hwloc/install/linux64-x86_64-native-gnu-none-flat/lib/libhwloc.a(topology-linux.o): warning: relocation against `free@@GLIBC_2.2.5' in read-only section `.text'
collect2: error: ld returned 1 exit status
gmake: *** [/home/linuxbrew/.linuxbrew/Cellar/chapel/1.22.1/libexec/runtime/etc/Makefile.exe:31: /tmp/chpl-russel-434916.deleteme/Trial.tmp] Error 1
error: compiling generated source
Build Failed