Hi, To check the version I did:
$ gcc -v gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) I did not pay attention to the "prerelease" and "Debian 4.1.1", that's why I thought it was 4.1.2 at first. "dpkg -l | grep gcc" tags gcc as a 4.1.1 So it's not very clear, it seems to be a 4.1.2 RC, or a 4.1.1 + a few patches, or both :). I precise that my debian etch is up to date. Anyhow, the 1.1104 release fixed the problem. Loris On Sunday 04 November 2007 00:26:57 Szabolcs Szakacsits wrote: > Hi, > > On Thu, 1 Nov 2007, Loris Boillet wrote: > > Almost all versions, gcc is in 4.2.X series since May 2007. > > gcc 4.1.2 also works for me and thankfully not many people reported the > compiler crash, so far. The new compilers gave warnings if ntfs-3g is > compiled with ./configure --enable-warning and the old compilers crash > if the problematic code is fixed. > > Are you sure you have gcc 4.1.2? Distrowatch says that Debian Etch > uses only 4.1.1: > > http://distrowatch.com/table.php?distribution=debian > > The below patch is commited and will be in the tomorrow (today) release. > > Thanks, > Szaka > > > On Wednesday 31 October 2007 17:21:23 Jean-Pierre ANDRE wrote: > > > Hi, > > > > > > Well, isn't that excluding all known gcc versions ? > > > > > > By the way, I am using gcc 4.1.2 with no problem. > > > > > > Regards > > > > > > Jean-Pierre > > > > > > > Message du 31/10/07 16:31 > > > > De : "Loris Boillet" <[EMAIL PROTECTED]> > > > > A : [email protected] > > > > Copie à : > > > > Objet : Re: [ntfs-3g-devel] ntfs-3g-1.1030 :: full bug report > > > > > > > > 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
