c-semantics icon indicating copy to clipboard operation
c-semantics copied to clipboard

kcc cannot compile curl

Open husbd opened this issue 7 years ago • 3 comments

You can reproduce the problem like this:

git clone https://github.com/Lycbel/cs510Files
cd cs510Files
# the script listed the tested platform including kcc version
./bug_report_curl.sh
# this problem was minimized into the prior issue, but the script is useful to try when that issue gets resolved

husbd avatar Oct 02 '18 20:10 husbd

Hi, thanks a lot for the bug report!

Could you include some output from the build (or other symptoms) so I know when I'm reproducing the issue you're seeing?

chathhorn avatar Oct 09 '18 13:10 chathhorn

#Now the issue can be solved by issue320 #but if I use the CFLAGS = "-std=gnu11" it will have another error "/usr/bin/ld: .libs/libcurl_la-file.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC" #to regenerate the problem: wget https://raw.githubusercontent.com/Lycbel/cs510Files/master/report3/report_compile_total.sh bash report_compile_total.sh

Lycbel avatar Oct 21 '18 00:10 Lycbel

Can you try building with LD=kcc?

chathhorn avatar Nov 06 '18 20:11 chathhorn