Hello Russel Winder, That's a huge coincidence; I was writing a message about the same problem on Chapel's git channel.
When I build Chapel 1.20 on my laptop that uses g++ 7.4 and local execution, 1.20 compiles my code and runs as expected. On a cluster, I face the following problem. -- If I try to build the runtime for execution on only one node, without any GASNet, I face the problem you presented, can't compile my project. -- If I build the runtime for distributed execution, my code compiles, and I must execute it using -nl 1. However, I faced some performance issues in my code doing that. Best regards, Tiago Carneiro. Em ter., 18 de fev. de 2020 às 18:58, Russel Winder <[email protected]> escreveu: > Hi, > > I may well be the only person using Linuxbrew (Linuxbrew is Homebrew > but targeting Linux rather than OSX and macOS.) to install Chapel… > > $ brew install chapel > > installs 1.20.0 exactly as required. I created a Mason build "Hello > World" project. > > $ which mason > > /home/linuxbrew/.linuxbrew/Cellar/chapel/1.20.0_2/libexec/bin/linux64-x86_64/mason > > $ tree > . > ├── Mason.toml > └── src > └── HelloWorld.chpl > > However: > > $ mason build > Updating mason-registry > Compiling [debug] target: HelloWorld > /usr/bin/ld: > /home/linuxbrew/.linuxbrew/Cellar/chapel/1.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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-privatization.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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.8' can not be used when making > a PIE object; recompile with -fPIE > /usr/bin/ld: > /home/linuxbrew/.linuxbrew/Cellar/chapel/1.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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.20.0_2/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 > collect2: error: ld returned 1 exit status > make: *** > [/home/linuxbrew/.linuxbrew/Cellar/chapel/1.20.0_2/libexec/runtime/etc/Makefile.exe:30: > /tmp/chpl-russel-173972.deleteme/HelloWorld.tmp] Error 1 > error: compiling generated source > Build Failed > > So the problem here is that by default Mason and chpl are assuming > dynamic linking but only the static library is being build by the > Linuxbrew formula. > > $ chpl --static src/HelloWorld.chpl > > $ ./HelloWorld > Hello World. > > $ > > I guess there is not a similar problem with Homebrew OSX and macOS. I > have no idea if the Linuxbrew formula can cause both dynamic and static > libraries to be build, but if it cannot Linuxbrew is a total bust for > Chapel. > > -- > Russel. > =========================================== > Dr Russel Winder t: +44 20 7585 2200 > 41 Buckmaster Road m: +44 7770 465 077 > London SW11 1EN, UK w: www.russel.org.uk > > _______________________________________________ > Chapel-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/chapel-developers >
_______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers
