riscv-perf-model icon indicating copy to clipboard operation
riscv-perf-model copied to clipboard

Cannot compile with Profile build type

Open danbone opened this issue 3 months ago • 4 comments

I'm trying to compile with CMAKE_BUILD_TYPE=Profile but I'm getting the following error:

/home/dan/anaconda3/envs/sparta/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/dan/anaconda3/envs/sparta/bin/../x86_64-conda-linux-gnu/sysroot/usr/lib/../lib/gcrt1.o: relocation R_X86_64_32S against symbol `__libc_csu_fini' can not be used when making a PIE object; recompile with -fPIE
/home/dan/anaconda3/envs/sparta/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: failed to set dynamic section sizes: bad value

Has anyone else encountered this?

danbone avatar Mar 05 '24 14:03 danbone