On Tue, 30 Oct 2007, Szabolcs Szakacsits wrote:

> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ntfs-3g -g -O2 -Wall -MT 
> > libntfs_3g_la-logging.lo -MD -MP -MF .deps/libntfs_3g_la-logging.Tpo -c 
> > logging.c -fPIC -DPIC -o .libs/libntfs_3g_la-logging.o
> > logging.c:78: internal compiler error: in modified_type_die, at 
> > dwarf2out.c:8326
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
> > Preprocessed source stored into /tmp/ccIuAjHK.out file, please attach 
> > this to your bugreport.
> 
> This is a __compiler__ crash, not ntfs-3g bug. Please submit the bug report 
> for your distribution specified at the above link:
> 
>       http://bugzilla.redhat.com/bugzilla
> 
> What's the output of 'gcc -v'? I'll try to work around the compiler bug.

The below ntfs-3g patch should help you. Please let me know then I'll 
commit it. Thanks.

        Szaka

diff -u -r1.8 logging.c
--- libntfs-3g/logging.c        25 Oct 2007 20:09:29 -0000      1.8
+++ libntfs-3g/logging.c        30 Oct 2007 13:41:56 -0000
@@ -58,8 +58,8 @@
 static const char *col_redinv = "\e[01;07;31m";
 static const char *col_end    = "\e[0m";

-/* gcc 3.3.3 crashes with internal compiler error. 4.x seems to be ok. */
-#if __GNUC__ <= 3
+/* gcc 3.3.3 and 4.0.2 crash with internal compiler error. Laters are ok. */
+#if __GNUC__ <= 3 || (__GNUC__ == 4 && __GNUC_MINOR__ == 0)
 # define  BROKEN_GCC_FORMAT_ATTRIBUTE
 #else
 # define  BROKEN_GCC_FORMAT_ATTRIBUTE __attribute__((format(printf, 6, 0)))
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to