Hello,

I have the same error (logging.c:78: internal compiler error: in 
modified_type_die, at dwarf2out.c:8326) with Debian Etch 4.1.2 gcc.

So for me the working patch would be:

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, 4.0.X and 4.1.X  crash with internal compiler error. Laters are 
ok. */
+#if __GNUC__ <= 3 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 1)
# define BROKEN_GCC_FORMAT_ATTRIBUTE
#else
# define BROKEN_GCC_FORMAT_ATTRIBUTE __attribute__((format(printf, 6, 0))) 

Thanks,

Loris

-------------------------------------------------------------------------
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