This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dwarf2 compiling problem


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]