SRI-CSL / OCCAM-Benchmarks

Set of benchmarks used by the OCCAM tool.
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

portfolio/readelf #5

Closed caballa closed 3 years ago

caballa commented 3 years ago

The command make seems to fail

/usr/bin/ld: ../gnulib/import/libgnu.a(strerror_r.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../libiberty/libiberty.a(crc32.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../libiberty/libiberty.a(filename_cmp.o): relocation R_X86_64_32S against symbol `_sch_tolower' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../libiberty/libiberty.a(lbasename.o): relocation R_X86_64_32S against symbol `_sch_istable' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:367: recipe for target 'gdbserver' failed
make[3]: *** [gdbserver] Error 1
make[3]: Leaving directory '/homes/jorge/Repos/OCCAM-Benchmarks/examples/portfolio/readelf/binutils/gdbserver'
Makefile:10356: recipe for target 'all-gdbserver' failed
make[2]: *** [all-gdbserver] Error 2
make[2]: Leaving directory '/homes/jorge/Repos/OCCAM-Benchmarks/examples/portfolio/readelf/binutils'
Makefile:902: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/homes/jorge/Repos/OCCAM-Benchmarks/examples/portfolio/readelf/binutils'
Makefile:16: recipe for target 'binutils/binutils/readelf' failed
make: *** [binutils/binutils/readelf] Error 2
caballa commented 3 years ago

Fixed in commit 6b22d760adf82402f67f4c52581e5cac76b55c23