View Issue Details

IDProjectCategoryView StatusLast Update
0003021Kali LinuxGeneral Bugpublic2025-07-14 09:14
Reporterkeivn Assigned Torhertzog  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionunable to reproduce 
Product Versionkali-dev 
Summary0003021: gcc fails to compile any c source file
Description

This error message is produced each time i attempt to run the gcc
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.22 internal error, aborting at ../../bfd/reloc.c line 443 in bfd_get_reloc_size

/usr/bin/ld: Please report this bug.

collect2: error: ld returned 1 exit status

Steps To Reproduce

all compilation commands eg
gcc -o file. file.c

Additional Information

bug started after i did apt-get update and added links to the sources.list file
also installed python-dev and python-pip though i think its unlikely to be the cause of the problem

Attached Files
file.c (121 bytes)   
#include <stdio.h>
#include <string.h>

main(){
	char str[10];
	strcpy(str,"Wraith");
	printf("%s\n", str);
	return 0;
}
file.c (121 bytes)   

Activities

rhertzog

rhertzog

2016-01-27 15:56

administrator   ~0004628

I'm sorry but I can't reproduce this problem.

In any case, it looks like a problem specific to you. Your output mentions binutils 2.22, this is the version in Debian Wheezy or Kali Moto (1.x), the current Kali version (2016.1) has binutils 2.26....

I suggest you start with a fresh Kali system installed with Kali 2016.1.

Issue History

Date Modified Username Field Change
2016-01-27 14:55 keivn New Issue
2016-01-27 14:55 keivn File Added: file.c
2016-01-27 15:56 rhertzog Note Added: 0004628
2016-01-27 15:56 rhertzog Status new => closed
2016-01-27 15:56 rhertzog Assigned To => rhertzog
2016-01-27 15:56 rhertzog Resolution open => unable to reproduce
2025-07-14 09:14 g0tmi1k Priority immediate => normal