ld terminated with signal 6 [message #1768420] |
Tue, 18 July 2017 09:43  |
Eclipse User |
|
|
|
Dear all,
Take a look what my project console says
Info: Internal Builder is used for build
gcc -I../../include -O0 -g3 -Wall -c -fmessage-length=0 -o pe_main.o "..\\pe_main.c"
..\pe_main.c: In function ‘main’:
..\pe_main.c:358:6: warning: suggest parentheses around assignment used as truth value
..\pe_main.c:650:7: warning: suggest parentheses around assignment used as truth value
..\pe_main.c:678:9: warning: suggest parentheses around assignment used as truth value
..\pe_main.c:1246:10: warning: suggest parentheses around assignment used as truth value
..\pe_main.c:1580:10: warning: suggest parentheses around assignment used as truth value
..\pe_main.c: In function ‘reg_watchpt_parser’:
..\pe_main.c:3739:5: warning: format ‘%-10x’ expects type ‘unsigned int’, but argument 4 has type ‘UINT64’
..\pe_main.c:3739:5: warning: format ‘%-10x’ expects type ‘unsigned int’, but argument 4 has type ‘UINT64’
..\pe_main.c: In function ‘copy_command’:
..\pe_main.c:4511:2: warning: suggest parentheses around assignment used as truth value
..\pe_main.c: In function ‘copy_string’:
..\pe_main.c:4596:2: warning: suggest parentheses around assignment used as truth value
..\pe_main.c: In function ‘getregrssionInput’:
..\pe_main.c:4673:4: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[500]’
..\pe_main.c:4673:4: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[500]’
..\pe_main.c:4684:4: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[200]’
..\pe_main.c:4684:4: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[200]’
..\pe_main.c:4699:3: warning: suggest parentheses around assignment used as truth value
..\pe_main.c: At top level:
..\pe_main.c:81:23: warning: ‘original_tty’ defined but not used
gcc -I../../include -O0 -g3 -Wall -c -fmessage-length=0 -o elf_api.o "..\\elf_api.c"
g++ -L../../lib -o pruthvi.out elf_api.o pe_main.o -lvitcpu_sim -lncurses -lreadline -lelf_reader -lm
collect2: ld terminated with signal 6 [Aborted], core dumped
18:38:40 Build Finished (took 3s.238ms)
|
|
|
Re: ld terminated with signal 6 [message #1768468 is a reply to message #1768420] |
Wed, 19 July 2017 04:30  |
Eclipse User |
|
|
|
Getting a core dumped is a bug in GCC and/or binutils. Unfortunately this forum is really for the IDE front end, so details like core dumps in the tools needs to be taken to the respective projects. In this case as "ld terminated with signal 6 [Aborted], core dumped" you need to start with binutils, but you probably need to start with where you got it from (cygwin, mingw, ubuntu, etc).
To increase the chance of a positive resolution you should try to provide a minimal test case, the versions of the tools you are using, and verify that the most recent versions of said tools still exhibit the behaviour.
Sorry that we can't be of more help here.
|
|
|
Powered by
FUDForum. Page generated in 0.02631 seconds