------- Comment #3 from kasparek at fit dot vutbr dot cz  2010-05-14 06:50 
-------
(In reply to comment #1)
> to get the cc1 command line.  Then use gdb --args <cc1 cmdline> to debug the
> compiler.  Getting a backtrace before the abort would be nice.


(gdb) bt
#0  open_file (file=0x8a64148) at
/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/include-fixed/sys/stat.h:510
#1  0x0866d707 in _cpp_find_file (pfile=0x8a5bb80, fname=0xff8d636f
"test-10356.c", start_dir=0x8a5bbf4, fake=0 '\0', angle_brackets=0)
    at ../../libcpp/files.c:378
#2  0x0866e2cc in cpp_read_main_file (pfile=0x8a5bb80, fname=0xff8d636f
"test-10356.c") at ../../libcpp/init.c:561
#3  0x080f94a1 in c_common_post_options (pfilename=0x8945fdc) at
../../gcc/c-opts.c:1197
#4  0x08339410 in toplev_main (argc=11, argv=0xff8d4874) at
../../gcc/toplev.c:1810
#5  0x08118cb2 in main (argc=Cannot access memory at address 0x100
) at ../../gcc/main.c:35


I belive the problematic stat is gcc/files.c:232 (gcc-4.5.0). Would it be
possible to add config option to enable LFS that may be disabled by default?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44116

Reply via email to