Description of problem: When I compile a simple Hello World C program with the following command, lots of errors result: cc -o hello -Wl,-Map,hello.map -Wl,--cref hello.c The errors are along the lines of /usr/bin/ld: symbol `' missing from main hash table The symbols names listed are often garbage. Omiting the --cref linker option avoids the errors. Version-Release number of selected component (if applicable): I'm using the official release version of Fedora Core 6. cc --version gives: cc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30) The ld utility is part of: binutils-2.17.50.0.3-6 How reproducible: It fails every time, for all C programs I tried. Steps to Reproduce: 1. Simply compile any C program with a command like the one above. Actual results: Lots of error messages. Expected results: Successful linking. Additional info:
http://sources.redhat.com/ml/binutils/2006-07/msg00245.html
binutils-2.17.50.0.6-2.fc6 are now in FC6 testing updates. Please check it out.
https://www.redhat.com/archives/fedora-package-announce/2007-January/msg00032.html