rosenbridge
rosenbridge copied to clipboard
Do any of your projects compile?
trafficstars
doug@doug-dt:~/code/cpufuzz/rosenbridge/util$ make CFLAGS=-mcmodel=small\ -fno-pic\ -fno-PIC\ -fno-pie\ -fno-PIE
mkdir -p bin
gcc check.c -o ./bin/check
/usr/bin/x86_64-linux-gnu-ld: /tmp/cc3CVzsx.o: relocation R_X86_64_32 against `.text' 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
Makefile:4: recipe for target 'bin/check' failed
make: *** [bin/check] Error 1
This error is caused by a change in GCC behaviour after this tool was released. Add -static to the GCC command to proceed. See https://github.com/xoreaxeaxeax/rosenbridge/issues/1#issuecomment-411883824 for more discussion.