This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
dwarf2 compiling problem
- From: "Nemanja Popov" <nemanja dot popov at micronasnit dot com>
- To: <gcc at gnu dot org>
- Date: Fri, 28 Apr 2006 14:04:44 +0200
- Subject: dwarf2 compiling problem
- References: <44511C54.6040807@brenda-arkle.demon.co.uk>
Hi all.
When compiling simple example (even c file with no code in it) with
dlx-elf-gcc -c -gdwarf-2 foo.c
I get the following error message:
internal compiler error: in assemble_integer, at varasm.c:2148
I've defined debugging support in the following way:
#define DBX_DEBUGGING_INFO 1
#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
#define DWARF2_DEBUGGING_INFO 1
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
Compiling without debug info or with stab debug format (-g) is working ok
gcc: version 4.02
target: DLX CPU (port in progress)
Does anyone have an idea what can cause this?
Is this a bug in gcc or in target cpu files?
Thanks,
Nemanja