I'm having trouble setting up Chapel 1.17.1 (freshly downloaded) on Ubuntu
18.04. I went through the commands on the quickstart page
tar xzf chapel-1.17.1.tar.gz
cd /home/courses/chapel-1.17.1/
source util/quickstart/setchplenv.bash
make
make check
but the "make check" step failed as follows:
davew:/home/courses/chapel-1.17.1$ make check
[Info] Running minimal test script: $CHPL_HOME/util/test/checkChplInstall
[Info] Found executable chpl in
/home/courses/chapel-1.17.1/bin/linux64/chpl.
[Info] Found $CHPL_HOME directory: /homes/courses/chapel-1.17.1
[Info] /homes/davew/.chpl does not exist. Creating it.
[Info] Temporary test job directory: /homes/davew/.chpl/chapel-test-Qq1rW
[Info] Compiling $CHPL_HOME/examples/hello6-taskpar-dist.chpl
[Fail] Test job failed to compile - Chapel is not installed correctly
[Fail] Compilation output:
/usr/bin/x86_64-linux-gnu-ld:
/tmp/chpl-davew-24394.deleteme/hello6-taskpar-dist.tmp.o: relocation
R_X86_64_32 against `.rodata' can not be used when making a PIE object;
recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld:
/homes/courses/chapel-1.17.1/lib/linux64/gnu/arch-native/loc-flat/comm-none/tasks-fifo/tmr-generic/unwind-none/mem-cstdlib/atomics-intrinsics/gmp-none/none/none/fs-none/main.o:
relocation R_X86_64_32 against symbol `chpl_executable_init' can not be
used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld:
/homes/courses/chapel-1.17.1/lib/linux64/gnu/arch-native/loc-flat/comm-none/tasks-fifo/tmr-generic/unwind-none/mem-cstdlib/atomics-intrinsics/gmp-none/none/none/fs-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 -fPIC
(lots more like that)
/usr/bin/x86_64-linux-gnu-ld:
/homes/courses/chapel-1.17.1/lib/linux64/gnu/arch-native/loc-flat/comm-none/tasks-fifo/tmr-generic/unwind-none/mem-cstdlib/atomics-intrinsics/gmp-none/none/none/fs-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 -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section
on output
collect2: error: ld returned 1 exit status
/homes/courses/chapel-1.17.1/runtime/etc/Makefile.exe:27: recipe for target
'/tmp/chpl-davew-24394.deleteme/hello6-taskpar-dist.tmp' failed
make[1]: *** [/tmp/chpl-davew-24394.deleteme/hello6-taskpar-dist.tmp] Error
1
error: compiling generated source
Makefile:192: recipe for target 'check' failed
make: *** [check] Error 1
Is anyone else experiencing this problem? Is anyone succeeding with this
pairing? Either way, any suggestion for what I should do? I did a search
on the chapel mailing list archive but didn't see anything about this.
Dave W
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users