|
From: | Nick Clifton |
Subject: | Re: [Bug ld/589] /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14. |
Date: | Tue, 30 Nov 2004 11:11:45 +0000 |
User-agent: | Mozilla Thunderbird 0.7.3 (X11/20040803) |
Hi,
Put CFLAGS in the environment when running configure, as I suggested. Or edit the makefiles after configuring. Or set CFLAGS when running make eg. "make CFLAGS=-O2"
using: make CFLAGS=-02 produced the same results as originally reported.
Did you run "make clean" first to ensure that all of the object files were rebuilt ?
Which version of GCC are you using to build the binutils ? Is it the version supplied with RHAS 2.1 ? If not, then the problem should also be resolved by making sure that you link with the linker that accompanies the GCC toolchain that you are using.
If you are using the supplied system GCC then the problem is more complicated, because that compiler should not be producing debug information which the system linker does not understand. Removing the "-g" switch on the command line when building the object files will help, but it does not explain the mismatch between the compiler and the linker.
Cheers Nick
[Prev in Thread] | Current Thread | [Next in Thread] |