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]

Bug Report: gcc34 failed after adding "-g" option



Hi there,


I am using  gcc version 3.4.2 [FreeBSD], and I was trying to install LUSH.
the outputs are listed.

cheers,
Hao

1) without -g option, it compiles:
root /opt/lush/src$ gcc -I/opt/lush/gnu/include -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -D_THREAD_SAFE -I/usr/X11R6/include -c comdraw_driver.c
comdraw_driver.c:160: warning: 'empty_stack' defined but not used



2) with -g option
root /opt/lush/src$ gcc -g -I/opt/lush/gnu/include -DHAVE_CONFIG_H -DNO_DEBUG-Wall -O3 -I../include -D_THREAD_SAFE -I/usr/X11R6/include -c comdraw_driver.c
comdraw_driver.c: In function `comdraw_xsize':
comdraw_driver.c:654: internal compiler error: in loc_descriptor_from_tree, at dwarf2out.c:8863
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.



3) -v -save-temp -g
root /opt/lush/src$ gcc -v -save-temp -g -I/opt/lush/gnu/include -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -D_THREAD_SAFE -I/usr/X11R6/include -c comdraw_driver.c
Using built-in specs.
gcc: unrecognized option `-save-temp'
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
/usr/libexec/cc1 -quiet -v -I/opt/lush/gnu/include -I../include -I/usr/X11R6/include -D_LONGLONG -DHAVE_CONFIG_H -DNO_DEBUG -D_THREAD_SAFE comdraw_driver.c -quiet -dumpbase comdraw_driver.c -auxbase comdraw_driver -g -O3 -Wall -version -o/var/tmp//cc9GxZCT.s
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/lush/gnu/include
../include
/usr/X11R6/include
/usr/include
End of search list.
GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd)
compiled by GNU C version 3.4.2 [FreeBSD] 20040728.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
comdraw_driver.c: In function `comdraw_xsize':
comdraw_driver.c:654: internal compiler error: in loc_descriptor_from_tree, at dwarf2out.c:8863
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Attachment: comdraw_driver.i
Description: Binary data


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